Issue Type: Bug Bug
Affects Versions: 1.1
Assignee: Kevin Conner
Components: admin
Created: 30/Oct/13 10:30 PM
Description:

The rhq plugin generates the following errors in the agent log if an EAP domain is discovered

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

Fix Versions: 1.1
Project: SwitchYard
Priority: Major Major
Reporter: Kevin Conner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira