You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by su...@sfg.homeunix.com on 2004/04/21 19:29:48 UTC

procrun win2k problem

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


R: procrun win2k problem

Posted by daniele rizzi <da...@essellesse.net>.
or even the wrapper...
http://sourceforge.net/projects/wrapper/

Cheers,
daniele rizzi


-----Messaggio originale-----
Da: T E Schmitz [mailto:mail@numerixtechnology.de]
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


sundaram@sfg.homeunix.com 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 

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


Re: procrun win2k problem

Posted by T E Schmitz <ma...@numerixtechnology.de>.
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


sundaram@sfg.homeunix.com 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 

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