<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article JMX Extension stuck in Pending state in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/ta-p/269335</link>
    <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 class="lia-message-template-content-zone"&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;This troubleshooting guide will help you understand why the JMX extension is stuck in a Pending state.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;A tool that will help with troubleshooting is the JConsole.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;span class="lia-unicode-emoji" title=":movie_camera:"&gt;🎥&lt;/span&gt; Troubleshooting Video&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;IFRAME src="https://play.vidyard.com/P24nFNACTfNEC2FR3SLGU3.html?" width="640" height="360" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" class="vidyard_iframe" title="Tomcat (JMX) Troubleshooting Video_Final" allowtransparency="true" referrerpolicy="no-referrer-when-downgrade" data-mce-fragment="1"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Troubleshooting steps&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GiuseppeRanieri_0-1738769888912.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26227iD0B098BA054BEE1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GiuseppeRanieri_0-1738769888912.png" alt="GiuseppeRanieri_0-1738769888912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After enabling this feature, the process which we want to gather metrics from, MUST be restarted.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the needed MBeans?&lt;/P&gt;
&lt;P&gt;Each JMX extension needs different MBeans to build metrics:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For &lt;EM&gt;Tomcat&lt;/EM&gt; we expect MBeans under &lt;STRONG&gt;Catalina&lt;/STRONG&gt; domain and &lt;STRONG&gt;DataSource&lt;/STRONG&gt; type&lt;/LI&gt;
&lt;LI&gt;For &lt;EM&gt;WebSphere&lt;/EM&gt; we expect MBeans under &lt;STRONG&gt;WebSphere&lt;/STRONG&gt; domain and &lt;STRONG&gt;ConnectionPoolStats&lt;/STRONG&gt; type&lt;/LI&gt;
&lt;LI&gt;For &lt;EM&gt;Jboss&lt;/EM&gt; we expect Mbeans under &lt;STRONG&gt;jboss.as&lt;/STRONG&gt; domain and &lt;STRONG&gt;subsystem=datasources&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For &lt;EM&gt;IBM WebSphere Liberty&lt;/EM&gt; we expect Mbeans under &lt;STRONG&gt;WebSphere&lt;/STRONG&gt; domain and type (&lt;STRONG&gt;ThreadPoolStats,ServletStats,JvmStats,RequestTimingStats&lt;/STRONG&gt;)&lt;/LI&gt;
&lt;LI&gt;For WebLogic we excpect Mbeans under &lt;STRONG&gt;com.bea&lt;/STRONG&gt; domain and type (&lt;STRONG&gt;JDBCDataSourceRuntime,JDBCOracleDataSourceRuntime,weblogic.j2ee.descriptor.wl.JDBCConnectionPoolParamsBean&lt;/STRONG&gt;)&lt;/LI&gt;
&lt;LI&gt;For Kafka we expect Mbeans under &lt;STRONG&gt;kafka.server , kafka.producer , kafka.consumer , kafka.connector , kafka.network , kafka.controller , kafka.log , kafka.connect&lt;/STRONG&gt; domains.&lt;/LI&gt;
&lt;LI&gt;For ActiveMQ Classic we expect Mbeans under &lt;STRONG&gt;org.apache.activemq&lt;/STRONG&gt; domain and &lt;STRONG&gt;type=Broker&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For Eclipse Jetty we expect Mbeans under :&lt;BR /&gt;&lt;STRONG&gt;org.eclipse.jetty.util.thread&lt;/STRONG&gt; domain and type=queuedthreadpool&lt;BR /&gt;&lt;STRONG&gt;org.eclipse.jetty.server.handler&lt;/STRONG&gt; domain and type=statisticshandler&lt;BR /&gt;&lt;STRONG&gt;org.eclipse.jetty.server:context&lt;/STRONG&gt;=* domain and type=connectorstatistics&lt;/LI&gt;
&lt;LI&gt;Mbeans for custom extensions are defined in the extension.yaml&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;How to check if those MBeans are correctly exposed?&lt;/P&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GiuseppeRanieri_1-1738769888914.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26228iC88B3D15B6F4F2E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GiuseppeRanieri_1-1738769888914.png" alt="GiuseppeRanieri_1-1738769888914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this console, we can see the Mbean under &lt;STRONG&gt;jboss.as&lt;/STRONG&gt; domain with subsystem=logging.&lt;/P&gt;
&lt;P&gt;Cross check the MBeans in the JConsole with the one needed listed above.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What's next&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please reach out to support if this article does not help. In the support ticket, please provide:&lt;/P&gt;
&lt;P&gt;- Agent support archive of the Host where the monitored process run&lt;BR /&gt;- ID of the host and the process&lt;BR /&gt;- Screenshots from the JConsole&lt;BR /&gt;- MBeans missing&lt;/P&gt;</description>
    <pubDate>Mon, 20 Oct 2025 07:51:40 GMT</pubDate>
    <dc:creator>GiuseppeRanieri</dc:creator>
    <dc:date>2025-10-20T07:51:40Z</dc:date>
    <item>
      <title>JMX Extension stuck in Pending state</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/ta-p/269335</link>
      <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 class="lia-message-template-content-zone"&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;This troubleshooting guide will help you understand why the JMX extension is stuck in a Pending state.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;A tool that will help with troubleshooting is the JConsole.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;span class="lia-unicode-emoji" title=":movie_camera:"&gt;🎥&lt;/span&gt; Troubleshooting Video&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;IFRAME src="https://play.vidyard.com/P24nFNACTfNEC2FR3SLGU3.html?" width="640" height="360" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" class="vidyard_iframe" title="Tomcat (JMX) Troubleshooting Video_Final" allowtransparency="true" referrerpolicy="no-referrer-when-downgrade" data-mce-fragment="1"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Troubleshooting steps&lt;/STRONG&gt;&lt;/H2&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GiuseppeRanieri_0-1738769888912.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26227iD0B098BA054BEE1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GiuseppeRanieri_0-1738769888912.png" alt="GiuseppeRanieri_0-1738769888912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After enabling this feature, the process which we want to gather metrics from, MUST be restarted.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are the needed MBeans?&lt;/P&gt;
&lt;P&gt;Each JMX extension needs different MBeans to build metrics:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For &lt;EM&gt;Tomcat&lt;/EM&gt; we expect MBeans under &lt;STRONG&gt;Catalina&lt;/STRONG&gt; domain and &lt;STRONG&gt;DataSource&lt;/STRONG&gt; type&lt;/LI&gt;
&lt;LI&gt;For &lt;EM&gt;WebSphere&lt;/EM&gt; we expect MBeans under &lt;STRONG&gt;WebSphere&lt;/STRONG&gt; domain and &lt;STRONG&gt;ConnectionPoolStats&lt;/STRONG&gt; type&lt;/LI&gt;
&lt;LI&gt;For &lt;EM&gt;Jboss&lt;/EM&gt; we expect Mbeans under &lt;STRONG&gt;jboss.as&lt;/STRONG&gt; domain and &lt;STRONG&gt;subsystem=datasources&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For &lt;EM&gt;IBM WebSphere Liberty&lt;/EM&gt; we expect Mbeans under &lt;STRONG&gt;WebSphere&lt;/STRONG&gt; domain and type (&lt;STRONG&gt;ThreadPoolStats,ServletStats,JvmStats,RequestTimingStats&lt;/STRONG&gt;)&lt;/LI&gt;
&lt;LI&gt;For WebLogic we excpect Mbeans under &lt;STRONG&gt;com.bea&lt;/STRONG&gt; domain and type (&lt;STRONG&gt;JDBCDataSourceRuntime,JDBCOracleDataSourceRuntime,weblogic.j2ee.descriptor.wl.JDBCConnectionPoolParamsBean&lt;/STRONG&gt;)&lt;/LI&gt;
&lt;LI&gt;For Kafka we expect Mbeans under &lt;STRONG&gt;kafka.server , kafka.producer , kafka.consumer , kafka.connector , kafka.network , kafka.controller , kafka.log , kafka.connect&lt;/STRONG&gt; domains.&lt;/LI&gt;
&lt;LI&gt;For ActiveMQ Classic we expect Mbeans under &lt;STRONG&gt;org.apache.activemq&lt;/STRONG&gt; domain and &lt;STRONG&gt;type=Broker&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For Eclipse Jetty we expect Mbeans under :&lt;BR /&gt;&lt;STRONG&gt;org.eclipse.jetty.util.thread&lt;/STRONG&gt; domain and type=queuedthreadpool&lt;BR /&gt;&lt;STRONG&gt;org.eclipse.jetty.server.handler&lt;/STRONG&gt; domain and type=statisticshandler&lt;BR /&gt;&lt;STRONG&gt;org.eclipse.jetty.server:context&lt;/STRONG&gt;=* domain and type=connectorstatistics&lt;/LI&gt;
&lt;LI&gt;Mbeans for custom extensions are defined in the extension.yaml&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;How to check if those MBeans are correctly exposed?&lt;/P&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GiuseppeRanieri_1-1738769888914.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26228iC88B3D15B6F4F2E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GiuseppeRanieri_1-1738769888914.png" alt="GiuseppeRanieri_1-1738769888914.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this console, we can see the Mbean under &lt;STRONG&gt;jboss.as&lt;/STRONG&gt; domain with subsystem=logging.&lt;/P&gt;
&lt;P&gt;Cross check the MBeans in the JConsole with the one needed listed above.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What's next&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please reach out to support if this article does not help. In the support ticket, please provide:&lt;/P&gt;
&lt;P&gt;- Agent support archive of the Host where the monitored process run&lt;BR /&gt;- ID of the host and the process&lt;BR /&gt;- Screenshots from the JConsole&lt;BR /&gt;- MBeans missing&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 07:51:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/ta-p/269335</guid>
      <dc:creator>GiuseppeRanieri</dc:creator>
      <dc:date>2025-10-20T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Extension stuck in Pending state</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/tac-p/269379#M843</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@9BD876A77FEF3D5EF4BC972CF8A97CB1/images/emoticons/take_my_money.png" alt=":take_my_money:" title=":take_my_money:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 08:48:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/tac-p/269379#M843</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-02-06T08:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: JMX Extension stuck in Pending state</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/tac-p/287824#M1001</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;we are trying to implement Jetty JMX monitoring for processes (containers) running on OpenShift AND monitored by Operator in &lt;STRONG&gt;app-only mode.&lt;BR /&gt;&lt;/STRONG&gt;Extension is configured but - in PENDING state - only one log message is there "&lt;SPAN&gt;Monitoring configuration updated&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Should the JMX monitoring work also in app-only mode?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;BR, Josef&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 08:10:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/JMX-Extension-stuck-in-Pending-state/tac-p/287824#M1001</guid>
      <dc:creator>josef_solnicky</dc:creator>
      <dc:date>2025-10-14T08:10:42Z</dc:date>
    </item>
  </channel>
</rss>

