Slave Host controller showing Unavailable in JBoss ON

Solution Verified - Updated -

Issue

  • Slave Host controller showing Unavailable in JBoss ON, below error in the agent.log:
2015-04-29 11:16:33,920 DEBUG [ResourceContainer.invoker.availCheck.daemon-88] (rhq.modules.plugins.jbossas7.BaseServerComponent)- ResourceType[id=0, name=JBossAS7 Host Controller, plugin=JBossAS7, category=Server] [hostConfig: /opt/EAP-6.2.0/jboss-eap-6.2/domain/configuration/host-slave.xml]: exception while checking availability
org.rhq.modules.plugins.jbossas7.json.ResultFailedException: Failed to read attribute [name] of address [] - response: Result{outcome='failed', failureDescription=JBAS014883: No resource definition is registered for address [("host" => "null")], rolledBack=true}
    at org.rhq.modules.plugins.jbossas7.BaseComponent.readAttribute(BaseComponent.java:877)
    at org.rhq.modules.plugins.jbossas7.BaseComponent.readAttribute(BaseComponent.java:864)
    at org.rhq.modules.plugins.jbossas7.BaseComponent.readAttribute(BaseComponent.java:856)
    at org.rhq.modules.plugins.jbossas7.BaseServerComponent.getAvailability(BaseServerComponent.java:140)
    at org.rhq.core.pc.inventory.AvailabilityProxy.call(AvailabilityProxy.java:143)
    at org.rhq.core.pc.inventory.AvailabilityProxy.call(AvailabilityProxy.java:52)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Red Hat JBoss Enterprise Application Platform (EAP) 6
  • EAP Domain Access configured as:
<management>
        <access-control provider="rbac">
            <role-mapping>
                <role name="SuperUser">
                    <include>
                        <user name="$local"/>
                        <user alias="admin1" name="admin1"/>
                    </include>
                </role>
                <role name="Deployer">
                    <include>
                        <user alias="leaddev" name="leaddev"/>
                    </include>
                </role>
            </role-mapping>
        </access-control>
    </management>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content