JBoss ON agent can't find EAP 6 config file if base directory is not the default
Issue
- My EAP6 standalone server is not being discovered by the JON agent. The error in the agent log is:
opt/jboss/eap-6.0.1/standalone/configuration/standalone.xml (No such file or directory)
2013-02-24 16:29:31,747 WARN [ResourceDiscoveryComponent.invoker.daemon-333] (rhq.modules.plugins.jbossas7.BaseProcessDiscovery)- Discovery for a {jboss-as-7}JBossAS7 Standalone Server failed for process ProcessScanResult: scan=[ProcessScan: query=[process|basename|match=^java.*,arg|org.jboss.as.standalone|match=.*], name=[StandaloneAS]], info=[process: pid=[25663], name=[/opt/jboss/java/jdk1.7.0_10/bin/java], ppid=[25627]] :hostXml is null. You need to call 'readStandaloneOrHostXml' first.
Environment
- JBoss Operations Network (ON) 3.1.2
- JBoss Enterprise Application Platform (EAP) 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.