on
06 Feb 2025
07:47 AM
- edited on
05 Mar 2025
02:03 PM
by
MaciejNeumann
This troubleshooting guide will help you understand why the JMX extension is stuck in a Pending state.
Once a JMX extension is installed, it will take a few minutes to activate its metrics and finally reach an OK state. However, sometimes this doesn't happen, and the extension remains in a Pending status even after some time. There might be different reasons behind this.
A tool that will help with troubleshooting is the JConsole.
The most frequent issue is that the OneAgent feature Java Metric Extensions 2.0 (JMX) [Opt-In] hasn't been activated. This can be verified at the process group level or globally in the main settings.
After enabling this feature, the process which we want to gather metrics from, MUST be restarted.
If the two above conditions are met, it might be that the process we want to monitor for the connection pool doesn't expose the needed MBeans.
each JMX extension needs different MBeans to build metrics:
This can be checked through the usage of JConsole. In this tool, open the process you want to monitor and navigate to the MBeans tab:
In this console, we can see the Mbean under jboss.as domain with subsystem=logging.
Cross check the MBeans in the JConsole with the one needed listed above.
Please reach out to support if this article does not help. In the support ticket, please provide:
- Agent support archive of the Host where the monitored process run
- ID of the host and the process
- Screenshots from the JConsole
- MBeans missing