# JMX Extension stuck in Pending state

**URL:** <https://community.dynatrace.com/t/jmx-extension-stuck-in-pending-state/50112>\
**Category:** Troubleshooting\
**Tags:** jmx, extensions\
**Created:** [February 6, 2025, 7:47am UTC](https://community.dynatrace.com/t/jmx-extension-stuck-in-pending-state/50112 "2025-02-06T07:47:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiuseppeRanieri](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@GiuseppeRanieri](https://community.dynatrace.com/u/GiuseppeRanieri)\
**Post date:** [February 6, 2025, 7:47am UTC](https://community.dynatrace.com/t/jmx-extension-stuck-in-pending-state/50112/1 "2025-02-06T07:47:09Z")

</div>

## **Summary**

This troubleshooting guide will help you understand why the JMX extension is stuck in a Pending state.

## **Problem**

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.

## 🎥 Troubleshooting Video

The troubleshooting video will show and explain why the Tomcat JMX Extension might be showing a ‘Pending’ status after completing the configuration and installing the extension into your Dynatrace environment.

https://play.vidyard.com/P24nFNACTfNEC2FR3SLGU3.html?autoplay=0
## **Troubleshooting steps**

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.

 ![GiuseppeRanieri_0-1738769888912.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/8/885882969fb443ba9e1dbb9a07cbfc93c8e2b6e0.png)

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.

What are the needed MBeans?

Each JMX extension needs different MBeans to build metrics:

- For _Tomcat_ we expect MBeans under **Catalina** domain and **DataSource** type
- For _WebSphere_ we expect MBeans under **WebSphere** domain and **ConnectionPoolStats** type
- For _Jboss_ we expect Mbeans under **jboss.as** domain and **subsystem=datasources**
- For _IBM WebSphere Liberty_ we expect Mbeans under **WebSphere** domain and type ( **ThreadPoolStats,ServletStats,JvmStats,RequestTimingStats** )
- For WebLogic we excpect Mbeans under **com.bea** domain and type ( **JDBCDataSourceRuntime,JDBCOracleDataSourceRuntime,weblogic.j2ee.descriptor.wl.JDBCConnectionPoolParamsBean** )
- For Kafka we expect Mbeans under **kafka.server , kafka.producer , kafka.consumer , kafka.connector , kafka.network , kafka.controller , kafka.log , kafka.connect** domains.
- For ActiveMQ Classic we expect Mbeans under **org.apache.activemq** domain and **type=Broker**
- For Eclipse Jetty we expect Mbeans under :  
**org.eclipse.jetty.util.thread** domain and type=queuedthreadpool  
**org.eclipse.jetty.server.handler** domain and type=statisticshandler  
**org.eclipse.jetty.server:context** =\* domain and type=connectorstatistics
- Mbeans for custom extensions are defined in the extension.yaml

How to check if those MBeans are correctly exposed?

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:

 ![GiuseppeRanieri_1-1738769888914.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e8455b34947afd36c3f3997576bf2ce1012e4531.png)

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.

**What’s next**

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

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [February 6, 2025, 8:48am UTC](https://community.dynatrace.com/t/jmx-extension-stuck-in-pending-state/50112/2 "2025-02-06T08:48:29Z")

</div>

Thank you!&nbsp;:money\_mouth\_face:

---

<div class="post-metadata">

**Author:** ![josef\_solnicky](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/josef_solnicky/32/31968_2.png) [@josef\_solnicky](https://community.dynatrace.com/u/josef_solnicky)\
**Post date:** [October 14, 2025, 8:10am UTC](https://community.dynatrace.com/t/jmx-extension-stuck-in-pending-state/50112/3 "2025-10-14T08:10:42Z")

</div>

Hi,  
we are trying to implement Jetty JMX monitoring for processes (containers) running on OpenShift AND monitored by Operator in **app-only mode.**  
Extension is configured but - in PENDING state - only one log message is there “Monitoring configuration updated”.

**Should the JMX monitoring work also in app-only mode?**

BR, Josef
