AMS : JMX communication with JBoss 4.3
Hello,
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 :
Code:
ERROR [Thread-0] [MeasurementCommandsServer] Error getting real time measurement: Invalid request: Can't initialize remote connector: Invalid JMX URL port: rmi
With the jmxUrl :
Code:
service:jmx:rmi:///jndi/rmi://localhost:10777/jmxrmi
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 :
Code:
-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.
Thanks!