JMSDestinationManager cannot be cast to java.lang.String
matt.drees Feb 23, 2009 10:51 AMHi,
I installed embedded jopr 1.1 last week on our jboss 4.2.3 instances.
I regularly see the an exception (below) in the logs. It doesn't appear to affect anything, but it seems like the sort of thing that should be reported.
Want me to submit a jira report?
Thanks for building this tool, by the way; it's pretty cool.
-Matt
2009-02-23 10:36:33,832 403228658 INFO InventoryManager.discovery-1 [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] () Running runtime discovery scan rooted at platform... 2009-02-23 10:36:33,926 403228752 WARN InventoryManager.discovery-1 [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] () Failed to execute runtime discovery for Resources of type ResourceType[id=0, category=Service, name=JBossMQ, plugin=JBossAS] java.lang.ClassCastException: org.jboss.mq.server.JMSDestinationManager cannot be cast to java.lang.String at org.rhq.plugins.jbossas.AbstractMessagingDiscoveryComponent.getVersionFromSource(AbstractMessagingDiscoveryComponent.java:107) at org.rhq.plugins.jbossas.AbstractMessagingDiscoveryComponent.discoverResources(AbstractMessagingDiscoveryComponent.java:72) at org.rhq.plugins.jbossas.JBossMQDiscoveryComponent.discoverResources(JBossMQDiscoveryComponent.java:44) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.executeComponentDiscovery(RuntimeDiscoveryExecutor.java:246) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:218) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.runtimeDiscover(RuntimeDiscoveryExecutor.java:136) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:97) at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:54) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)