The following sysprops can optionally be specified to override the corresponding hard-coded default config file names: jboss.server.default.config jboss.host.default.config jboss.domain.default.config For details, see: https://github.com/jbossas/jboss-as/pull/1455 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.
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.
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.