http://jira.hyperic.com/browse/HHQ-2031
Steps to Reproduce:
Install and Start an agent
Go to Agent log
Actual Results:
OC4J 10 plugin throws exception in agent log:
2008-04-29 08:52:36,609 INFO [Thread-1] [RuntimeAutodiscoverer] Running runtime autodiscovery for OC4J 10
2008-04-29 08:52:37,218 ERROR [Thread-0] [MeasurementCommandsService] Error getting real time measurement: Plugin error: Malformed URL: [service:jmx:rmi://localhost:23791]
2008-04-29 08:52:37,234 ERROR [Thread-1] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: OC4J 10: URL path must begin with /jndi/ or /stub/ or /ior/:
org.hyperic.hq.product.PluginException: URL path must begin with /jndi/ or /stub/ or /ior/:
at org.hyperic.hq.product.jmx.MxServerDetector.discoverServices(MxServerDetector.java:389)
at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:203)
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.net.MalformedURLException: URL path must begin with /jndi/ or /stub/ or /ior/:
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1795)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:259)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at org.hyperic.hq.product.jmx.MxUtil.getMBeanConnector(MxUtil.java:438)
at org.hyperic.hq.product.jmx.MxServerDetector.discoverServices(MxServerDetector.java:386)
... 6 more
Anonymous