This causes errors like the following to appear in the Agent log whenever a runtime discovery scan is executed: 2010-07-23 00:46:04,424 WARN [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [JMS Manager] Resources - failed after 0 ms. java.lang.Exception: Discovery component invocation failed. at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:283) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.NoSuchMethodException: org.rhq.plugins.jbossas.JBossASServerComponent.getConnection() at java.lang.Class.getMethod(Class.java:1622) at org.jboss.as.integration.hornetq.jopr.JMSManagerDiscoveryComponent.getProfileService(JMSManagerDiscoveryComponent.java:65) at org.jboss.as.integration.hornetq.jopr.JMSManagerDiscoveryComponent.discoverResources(JMSManagerDiscoveryComponent.java:44) at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279) ... 5 more The messages are harmless but could be alarming to users. We're also spawning an unnecessary discovery component thread, which will only fail. The fix for this is very simple. In the hornetq plugin descriptor, change: <service name="JMS Manager" ...> <runs-inside> <parent-resource-type name="JBossAS Server" plugin="JBossAS"/> <parent-resource-type name="JBossAS Server" plugin="JBossAS5"/> </runs-inside> to: <service name="JMS Manager" ...> <runs-inside> <parent-resource-type name="JBossAS Server" plugin="JBossAS5"/> </runs-inside> This is correct because the HornetQ plugin currently is coded to assume it's running inside AS 5.x/6.x.
Since these are only log messages and have no functional impact I don't see this as blocker for 2.4
Ian please raise a jira for the hornetQ team to fix this.
I've raised https://jira.jboss.org/jira/browse/HORNETQ-454.
ips - should we close this tracker?
Yes, closing, as HORNETQ-454 is fixed in v1.0.0.Final of the hornetq plugin.