Menu

#1752 [HHQ-2178] HQ Agent Fails to Start if JAVA_HOME is Set and P

Bug
open
None
1
2012-10-09
2008-06-12
No

http://jira.hyperic.com/browse/HHQ-2178
Wrapper fails to start JVM process if the JAVA_HOME is set but points to an invalid directory. The order of preference for resolving the JAVA_HOME was changed in 4.0.0 due to the utilization of the wrapper framework. The 4.0 order of preference is 1) HQ_JAVA_HOME 2) JAVA_HOME 3) embedded jre.



If JAVA_HOME is set, the Java Service Wrapper will honor it in preference to the embedded jre, even if invalid. In 3.x versions of the Agent, the embedded jre took preference over the JAVA_HOME variable. It is not possible to maintain the former order of preference in 4.0, since the Java Service Wrapper has no way to detect whether the jre directory exists based on pure configuration.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.