Message: "JDK tools.jar not found on system classpath - cannot discover JVMs using Sun JVM Attach API; to fix this, run the RHQ Agent on a JDK, rather than a JRE." in the agent.log file

Solution Unverified - Updated -

Issue

  • Agent.log file contains the following WARN message:

    WARN  [ResourceDiscoveryComponent.invoker.daemon-1] (org.rhq.plugins.jmx.MBeanResourceComponent)- JDK tools.jar not found on system classpath - cannot discover JVMs using Sun JVM Attach API; to fix this, run the RHQ Agent on a JDK, rather than a JRE.
    
  • Fuse resources are shown as down in the JBoss ON UI;

  • Availability of the fuse resource times out:

    ERROR [WrapperSimpleAppMain] (rhq.core.pc.inventory.InventoryManager)- Exception thrown while activating [Resource[id=33224, uuid=9c379452e4-a091-4819-e78e-626db265e6, type={JBossFuse}JBoss Fuse Container, key=JBoss Fuse{C:\jboss-fuse-6.3.0\test}, name=Child JBoss Fuse{C:\jboss-fuse-6.3.0\test} Child JBoss Fuse [test], parent=myParent, version=6.3.0.redhat-187]].
    org.rhq.core.clientapi.agent.PluginContainerException: Failed to start component for Resource[id=33224, uuid=9c379452e4-a091-4819-e78e-626db265e6, type={JBossFuse}JBoss Fuse Container, key=JBoss Fuse{C:\jboss-fuse-6.3.0\test}, name=Child JBoss Fuse{C:\jboss-fuse-6.3.0\test} Child JBoss Fuse [test], parent=myParent, version=6.3.0.redhat-187] - Call to [org.jbosson.plugins.fuse.JBossFuseContainerComponent.start()] with args [[org.rhq.core.pluginapi.inventory.ResourceContext@4da40310]] timed out after 60 seconds - invocation thread will be interrupted. - Cause: org.rhq.core.pc.inventory.TimeoutException
    

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Red Hat JBoss Fuse (Fuse) 6.3.0
  • JBoss ON agent that is supposed to monitor JBoss Fuse resource is started using a JRE;

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