I added etc/jetty-jmx.xml to the jetty start up, as well as:
-Djava.rmi.server.hostname=mydomain.com -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false -
Dcom.sun.management.jmxremote.authenticate=false -
Dcom.sun.management.jmxremote.port=8007
I opened server firewall iptables for port 8007/tcp
On my home windows PC I start jconsole and try to connect to remote
mydomain.com:8007 just to get a failure.
What am I missing?
Jetty 6.1.22, jdk1.6.0_18
thank you
Peter
can you get local access to the JMX from jconsole?
Note that getting remote access always tends to be a bit
painful. I would recommend making sure you have the
same JVM on server and client machine and then you need
to follow the jconsole instructions for that same version
of the JVM precisely.
regards
I have improved the documentation about how to make it working in
firewalled environments.
See here: http://svn.codehaus.org/jetty/jetty/branches/jetty-6.1/modules/management/src/main/config/etc/jetty-jmx.xml
The key point is to specify a port for the rmi server as well.
Simon
--
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless. Victoria Livschitz
PS: I still kept following in my startup script
-Dcom.sun.management.jmxremote.ssl=false -
Dcom.sun.management.jmxremote.authenticate=false