or even the wrapper... http://sourceforge.net/projects/wrapper/
Cheers, daniele rizzi -----Messaggio originale----- Da: T E Schmitz [mailto:[EMAIL PROTECTED] Inviato: mercoledi 21 aprile 2004 19.43 A: Jakarta Commons Users List Oggetto: Re: procrun win2k problem I don't know about procrun but have you tried Alexandria JavaService http://www.alexandriasc.com/software/JavaService/index.html ? 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]
