[ 
https://issues.apache.org/jira/browse/DAEMON-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mladen Turk resolved DAEMON-273.
--------------------------------

    Resolution: Invalid

When using service with space you'll have to quote the entire command
so prunsvc "//ES//Service Name"
I have tested against all combination and it works OK if cmdline is properly 
used. Also, just use a service without any space.
                
> Fail to start service in 32-bit Windows
> ---------------------------------------
>
>                 Key: DAEMON-273
>                 URL: https://issues.apache.org/jira/browse/DAEMON-273
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.11
>         Environment: 32-bit Windows
>            Reporter: Wallace
>
> When using latest version (1.0.11) of prunsrv.exe, the service failed to 
> start (//ES) with the following error:
> ***
> [2012-12-28 11:47:31] [error] Commons Daemon procrun failed with exit value: 
> 5 (Failed to start service)
> [2012-12-28 11:47:31] [error] The service did not respond to the start or 
> control request in a timely fashion.
> ***
> After checking the code change, it is found that the problem was caused by 
> the change in revision 1412017 (DAEMON-261: Allow services names with spaces).
> Problem solved by using 1.0.11 source code with the above change reverted, 
> and compiled under Windows XP 32-bit with VC6 SP6 and Platform SDK for 
> Windows Server 2003 R2.
> ###
> The //TS option still runs the service well.
> ###
> Without reverting the source code but just recompiled it with Visual C++ 2010 
> and installed VC++ 2010 Redistributable, the prunsrv.exe with //ES option 
> works well

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to