You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jérôme REYNAUD <jr...@sogitec.fr> on 2004/03/10 13:57:04 UTC

tomcat service

 Hi
  
 I want to install Tomcat as a service on a Win2k machine .
 The following  command line :  

%CATALINA_HOME%\bin\tomcat.exe -install "Jakarta Tomcat" 
%JAVA_HOME%\jre\bin\server\jvm.dll
 -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar
 -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs 
-start org.apache.catalina.startup.Bootstrap -params start 
-stop org.apache.catalina.startup.Bootstrap -params stop
 -out %CATALINA_HOME%\logs\stdout.log 
-err %CATALINA_HOME%\logs\stderr.log

 install the service succesfully, but i get the error 
  org.apache.jasper.JasperException: Unable to compile class for JSP 
An error occurred at line: -1 in the jsp file: null 
Generated servlet error: [javac] Compiling 1 source file 
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130) 
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93) 
....

If i stop the service and launch tomcat with the startup.bat ,it' s OK

Any Idea ????

Thanks 

Jerome