I'm trying to import via JMX the metrics JMX metrics from the embedded Tomcat6 webapps. I use an instrumented version of Spring and thus would like to import it into AMS.
Specifically I'm having the following error from the agent :
With the jmxUrl :
ERROR [Thread-0] [MeasurementCommandsServer] Error getting real time measurement: Invalid request: Can't initialize remote connector: Invalid JMX URL port: rmi
This URL works perfectly fine with JConsole, the URL format looks correct according to the AMS documentation. I really can't understand this error.
I'm using those products :
* AMS Version 2.0.0.SR02 (build #677 - Aug 06, 2009 - )
* JBoss 4.3-CP04, started with these parameters :
-Dcom.sun.management.jmxremote.port=10777 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
Let me know if you need more details.