If interested someone.

windows can’t manage services on network location like :
“Z:\Jerome\SoftWare\Divers……

Now I moved files on c:\ and it’s ok.

 

 

 

De : Jérôme Serré [mailto:jerome.michel.se...@gmail.com] 
Envoyé : mardi 29 juillet 2014 10:04
À : user@commons.apache.org
Objet : [daemon]

 

Hello,

 

Sorry if I’m posting in a wrong way but it’s difficult to search in
thousands messages from the archive.

I want to use prunserv (Commons Daemon procrun (1.0.15.0 64-bit)) like a
windows 7 x64 service with simple java class but it doesn’t work as I want.

 

1.        Registration of prunser is ok

2.        Inst service is ok

3.        Running service in prunserv console is ok

4.        Running service in service windows console is NOT ok

I get this error : service doesn’t start. File not found.

 

CMD =

 

TestService //IS//TestService --DisplayName="Test Service"
--Install="Z:\Jerome\SoftWare\Divers\Developpement\java\test\TestService.exe
" --Jvm="C:\Program Files\Java\jre7\bin\server\jvm.dll" --StartMode=jvm
--StartClass=Main --StopMode=jvm --StopClass=Main --JavaHome="C:\Program
Files\Java\jre7" --StartMethod=start --StopMethod=stop --StdError=auto
--LogPath="Z:\Jerome\SoftWare\Divers\Developpement\java\test\logs"

TestService start

 

Thank you for your help.

 

Best regards

Jérôme Serré

 

Reply via email to