Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10023

Consistent JMX Opts values

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 5.4.0
    • Enterprise
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: