Log JMX Metrics scheduled job is not enabled when Confluence is upgraded

XMLWordPrintable

    • 4
    • Severity 3 - Minor
    • 0

      Issue Summary

      Log JMX Metrics scheduled job is responsible to send JMX metrics to atlassian-confluence-jmx.log log file. More about it on Live Monitoring Using the JMX Interface.

      This job exists since previous versions of Confluence and was implemened as disabled by default.

      With Confluence 7.17 it is now enabled by default.
      When installing a fresh instance, the job is enabled. However, this configuration isn't changed when Confluence is upgraded, keeping the scheduled job disabled.

      Steps to Reproduce

      1. Install a vanilla instance of Confluence 7.17.5.
      2. Go to Administration > General configuration > Scheduled jobs.
      3. Search for the job named Log JMX Metrics and note it's status is Scheduled.
      4. Install a vanilla instance of Confluence 7.13.20.
        • On this version, the job existed but it was disabled by default.
      5. Go to Administration > General configuration > Scheduled jobs.
      6. Search for the job named Log JMX Metrics and note it's status is Disabled.
      7. Upgrade Confluence to 8.9.2 (latest version available when the bug report was created).
      8. Go to Administration > General configuration > Scheduled jobs.
      9. Search for the job named Log JMX Metrics.

      Expected Results

      The job status is changed to Scheduled by an upgrade task.

      Actual Results

      The job status is Disabled.

      Workaround

      Manually enable the job.

            Assignee:
            Unassigned
            Reporter:
            Thiago Masutti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: