Enabling JMX Support for JRE

To enable JMX support for Confluence's JRE, do the following:

  1. Open the catalina.bat file in the <<ATLASSIAN_HOME>>\confluence\bin directory (on Windows; on Unix, this will be <<ATLASSIAN_HOME>>/confluence/bin directory).
  2. Look for the entry that begins with set "JAVA_OPTS=
  3. Under that entry, specify the following:

    set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=<<JMX_REMOTE_PORT>> -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false "

  4. Make sure that you replace the text in Bold in the entry above with a valid JMX remote port.
  5. Then, save the file.
  6. Finally, restart the Confluence server. For this, first go to the command prompt and switch to the <<ATLASSIAN_CONFLUENCE_HOME>>\confluence\bin directory. Then, run the following command at the prompt:

    Start-confluence.bat /fg