Consistent JMX Opts values

XMLWordPrintable

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

      Problem Definition

      Whilst most of the JMX variables in set-jmx-opts.(sh|bat) simply take values, a couple of them also require the Java arguments to be set:

      JMX_REMOTE_RMI_PORT=-Dcom.sun.management.jmxremote.rmi.port=3333
      RMI_SERVER_HOSTNAME=-Djava.rmi.server.hostname=my.bitbucket.hostname
      

      Suggested Solution

      Allow setting these variables without the Java arg, e.g.

      JMX_REMOTE_RMI_PORT=3333
      RMI_SERVER_HOSTNAME=my.bitbucket.hostname
      

      For backwards compatibility with users already specifying the full Java arg in their environment, set-jmx-opts.(sh|bat) may need to support values with and without the Java arg present

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

              Created:
              Updated:
              Resolved: