Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.5
-
None
-
None
Description
JMX uses two ports, the JMX remote port and the RMI server port. The default JMX agent allows you to configure the JMX remote port, via the com.sun.management.jmxremote.port system property, but the RMI server port is randomized at runtime. It's possible to create custom agent that can set the RMI port to a configurable value:
http://olegz.wordpress.com/2009/03/23/jmx-connectivity-through-the-firewall/
Making the RMI port configurable is critical to being able to monitor ZK with JMX through a firewall.