commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject procrun win2k problem
Date Wed, 21 Apr 2004 17:29:48 GMT

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message