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

Reply via email to