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

Mark Thomas resolved DAEMON-425.
--------------------------------
    Fix Version/s: 1.2.4
       Resolution: Fixed

Thanks for the report. This has been fixed for the next release.

> Crash if Java Options parameter is missing
> ------------------------------------------
>
>                 Key: DAEMON-425
>                 URL: https://issues.apache.org/jira/browse/DAEMON-425
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.2.3
>         Environment: Windows 10 (16xx, 1809, 2004), Windows Server 2016, 2019
>            Reporter: Rainer Schnitker
>            Priority: Major
>             Fix For: 1.2.4
>
>         Attachments: screenshot.png
>
>
> Earlier versions of procrun will start without the parameter "Java/Options" 
> in the registry (see example). With "Options" prunsrv will start, without it 
> crashes.
> Our setup (WiX based) should not create the registry key "Options", only the 
> user should add some values here. We dont want to override the old value.
>  
> Example (with Options):
> [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 
> 2.0\MyService\Parameters\Java]
> "Classpath"="d:\\MyService\\lib\\*"
> "Jvm"="d:\\MyService\\jre\\bin\\server\\jvm.dll"
> "JvmMx"=dword:00000800
> "Options"=hex(7):2d,00,44,00,6b,00,65,00,79,00,3d,00,76,00,61,00,6c,00,75,00,\
>  65,00,00,00,00,00
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to