[
https://issues.apache.org/jira/browse/DAEMON-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Thomas resolved DAEMON-341.
--------------------------------
Resolution: Duplicate
Fix Version/s: 1.1.14
I was able to re-create this with prunsrv.exe from 1.0.13 on Windows 2016.
Thanks for the test case and an additional thanks for providing an alternative
OS (that I happened to have available) where the problem could be observed.
I then tested 1.0.15 and confirmed that the issue was resolved as suspected.
Looking at the change log, DAEMON-284 looks to be very likely the issue where
this was fixed.
> 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.13
> Environment: Windows Server 2008 (not R2)
> Reporter: Mikhail Dobrinin
> Fix For: 1.1.14
>
>
> 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.4.14#64029)