cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: tomcat as service in Windows based server
Date Sat, 16 Aug 2003 11:55:59 GMT
Hi Leszek,

Thank you very much. I hope you don't mind that I added your script to
Cocoon Wiki! 
see http://wiki.cocoondev.org/Wiki.jsp?page=TomcatWin32Service

Cheers,
Reinhard

> -----Original Message-----
> From: Leszek Gawron [mailto:ouzo@wlkp.org] 
> Sent: Saturday, August 16, 2003 10:56 AM
> To: users@cocoon.apache.org
> Subject: Re: tomcat as service in Windows based server
> 
> 
> On Fri, Aug 15, 2003 at 12:17:54PM +0300, gounis@osmosis.gr 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_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%
> 
> 
> and this is how you uninstall your service
> tomcat.exe -uninstall Tomcat
> 
> have fun
> 	LG
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message