Search code examples
jmxconfluencembeans

Not all MBean available in Confluence


I have confluence 5.10.6 on tomcat 8. In tomcat I have setup jmx:

CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false ${CATALINA_OPTS}"

and using jconsole trying to have access to Confluence MBeans. Unfortunately only several of MBeans available:

  • CacheStatistics
  • IndexingStatistics
  • MailTaskQueue
  • SchedulingStatistics
  • SystemInformation

But I need also RequestMetrics (https://confluence.atlassian.com/doc/live-monitoring-using-the-jmx-interface-150274182.html).

What I missed in my configuration?


Solution

  • Your configuration is perfectly fine.

    The missing RequestMetrics MBean is actually a known bug in Confluence since 5.9.2: https://jira.atlassian.com/browse/CONF-40442

    You can vote for this issue there to raise awareness by Atlassian.