You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Joey Echeverria (JIRA)" <ji...@apache.org> on 2012/12/19 13:41:12 UTC

[jira] [Created] (ZOOKEEPER-1605) Make RMI port configurable

Joey Echeverria created ZOOKEEPER-1605:
------------------------------------------

             Summary: Make RMI port configurable
                 Key: ZOOKEEPER-1605
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1605
             Project: ZooKeeper
          Issue Type: Improvement
          Components: jmx
    Affects Versions: 3.4.5
            Reporter: Joey Echeverria


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira