I have installed my java application as a Windows service using following:

prunsrv.exe //IS//SG_FileSync --Install="S:\Automation\prunsrv.exe" --Jvm=auto 
--Startup=auto --StartMode jvm --Classpath="S:\Automation\SG_FileSync.jar" 
--StartClass=SyncFile --StartMethod=main

I can run the program successfully in console mode:

prunsrv.exe //TS//SG_FileSync

But I cannot start the service directly in Windows, or using prunsrv.exe 
//ES//SG_FileSync or via prunmgr.  I get the following error message:

The system cannot find the file specified.  Failed to start service.

What am I able to run my application in console mode but not using ES?

Thanks,
Nancy



________________________________
The information contained in this message is intended only for the recipient, 
and may be a confidential attorney-client communication or may otherwise be 
privileged and confidential and protected from disclosure. If the reader of 
this message is not the intended recipient, or an employee or agent responsible 
for delivering this message to the intended recipient, please be aware that any 
dissemination or copying of this communication is strictly prohibited. If you 
have received this communication in error, please immediately notify us by 
replying to the message and deleting it from your computer. McGraw Hill 
Financial reserves the right, subject to applicable local law, to monitor, 
review and process the content of any electronic message or information sent to 
or from McGraw Hill Financial e-mail addresses without informing the sender or 
recipient of the message. By sending electronic message or information to 
McGraw Hill Financial e-mail addresses you, as the sender, are consenting to 
McGraw Hill Financial processing any of your personal data therein.

Reply via email to