5 Replies Latest reply: Sep 3, 2012 8:35 PM by Todd Thomas RSS

ClassNotFoundException - Monitoring infinispan 5.1.5 with RHQ 4.4

Kleber Rocha Newbie

Hi,

 

I'm having this problem with RHQ Agent to monitoring Infinispan 5.1.5, can someone help me?

 

2012-08-01 13:58:10,779 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Infinispan Cache Manager] Resources - failed after 3 ms.

java.lang.Exception: Discovery component invocation failed.

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

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

Caused by: java.lang.NoClassDefFoundError: org/rhq/plugins/jmx/ObjectNameQueryUtility

    at org.infinispan.rhq.CacheManagerDiscovery.createDiscoveredResource(CacheManagerDiscovery.java:76)

    at org.infinispan.rhq.CacheManagerDiscovery.discoverResources(CacheManagerDiscovery.java:62)

    at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

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

    ... 5 more

Caused by: java.lang.ClassNotFoundException: org.rhq.plugins.jmx.ObjectNameQueryUtility

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

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

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

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

    at org.rhq.core.pc.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:63)

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

    ... 11 more