Hi,
I followed the wiki page and created this simple JMX plugin (as attached). And I have my standalone java app exposing at service:jmx:rmi:///jndi/rmi://localhost:1234/jmxrmi. JConsole connects through this url just fine.
However,
$ java -Dplugins.include=test2 -jar pdk/lib/hq-product.jar -m discover -a metric
0 servers detected
I have spent the whole day changing small changes to the plugin.xml. But it doesn't work. Any help is very much appreciated.
I am using Hyperic 4.1.2.