4 Replies Latest reply: Nov 25, 2011 4:33 AM by Heiko Rupp RSS

    Setting up the monitoring of TOMCAT in RHQ 4.2?

    Julio Barreto Newbie

      RHQ 4.2 installed and I need a howto for setting up the monitoring of TOMCAT.

      What do I put in "URL Manager"?

       

      2011-11-16 20:07:35,521 ERROR [main] (rhq.core.pc.inventory.InventoryManager)- Exception thrown while activating [Resource[id=10708, type=Tomcat Server, key=/usr/local/tomcat, name=Tomcat (8080), parent=linux.xxx.xxx.xx, version=6.0.18.0]].

      org.rhq.core.clientapi.agent.PluginContainerException: Failed to start component for resource Resource[id=10708, type=Tomcat Server, key=/usr/local/tomcat, name=Tomcat (8080), parent=agilisapp.stj.gov.br, version=6.0.18.0].

              at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:1601)

              at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:2825)

              at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:2827)

              at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResources(InventoryManager.java:2785)

              at org.rhq.core.pc.inventory.InventoryManager.initialize(InventoryManager.java:231)

              at org.rhq.core.pc.PluginContainer.startContainerService(PluginContainer.java:431)

              at org.rhq.core.pc.PluginContainer.initialize(PluginContainer.java:282)

              at org.rhq.enterprise.agent.AgentMain.startPluginContainer(AgentMain.java:1870)

              at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:649)

              at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:419)

      Caused by: org.rhq.core.pc.inventory.TimeoutException: [Warning] Call to [org.jboss.on.plugins.tomcat.TomcatServerComponent.start()] with args [[org.rhq.core.pluginapi.inventory.ResourceContext@877a44]] timed out. Invocation thread will be interrupted

              at org.rhq.core.clientapi.agent.PluginContainerException.wrapIfNecessary(PluginContainerException.java:69)

              at org.rhq.core.clientapi.agent.PluginContainerException.<init>(PluginContainerException.java:96)

              ... 10 more