Tomcat Server JVM shows unavailable after upgrade to JBoss ON 3.2

Solution Verified - Updated -

Issue

  • After upgrading to JBoss ON 3.2, my Tomcat servers show available but the Tomcat Server JVM show unavailable.
  • The error message in the agent.log is:
2014-05-31 21:19:08,027 WARN  [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=34531, uuid=050e2e21-8384-4d18-9a2a-bab33800afc9, type={Tomcat}Tomcat Server JVM, key=JVM, name=Tomcat Server JVM, parent=ETFIWEB-INT1 Tomcat (10001), version=1.7.0_51], availability will be reported as DOWN
org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Failed to start component for resource Resource[id=34531, uuid=050e2e21-8384-4d18-9a2a-bab33800afc9, type={Tomcat}Tomcat Server JVM, key=JVM, name=Tomcat Server JVM, parent=ETFIWEB-INT1 Tomcat (10001), version=1.7.0_51].
    at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:1937)
    at org.rhq.core.pc.inventory.AvailabilityExecutor.checkInventory(AvailabilityExecutor.java:361)
    at org.rhq.core.pc.inventory.AvailabilityExecutor.checkInventory(AvailabilityExecutor.java:429)
    at org.rhq.core.pc.inventory.AvailabilityExecutor.startScan(AvailabilityExecutor.java:195)
    at org.rhq.core.pc.inventory.CustomScanRootAvailabilityExecutor.startScan(CustomScanRootAvailabilityExecutor.java:71)
    at org.rhq.core.pc.inventory.AvailabilityExecutor.call(AvailabilityExecutor.java:152)
    at org.rhq.core.pc.inventory.AvailabilityExecutor.call(AvailabilityExecutor.java:62)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    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)
Caused by: org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: The only legal connection type for embedded JVM Resources is "PARENT".
    at org.rhq.plugins.jmx.EmbeddedJMXServerComponent.start(EmbeddedJMXServerComponent.java:43)
    at sun.reflect.GeneratedMethodAccessor26.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:654)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    ... 3 more

Environment

  • Red Hat JBoss Operations Network (ON) 3.2
  • Tomcat 6.0

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