Bug 1018270
| Summary: | Switchyard plugin throws errors when Managed Server on EAP6 Domain is being discovered | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Libor Zoubek <lzoubek> |
| Component: | SwitchYard | Assignee: | kconner |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas Plevko <tplevko> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0.0 GA | CC: | ckannan, ldimaggi, mfoley, rhatlapa, soa-p-jira, theute, vnguyen |
| Target Milestone: | ER8 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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: