Bug 734495

Summary: AS7 plugin: AS7 Server Resource types do not provide a way for user to specify JAVA_HOME that should be passed to the scripts invoked by the Start and Restart operations
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: PluginsAssignee: Libor Zoubek <lzoubek>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.1CC: ccrouch, hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-07 19:24:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 707223    

Description Ian Springer 2011-08-30 15:13:47 UTC
In the as4/as5 plugins, there is a 'javaHome' plugin config prop which specifies the path to the JRE/JDK that should be used when starting or restarting the server instance. The value of this prop is used to set the JAVA_HOME environment variable in the script's process.

Without this, the same JVM used by the Agent will likely end up being used, which may not be what the user wants.

Comment 1 Heiko W. Rupp 2012-01-13 16:21:35 UTC
master a509359864fcdd3f19

Comment 2 Libor Zoubek 2012-01-25 15:37:28 UTC
JAVA_HOME is present in both Domain and Standalone resrouces and when it is not empty is taken to account when starting up server

Comment 3 Mike Foley 2012-02-07 19:24:34 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE