Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 72553 invoked from network); 26 Nov 2008 09:09:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 09:09:36 -0000 Received: (qmail 21744 invoked by uid 500); 26 Nov 2008 09:09:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 21673 invoked by uid 500); 26 Nov 2008 09:09:45 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 21661 invoked by uid 99); 26 Nov 2008 09:09:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 01:09:45 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 09:08:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 524B4234C29A for ; Wed, 26 Nov 2008 01:08:44 -0800 (PST) Message-ID: <1270071927.1227690524335.JavaMail.jira@brutus> Date: Wed, 26 Nov 2008 01:08:44 -0800 (PST) From: "Jack Cai (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (DAEMON-112) JavaHome parameter ignored when running procsrv in java mode In-Reply-To: <1395049770.1227688964308.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.