JBoss ON shows JBoss EAP 6/7 application server as unavailable due to a connection failure

Solution Verified - Updated -

Issue

  • Agent can not monitor JBoss server resource
  • New EAP instance was discovered and added to inventory but it is shown as down
  • JBoss server instance shows as down or unavailable
  • EAP Domain controller is showing as unavailable even though it is running
  • Agent debug log contains the following log message:
  • Unable to monitor EAP6.3.2 domain controller using JON.
  • I have installed JON 3.3.0 successfully. But when i check the JON console, All the the clustered server shows not active in dashboard screen, so unable to monitor the servers(domain, host1, host2).

    DEBUG [ResourceContainer.invoker.daemon-2] (rhq.modules.plugins.jbossas7.ASConnection)- Response to Operation{operation='read-attribute', address=Address{path: }, additionalProperties={name=launch-type}} was 307 (Temporary Redirect) - throwing InvalidPluginConfigurationException...
    
  • The follow error appears in the agent log:

        ERROR [ResourceContainer.invoker.daemon-5835] (rhq.modules.plugins.jbossas7.BaseServerComponent)- Failed to read attribute [domain-config-file]: org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials.
        org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials.
            at org.rhq.modules.plugins.jbossas7.ASConnection.handleAuthorizationFailureResponse(ASConnecti
        ...
  • showing as unavailable
  • managed node shows up as unavailable
  • The agent log has the following warning message:
        WARN  [ResourceContainer.invoker.daemon-1] (rhq.modules.plugins.jbossas7.ASConnection)- We got a 403 with the following response body back: {
            "outcome" : "failed",
            "failure-description" : "JBAS015135: The security realm is not ready to process requests, see http://eap.example.com:9990/error/index.html",
            "rolled-back" : "true"
        }
  • when we navigate to any of the EAP 6.2.2 servers resource in the inventory only the server resource is showing (it also display the RED ! by the resource)
  • Agent log shows the following on availability check:
2014-07-09 15:28:59,932 DEBUG [ResourceContainer.invoker.daemon-1] (rhq.modules.plugins.jbossas7.ASConnection)- Response to Operation{operation='read-attribute', address=Address{path: }, additionalProperties={name=launch-type}} was 401 Unauthorized - throwing InvalidPluginConfigurationException...
  • JON not communicating with JBoss 6 server.I am having an issue where the RHQ Agent is showing as working in JON but the JBoss 6 server is reported as down when it is not.The following shows in the agent logs;
2015-05-26 09:18:58,389 WARN  [ResourceContainer.invoker.daemon-1679] (rhq.modules.plugins.jbossas7.HostControllerComponent)- Unable to detect HostController's process-type
java.lang.Exception: Failed to read attribute [process-type] of address [] - response: Result{outcome='failure', failureDescription=The server closed the connection before sending the response, rolled-back=false, rolledBack=false}
    at org.rhq.modules.plugins.jbossas7.BaseComponent.readAttribute(BaseComponent.java:885)
    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.HostControllerComponent.getProcessTypeAttrValue(HostControllerComponent.java:376)
    at org.rhq.modules.plugins.jbossas7.HostControllerComponent.start(HostControllerComponent.java:89)
    at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759)
    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:745)
  • I am trying to monitor a domain controller using JON. Domain Controller connects to two slave machines. I have installed the JON agent on the domain controller node. But in the JON web interface, It shows that Domain Controller is down and displays no data about domain controller even the Domain controller is up and running. What could be the issue for this. Please help me to figure this out .

Environment

  • Red Hat JBoss Operations Network (JON)
    • 3
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
  • JBoss EAP 6 management plug-in for JBoss ON
  • JBoss EAP 7 management plug-in for JBoss ON
  • JBoss standalone or domain/host controller has been discovered and imported into inventory

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In