Getting "JFR is disabled" messaged due to Java version not supporting Java Flight Recorder
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
When browsing to General Configuration > Troubleshooting and support tools > Diagnostic settings, Confluence shows the following warning message in the Java Flight Recording (JFR) section:
1
Your current java version or product release doesn't support the Java Flight Recorder
As a side effect, the slide button under Runtime diagnostic cannot be enabled or disabled to generate JFR files.

It is assumed that the JDK version used is part of the Supported Platforms listed for your particular Confluence version.
Cause
The problem lies in the usage of atlassian.org.osgi.framework.bootdelegation
parameter, which is not supported by Atlassian.
It is recommended to use atlassian.org.osgi.framework.bootdelegation.extra
instead, which is a new flag introduced into the Atlassian Plugin Framework, our own implementation of the OSGi parameter.
For more information, please see the article Adding classes to OSGi boot class loader (BootDelegation)
Solution
Please, follow these steps to overcome the issue:
Locate the customized
-Datlassian.org.osgi.framework.bootdelegation
JVM parameter is being defined. This is typically in the fileCONFLUENCE_HOME/bin/setenv.sh
Replace theparameter with the
-Datlassian.org.osgi
.framework.bootdelegation.extra
instead.⚠️ This parameter is frequently used with monitoring agents such as AppDynamics. We recommend you to contact the agent vendor if you require further advice when switching the JVM parameter.
Restart Confluence
Was this helpful?