Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6693334

Provide a firewall-friendly out-of-the-box configuration for the default's agent RMI connector

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7
    • core-svc
    • None

      The M&M default agent only allows you to specify 1 port for remote management, but it actually uses two ports. The second port is allocated dynamically, which makes it very unfriendly when the agent is deployed behind a firewall.

      I believe we should specify a user-friendly configuration for the default agent where:

      1) only one port is used, when possible (only possible when there's either no SSL at all,
         or when both the default's agent RMI Registry & client connection use SSL), and/or
      2) make it possible to specify to specify the second port number.

      One solution could be to extend the jmxremote.port syntax to support something like:
      -Dcom.sun.management.jmxremote.port=<port1>,<port2>

            dfuchs Daniel Fuchs
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: