commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunda...@sfg.homeunix.com
Subject procrun win2k problem
Date Wed, 21 Apr 2004 17:29:48 GMT
Hi,

I am trying to create the windows service using procrun. I was able to add
the service. But not able to start.

Here is my batch file.


set SERVICE_NAME=apptest
set instdir=c:\myapp


%INSTDIR%\bin\tomcatw.exe //IS//apptest --DisplayName "Apptest"
--Description "apptest"  --Install "%INSTDIR%\bin\tomcat.exe" --ImagePath
"%INSTDIR%\bin\myapp.jar" --StartupClass Deamon;main;start --ShutdownClass
Deamon;main;stop --Java C:\jdk\jre\bin\server\jvm.dll --JavaOptions -Xrs
--Startup manual
%INSTDIR%\bin\tomcatw.exe //US//apptest --JavaOptions
-Dcatalina.home=%INSTDIR% --StdOutputFile "%INSTDIR%\logs\stdout.log"
--StdErrorFile "%INSTDIR%\logs\stderr.log" --WorkingPath %INSTDIR%\bin

-Sundaram
http://sfg.homeunix.com


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message