You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jack Cai (JIRA)" <ji...@apache.org> on 2008/11/26 09:42:44 UTC

[jira] Created: (DAEMON-112) JavaHome parameter ignored when running procsrv in java mode

JavaHome parameter ignored when running procsrv in java mode
------------------------------------------------------------

                 Key: DAEMON-112
                 URL: https://issues.apache.org/jira/browse/DAEMON-112
             Project: Commons Daemon
          Issue Type: Bug
    Affects Versions: 1.0.1
         Environment: Windows
            Reporter: Jack Cai


When running procsrv in java mode, the JavaHome value is not used at all even when it is set in the command line option or stored in the service entry in registry. Instead, it only tries to read the JAVA_HOME environment variable, and if in vain, fall back to read the path specified in HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\ or HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DAEMON-112) JavaHome parameter ignored when running procsrv in java mode

Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-112.
--------------------------------

    Resolution: Fixed

Committed as r907259. Thanks for the patch

> JavaHome parameter ignored when running procsrv in java mode
> ------------------------------------------------------------
>
>                 Key: DAEMON-112
>                 URL: https://issues.apache.org/jira/browse/DAEMON-112
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: Windows
>            Reporter: Jack Cai
>         Attachments: DAEMON-112_Jack.patch
>
>
> When running procsrv in java mode, the JavaHome value is not used at all even when it is set in the command line option or stored in the service entry in registry. Instead, it only tries to read the JAVA_HOME environment variable, and if in vain, fall back to read the path specified in HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\ or HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DAEMON-112) JavaHome parameter ignored when running procsrv in java mode

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated DAEMON-112:
------------------------

    Fix Version/s: 1.0.2

> JavaHome parameter ignored when running procsrv in java mode
> ------------------------------------------------------------
>
>                 Key: DAEMON-112
>                 URL: https://issues.apache.org/jira/browse/DAEMON-112
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: Windows
>            Reporter: Jack Cai
>             Fix For: 1.0.2
>
>         Attachments: DAEMON-112_Jack.patch
>
>
> When running procsrv in java mode, the JavaHome value is not used at all even when it is set in the command line option or stored in the service entry in registry. Instead, it only tries to read the JAVA_HOME environment variable, and if in vain, fall back to read the path specified in HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\ or HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DAEMON-112) JavaHome parameter ignored when running procsrv in java mode

Posted by "Jack Cai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack Cai updated DAEMON-112:
----------------------------

    Attachment: DAEMON-112_Jack.patch

Providing a fix.

> JavaHome parameter ignored when running procsrv in java mode
> ------------------------------------------------------------
>
>                 Key: DAEMON-112
>                 URL: https://issues.apache.org/jira/browse/DAEMON-112
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: Windows
>            Reporter: Jack Cai
>         Attachments: DAEMON-112_Jack.patch
>
>
> When running procsrv in java mode, the JavaHome value is not used at all even when it is set in the command line option or stored in the service entry in registry. Instead, it only tries to read the JAVA_HOME environment variable, and if in vain, fall back to read the path specified in HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\ or HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.