Allow com.sun.management.jmxremote.rmi.port to be set in set-jmx-opts.sh

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 5.2.0
    • Component/s: Enterprise
    • None

      Problem Definition

      JMX_REMOTE_PORT is only used for authentication, after which JMX-RMI negotiates a random RMI port for data transfer. Inside a docker container or behind a strict firewall, access to a random port is not possible

      Suggested Solution

      Provide a standard way to specify -Dcom.sun.management.jmxremote.rmi.port as an environment variable, e.g. JMX_REMOTE_RMI_PORT

      Workaround

      Manually update set-jmx-opts.sh to specify this value

            Assignee:
            Dave Chevell
            Reporter:
            Dave Chevell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: