Bug 535832 (RHQ-2488)

Summary: JBoss-AS Plugin: pooled Invoker in jboss 4.0.5 if used in the jmx invoker causes weird class cast exception
Product: [Other] RHQ Project Reporter: Andrew C. Oliver <acoliver>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.3CC: cwelton
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2488
Whiteboard:
Fixed In Version: 1.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
AIX J9 JDK1.5 JBoss 4.0.5
Last Closed: 2013-12-07 15:40:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628    

Description Andrew C. Oliver 2009-11-05 02:44:00 UTC
from the agent:

java.lang.ClassCastException: javax.management.ObjectName incompatible with javax.management.ObjectName
        at org.mc4j.ems.impl.jmx.connection.DConnection.loadSynchronous(DConnection.java:147)
        at org.rhq.plugins.jbossas.JBossASServerComponent.loadConnection(JBossASServerComponent.java:1
030)
        at org.rhq.plugins.jbossas.JBossASServerComponent.start(JBossASServerComponent.java:237)
        at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContaine
r.java:525)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        at java.lang.Thread.run(Thread.java:810)

Switching back to the straight jrmp invoker unpukes this.

(let me know if this is jopr, I'm not real clear on the beginning and end of each)

Comment 1 Andrew C. Oliver 2009-11-06 14:46:05 UTC
Btw the reason that is important is in these releases of jbas some pretty ugly bugs prevent you from changing the bind address of the invoker without changing the bind address for all of jboss (meaning it tries to hit the ethernet).

Comment 2 Andrew C. Oliver 2009-11-06 14:47:08 UTC
..where the pooled invoker obeys and plays nice.  I blame bill burke...whether he coded that or not.

Comment 3 Red Hat Bugzilla 2009-11-10 21:05:23 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2488


Comment 4 wes hayutin 2010-02-16 16:59:09 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 5 wes hayutin 2010-02-16 17:03:57 UTC
making sure we're not missing any bugs in rhq_triage

Comment 6 Corey Welton 2010-10-07 03:32:44 UTC
Triaged 5-Oct