11 Replies Latest reply on Jan 11, 2010 1:52 PM by Charles Crouch

    NoClassDefFoundError when adding JBoss 5.1.0.GA

    edem morny Newbie

      I'm currently doing a setup of Jopr with Jopr 2.3.1, JDK 6, and JBoss 5.1.0.GA.

      After installing the agent, I'm able to use it to begin monitoring my mysql database instance. However, when I try to add my JBoss 5.1.0 as a child of the agent, i get the following on the ui.


      The Agent was unable to connect to the ResourceType[id=10049, category=Server, name=JBossAS Server, plugin=JBossAS] managed resource using the supplied connection properties. Please check that the connection properties are correct and that the managed resource on the agent machine is online. Cause: java.lang.Exception:java.lang.NoClassDefFoundError: org/jboss/logging/Logger -> java.lang.NoClassDefFoundError:org/jboss/logging/Logger -> java.lang.ClassNotFoundException:org.jboss.logging.Logger


      When i try the procedure the second time, a new error related to jnp is shown

      The Agent was unable to connect to the ResourceType[id=10049, category=Server, name=JBossAS Server, plugin=JBossAS] managed resource using the supplied connection properties. Please check that the connection properties are correct and that the managed resource on the agent machine is online. Cause: java.lang.Exception:java.lang.NoClassDefFoundError: Could not initialize class org.jnp.interfaces.NamingContext -> java.lang.NoClassDefFoundError:Could not initialize class org.jnp.interfaces.NamingContext


      Is there something I'm missing?