Menu

#4274 [HHQ-4173] java.lang.ClassCastException: when running autodi

Bug
open
None
5
2012-10-09
2010-07-31
No

http://jira.hyperic.com/browse/HHQ-4173
Seeing the following error message in agent.log when OC4J 10 driver is trying to autodiscover.



2010-07-30 12:36:59,421 ERROR [Thread-2] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: OC4J 10: [Ljava.lang.String; cannot be cast to java.util.Map


org.hyperic.hq.product.PluginException: [Ljava.lang.String; cannot be cast to java.util.Map


at org.hyperic.hq.product.jmx.MxServerDetector.discoverServices(MxServerDetector.java:473)


at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:221)


at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)


at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)


at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)


at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)


at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)


Caused by: java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.util.Map


at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getDomain(RMIJMXConnectorImpl.java:83)


at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:363)


at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)


at org.hyperic.hq.product.jmx.MxUtil.getMBeanConnector(MxUtil.java:445)


at org.hyperic.hq.product.jmx.MxServerDetector.discoverServices(MxServerDetector.java:470)


... 6 more

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.