You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Zena <ze...@qarbon.com> on 2003/07/31 00:52:47 UTC

Tomcat service on Windows 2003 Server

Hi ,

am running a batch file to create a tomcat service on windows 2003 server.

The contents of the batch file are 
------------------------------------------------------------------

"%CATALINA_HOME%\bin\tomcat.exe" -install VFarm "%JAVA_HOME%\jre\bin\server\jvm.dll" -Djava.class.path="%CATALINA_HOME%\common\lib;%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%" -djava.home="%JAVA_HOME%\jre" %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -config "%CATALINA_HOME%\conf\server.xml" -stop org.apache.catalina.startup.BootstrapService -params stop -out "%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log" -current "%CATALINA_HOME%"


-------------------------------------------------------------------


am able to create the service successfully, but unable to start it...as it pops up a message : 

"The tomcat service on Local computer started and stopped.Some services stop automtically if they have no work to do........."

Please let me know how can make it work...

Thanks in Advance!!
Zena