Bug 819039

Summary: [as7] code that discovers the config file names does not take the jboss.*.default.config sysprops into account
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: PluginsAssignee: Charles Crouch <ccrouch>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: 4.3CC: ccrouch, hbrock, hrupp
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 4.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 06:17:50 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 707223    

Description Ian Springer 2012-05-04 12:21:43 EDT
The following sysprops can optionally be specified to override the corresponding hard-coded default config file names:


For details, see:


We need to add support for these. Discovery logic should be:

String serverConfig = serverCmdLine.getClassOption(SERVER_CONFIG_OPTION);
if (serverConfig == null) {
   serverConfig = serverCmdLine.getSystemProperty("jboss.server.default.config");
if (serverConfig == null) {
   serverConfig = "standalone.xml";

The first if-block is the one that needs to be added for all three config files.
Comment 1 Ian Springer 2012-05-05 12:52:21 EDT
I fixed this as part of http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=26a25e8, since I was working in this exact part of the code.
Comment 4 Heiko W. Rupp 2013-09-01 06:17:50 EDT
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.