Bug 734495 - 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
Summary: AS7 plugin: AS7 Server Resource types do not provide a way for user to specif...
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.0.1
Hardware: Unspecified
OS: Unspecified
high vote
Target Milestone: ---
: ---
Assignee: Libor Zoubek
QA Contact: Mike Foley
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
Reported: 2011-08-30 15:13 UTC by Ian Springer
Modified: 2015-11-02 00:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-02-07 19:24:34 UTC

Attachments (Terms of Use)

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

Note You need to log in before you can comment on or make changes to this bug.