I have created and automatically started services with this before.
Regards,
Tarlika Elisabeth Schmitz
[EMAIL PROTECTED] wrote:
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
