1 Reply Latest reply on Nov 11, 2008 6:29 AM by stfkbf

    JBoss AS log event not registered

    stfkbf

      Hi

      I am using jopr-server-2.2.0-SNAPSHOT and with rhq-enterprise-agent-1.2.0-SNAPSHOT. With this configuration events from the JBoss AS server.log do not seem to be registered by the server.

      I have verified the the server.log is enabled as an event source and that the server.log file actually contains events of a sufficient severity.

      No exceptions are thrown by the agent or the server and at a glance all other metrics seem to be registered correctly.

      Is there any way to debug whether the agent is actually sending the server.log entries as events?

      I am having this problem both using an Oracle and a Postgres database.

        • 1. Re: JBoss AS log event not registered
          stfkbf

          Actually the above is not entirely true. The agent is registering several exceptions. Examples are:

          2008-11-11 12:07:34,295 DEBUG [main] (rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler)- Call to org.rhq.plugins.jbossas.JBossASServerComponent.start() with args [[org.rhq.core.pluginapi.inventory.R
          esourceContext@141d19]] failed.
          java.util.concurrent.ExecutionException: java.lang.NullPointerException
          at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:215)
          at java.util.concurrent.FutureTask.get(FutureTask.java:85)
          at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invokeInNewThreadWithLock(ResourceContainer.java:382)
          at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invoke(ResourceContainer.java:365)

          and:

          2008-11-11 12:12:37,548 DEBUG [ConfigurationManager.threadpool-1] (rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler)- Call to org.rhq.plugins.jbossas.JBossMessagingComponent.loadResourceConfiguratio
          n() with args [] failed.
          java.util.concurrent.ExecutionException: java.lang.NullPointerException
          at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:215)
          at java.util.concurrent.FutureTask.get(FutureTask.java:85)
          at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invokeInNewThreadWithLock(ResourceContainer.java:382)
          at org.rhq.core.pc.inventory.ResourceContainer$ResourceComponentInvocationHandler.invoke(ResourceContainer.java:365)