RE: Setting up Tomcat as a service

2008-07-29 Thread Chris.Wraith
Chances are if permissions are preventing you from setting system variables, they will also prevent you from installing services. Running as an ordinary user rather than an admin will work fine but you'll need to get JAVA_HOME set correctly and start it using the startup.bat script or wrap it in y

RE: Setting up Tomcat as a service

2008-07-29 Thread Chris.Wraith
Try prepending rather than appending JAVA_HOME\bin to the PATH (bin directory is where java.exe is located and must be on the path). If there is another JVM already on the system path, you'll need to override it so prepending should do this. Also, be careful if there are spaces in JAVA_HOME path

RE: Custom Request Subclass

2008-04-21 Thread Chris.Wraith
One possibility is to use a servlet filter to wrap the tomcat instantiated request in your own request, which overrides the desired method. public class MyFilter implements javax.servlet.Filter { .. public void doFilter(ServletRequest request, ServletResponse response,