"Failed to validate base dir for {JBossAS7}JBossAS7" in JBoss ON agent log
Issue
- Error Failed to validate base dir in agent log
-
The following error is shown in our agent log:
ERROR [ResourceContainer.invoker.daemon-5816] (rhq.modules.plugins.jbossas7.BaseServerComponent)- Failed to validate base dir for {JBossAS7}JBossAS7 Host Controller [/usr/share/jbossas/domain]. java.lang.Exception: Failed to read attribute [domain-base-dir] of address [] - response: Result{outcome='failed', failureDescription=JBAS010850: No handler for operation read-attribute at address [ ("host" => "master"), ("core-service" => "host-environment") ], rolledBack=true} at org.rhq.modules.plugins.jbossas7.BaseComponent.readAttribute(BaseComponent.java:747) at org.rhq.modules.plugins.jbossas7.BaseComponent.readAttribute(BaseComponent.java:740) at org.rhq.modules.plugins.jbossas7.BaseServerComponent.validateServerAttributes(BaseServerComponent.java:131) at org.rhq.modules.plugins.jbossas7.BaseServerComponent.getAvailability(BaseServerComponent.java:116) at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)
-
At agent startup, the following error appears:
ERROR [ResourceContainer.invoker.daemon-1] (rhq.modules.plugins.jbossas7.BaseServerComponent)- Failed to validate base dir for {JBossAS7}JBossAS7 Host Controller [/home/loleary/workspace/Cases/00744811/test-env/jboss-eap-6.0.0.GA/domain]. java.lang.Exception: Failed to read attribute [domain-base-dir] of address [] - response: Result{outcome='failed', failureDescription=JBAS010850: No handler for operation read-attribute at address [ ("host" => "master"), ("core-service" => "host-environment") ], rolledBack=true}
Environment
- JBoss Operations Network (ON) 3.1.1
- JBoss Enterprise Application Platform (EAP) 6.0
- JBoss EAP server started in domain mode
- JBoss EAP domain controller is not using
master
as its host name
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.