Description of problem: Switchyard plugin is polluting agent.log when agent discoveres managed server on EAP6 domain. Version-Release number of selected component (if applicable): JON 3.2.ER3 How reproducible: always Steps to Reproduce: 1. Import EAP6 running in domain mode 2. observe agent.log Actual results: WARN [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Deployments] Resources - failed after 0 ms. java.lang.Exception: Discovery component invocation failed. at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:309) 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:679) Caused by: java.lang.ClassCastException: org.rhq.modules.plugins.jbossas7.ManagedASComponent cannot be cast to org.rhq.modules.plugins.jbossas7.BaseServerComponent at org.switchyard.rhq.plugin.SwitchYardDiscoveryComponent.discoverResources(SwitchYardDiscoveryComponent.java:67) at sun.reflect.GeneratedMethodAccessor62.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:305) ... 5 more Expected results: Although those exceptions are probably harmless, should not happen Additional info:
Kevin Conner <kevin.conner> made a comment on jira SWITCHYARD-1798 PR https://github.com/jboss-switchyard/release/pull/309
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1798 to Resolved
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1798 pushed
*** Bug 1031819 has been marked as a duplicate of this bug. ***
Verified. JON 3.2GA + jon-plugin-pack-fsw-3.2.0.GA-8 (switchyard-rhq-plugin-1.1.1-p2-redhat-2) + EAP6 running in domain mode
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1798 to Closed