cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject Re: tomcat as service in Windows based server
Date Sat, 16 Aug 2003 08:56:00 GMT
On Fri, Aug 15, 2003 at 12:17:54PM +0300, wrote:
> hi
> this my first time i to have put a cocoon based application in a windows 
> 2000 box
> is it possible to make tomcat start as service ?
real piece of cake (even without 3rdparty tools):

@SET JAVA_HOME=c:\DevTools\j2sdk1.4.2
@SET TOMCAT_HOME=C:\DevTools\jakarta-tomcat-4.1.24-LE-jdk14
@SET TOMCAT_JVM="%JAVA_HOME%\jre\bin\client\jvm.dll"
@SET TOMCAT_CLASSPATH=%TOMCAT_HOME%\bin\bootstrap.jar;%TOMCAT_HOME%\common\lib\servlet.jar
@SET TOMCAT_LOG=%TOMCAT_HOME%\logs\stdout.log

%TOMCAT_HOME%\bin\tomcat.exe -install "Tomcat" %TOMCAT_JVM% -Djava.class.path=%TOMCAT_CLASSPATH%
-Djava.endorsed.dirs=%TOMCAT_ENDORSED% -Dcatalina.home=%TOMCAT_HOME% -start org.apache.catalina.startup.BootstrapService
-params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %TOMCAT_LOG%

and this is how you uninstall your service
tomcat.exe -uninstall Tomcat

have fun

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message