cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] HowTos TomcatWin32Service Sat Aug 16 14:00:03 2003
Date Sat, 16 Aug 2003 12:00:03 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=HowTos , version: 110 on Sat Aug 16 11:47:49
2003 by ReinhardPoetz

+ * __[Tomcat as Win32 Service|TomcatWin32Service]__ -- how to install Tomcat as win32 service


Page: http://wiki.cocoondev.org/Wiki.jsp?page=TomcatWin32Service , version: 1 on Sat Aug 16
11:52:15 2003 by ReinhardPoetz

New page created:
+ Installing Tomcat as Win32 service is a piece of cake - you only have
+ to enter following commands at command line:
+ 
+ {{{
+ 
+ @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_ENDORSED=%TOMCAT_HOME%\common\endorsed
+ @SET TOMCAT_LOG=%TOMCAT_HOME%\logs\stdout.log
+ @SET TOMCAT_ERR_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% 
+  -err %TOMCAT_ERR_LOG%
+ 
+ }}}
+ Note: the last command has to be entered in one single line!
+ 
+ and this is how you uninstall your service
+ 
+ {{{
+ 
+ tomcat.exe -uninstall Tomcat
+ 
+ }}}
+ 
+ by Leszek Gawron, added by [Reinhard Pötz|ReinhardPoetz]
+ 



Mime
View raw message