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

Mikhail Dobrinin updated DAEMON-341:
------------------------------------
    Description: 
Here is a reproducible example that works every time:
{noformat}
prunsrv.exe //IS//abcd.branch2 --StartMode=jvm 
--StartClass=abc.abcdefghih.abcd.abcdef.abcd.MyImportantClass 
--StartMethod=startService ++StartParams=abcd.branch2
{noformat}

The ImagePath entry for the service ends up being:
{noformat}
C:\path\to\prunsrv.exe 12-08.loɥ//RS//abcd.branch2
{noformat}

As you see, there is garbage inserted in front of the {{//RS//}} string.

  was:
Here is a reproducible example that works every time:
{noformat}
prunsrv.exe //IS//abcd.branch2 --StartMode=jvm 
--StartClass=abc.abcdefghih.abcd.abcdef.abcd.MyImportantClass 
--StartMethod=startService ++StartParams=abcd.branch2
{noformat}

The ImageData entry for the service ends up being:
{noformat}
C:\path\to\prunsrv.exe 12-08.loɥ//RS//abcd.branch2
{noformat}

As you see, there is garbage inserted in front of the {{//RS//}} string.


> prunsrv injects garbage into ImagePath
> --------------------------------------
>
>                 Key: DAEMON-341
>                 URL: https://issues.apache.org/jira/browse/DAEMON-341
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.15
>         Environment: Windows Server 2008
>            Reporter: Mikhail Dobrinin
>            Priority: Blocker
>
> Here is a reproducible example that works every time:
> {noformat}
> prunsrv.exe //IS//abcd.branch2 --StartMode=jvm 
> --StartClass=abc.abcdefghih.abcd.abcdef.abcd.MyImportantClass 
> --StartMethod=startService ++StartParams=abcd.branch2
> {noformat}
> The ImagePath entry for the service ends up being:
> {noformat}
> C:\path\to\prunsrv.exe 12-08.loɥ//RS//abcd.branch2
> {noformat}
> As you see, there is garbage inserted in front of the {{//RS//}} string.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to