0 Replies Latest reply on Apr 20, 2010 6:08 PM by Mike Finn

    Error adding EAP 5 server to JOPR 2.3.1

    Mike Finn Newbie

      EAP 5 (from SOAP-P 5) running on same box (and under same user) as JOPR Server. It does not autodetect, so tried adding via Inventory > Add. I tried via both embedded agent and standalone agent.

       

      This *should* work, right? Not sure what's complaining about not finding org/jboss/logging/Logger.

       

      TIA,

      Mike

       

      This error shows in JOPR console:

      The Agent was unable to connect to the ResourceType[id=10080,  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

       

      Stack trace from agent log:

      2010-04-20 18:19:07,004 INFO  [WorkerThread#0[13.140.7.31:38101]] (rhq.core.pc.inventory.InventoryManager)- Unable to connect to managed resource of type [JBossAS Server] using the specified connection properties - resource will not be added to inventory.
      org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Failed to start component for resource Resource[id=0, type=JBossAS Server, key=/home/mfinn/jboss-soa-p.5.0.0/jboss-as/server/default, name=phil JBossSOA 5.0.0.GA_SOA default (phil:1099), parent=phil, version=5.0.0.GA_SOA].
              at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:1280)
              at org.rhq.core.pc.inventory.InventoryManager.manuallyAddResource(InventoryManager.java:593)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.rhq.enterprise.communications.command.impl.remotepojo.server.RemotePojoInvocationCommandService.execute(RemotePojoInvocationCommandService.java:184)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
              at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
              at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
              at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
              at $Proxy0.execute(Unknown Source)
              at org.rhq.enterprise.communications.command.server.CommandProcessor.handleIncomingInvocationRequest(CommandProcessor.java:290)
              at org.rhq.enterprise.communications.command.server.CommandProcessor.invoke(CommandProcessor.java:184)
              at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
              at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:608)
              at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:406)
              at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
      Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jboss/logging/Logger
              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:530)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
              at java.util.concurrent.FutureTask.run(FutureTask.java:123)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
              at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/Logger
              at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:181)
              at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:55)
              at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
              at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
              at javax.naming.InitialContext.init(InitialContext.java:223)
              at javax.naming.InitialContext.<init>(InitialContext.java:197)
              at org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider.getInitialContext(JBossConnectionProvider.java:112)
              at org.mc4j.ems.impl.jmx.connection.support.providers.JBossConnectionProvider.doConnect(JBossConnectionProvider.java:69)
              at org.mc4j.ems.impl.jmx.connection.support.providers.AbstractConnectionProvider.connect(AbstractConnectionProvider.java:99)
              at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1028)
              at org.rhq.plugins.jbossas.JBossASServerComponent.start(JBossASServerComponent.java:237)
              at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
              ... 5 more