0 Replies Latest reply on Feb 19, 2011 5:02 PM by reddykiran kondate

    RHQ 2.2.1 and Jboss eap 4.2.0

    reddykiran kondate Newbie

      Hi,

       

      I am tring to monitor Jboss EAP 4.2.0 server using Jopr 2.2.1. I've installed Jopr server in Machine1 and agent in mMachine 2 where the jboss servers are running. Both the jopr server & agents are running fine Jboss server is also running fine,When i am trying to add the running jboss server to the jopr server it is throwing exception in agent logs. Please find the logs below. Please help me on these Please.....

       

      2011-02-19 16:44:59,919 ERROR [WorkerThread#0[10.82.32.156:55433]] (rhq.core.pc.inventory.InventoryManager)- Manual add failed for resource of type 'JBossAS Server' and parent resource id [11291].

      java.lang.Exception: Discovery component invocation failed.

              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:264)

              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/rhq/core/pluginapi/support/SupportFacet

              at java.lang.ClassLoader.defineClass1(Native Method)

              at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

              at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

              at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

              at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

              at org.rhq.plugins.jbossas.JBossASDiscoveryComponent.setPluginConfigurationDefaults(JBossASDiscoveryComponent.java:247)

              at org.rhq.plugins.jbossas.JBossASDiscoveryComponent.processManuallyAddedResources(JBossASDiscoveryComponent.java:202)

              at org.rhq.plugins.jbossas.JBossASDiscoveryComponent.discoverResources(JBossASDiscoveryComponent.java:87)

              at sun.reflect.GeneratedMethodAccessor30.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.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:260)

              ... 5 more

      2011-02-19 16:45:13,980 INFO  [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...

      2011-02-19 16:45:21,457 WARN  [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Failure to collect measurement data from: org.rhq.plugins.platform.PlatformComponent@1086036

      java.lang.Exception: java.lang.NoClassDefFoundError: org/rhq/core/system/SigarAccess

              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:516)

              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/rhq/core/system/SigarAccess

              at org.rhq.plugins.platform.PlatformComponent.getValues(PlatformComponent.java:127)

              at sun.reflect.GeneratedMethodAccessor42.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:511)

              ... 5 more

      2011-02-19 16:46:14,149 INFO  [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...

       

       

       

      Thanks,

      Kiran.