Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1605

Make RMI port configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.5
    • Fix Version/s: None
    • Component/s: jmx
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fwiffo Joey Echeverria
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: