-
Bug
-
Resolution: Fixed
-
Low
-
7.17.0, 7.18.0, 7.19.0, 7.20.0, 8.0.0, 8.9.2, 8.5.10
-
1
-
Severity 3 - Minor
-
The Log JMX Metrics scheduled job sends JMX metrics to atlassian-confluence-jmx.log log file. More about it on Live Monitoring Using the JMX Interface.
Steps to Reproduce
- In an instance running Confluence 7.17 or higher, validate the "Log JMX Metrics" is enabled:
- Go to Administration > General configuration > Scheduled jobs.
- Search for the Log JMX Metrics and validate that its status is Enabled.
- If it is Disabled, enable it.
Expected Results
The metrics described in Live Monitoring Using the JMX Interface are written to atlassian-confluence-jmx.log:
- CacheStatistics
- IndexingStatistics
- MailTaskQueue
- RequestMetrics
- SystemInformation
- ThreadPool
- OS
- GC
- Threading
- TomcatManager
- RequestProcessor
Actual Results
Metrics ThreadPool, TomcatManager, and RequestProcessor are not written to atlassian-confluence-jmx.log leaving them blank in the file:
2024-04-30 18:46:00,044 ThreadPool: [] 2024-04-30 18:46:00,044 TomcatManager: [] 2024-04-30 18:46:00,044 RequestProcessor: [] 2024-04-30 18:47:00,069 ThreadPool: [] 2024-04-30 18:47:00,070 TomcatManager: [] 2024-04-30 18:47:00,070 RequestProcessor: []
Workaround
Manually edit Tomcat's server.xml to switch the Engine name from Standalone to Catalina:
<Engine name="Catalina" defaultHost="localhost" debug="0">
After the changes are done, restart Confluence.
If running Confluence DC, repeat the same procedure for each node in the cluster.
- relates to
-
CONFSERVER-95919 Log JMX Metrics scheduled job is not enabled when Confluence is upgraded
-
- Long Term Backlog
-
-
CONFSERVER-60563 Switch the Engine name from Standalone to Catalina on Tomcat
- Gathering Interest
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
A fix for this issue is available in Confluence Server and Data Center 9.1.1. Upgrade now or check out the Release Notes to see what other issues are resolved.