You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Vladimir Bormotov (JIRA)" <ji...@apache.org> on 2016/12/16 07:03:58 UTC

[jira] [Commented] (DAEMON-341) prunsrv injects garbage into ImagePath

    [ https://issues.apache.org/jira/browse/DAEMON-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15753669#comment-15753669 ] 

Vladimir Bormotov commented on DAEMON-341:
------------------------------------------

Same issue on Windows Server 2016, and we can reproduce this. With logfile or any other data need?
In our case, garbage is some single unicode characret before //RS

> 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 (not R2)
>            Reporter: Mikhail Dobrinin
>
> 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)