<?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 Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty? in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Why-Tomcat-Appserver-Dashboard-is-empty-or-why-Tomcat-JMX-Metric/ta-p/199783</link>
    <description>&lt;DIV class="lia-message-template-question-zone"&gt;&lt;H2&gt;Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty?&lt;/H2&gt;&lt;P&gt;If I go to Tomcat process dashboard -&amp;gt; Appserver dashboard is empty&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dominikus_randy_3-1670222849946.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8794i4EDABEB9685D1A00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dominikus_randy_3-1670222849946.png" alt="dominikus_randy_3-1670222849946.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;P&gt;And all JMX metrics are empty&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dominikus_randy_2-1670222178874.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8793iC0D87ECBBDC0FD70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dominikus_randy_2-1670222178874.png" alt="dominikus_randy_2-1670222178874.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-template-answer-zone"&gt;&lt;H4&gt;Root Cause:&lt;/H4&gt;&lt;P&gt;This issue happened when Tomcat is loaded by the Spring Boot framework. By default, the Spring Boot framework disabled the JMX MBean.&lt;/P&gt;&lt;H4&gt;Solution:&lt;/H4&gt;&lt;P&gt;The JMX Mbean can be registered in Spring Boot by setting the below parameter to true:&lt;/P&gt;&lt;PRE&gt; server.tomcat.mbeanregistry.enabled&lt;/PRE&gt;&lt;P&gt;Refer to &lt;A href="https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2.0-M4-Release-Notes#tomcats-mbean-registry" target="_blank" rel="noopener"&gt;https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2.0-M4-Release-Notes#tomcats-mbean-registry&lt;/A&gt; , quoted below:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;EM&gt;Tomcat’s MBean Registry&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Tomcat’s MBean Registry is now disabled by default, saving approximately 2MB of heap. If you want to use Tomcat’s MBeans, for example so that they can be used to expose metrics via Micrometer, set the server.tomcat.mbeanregistry.enabled to true.&lt;/EM&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Jan 2023 02:41:53 GMT</pubDate>
    <dc:creator>dominikus_randy</dc:creator>
    <dc:date>2023-01-03T02:41:53Z</dc:date>
    <item>
      <title>Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty?</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Why-Tomcat-Appserver-Dashboard-is-empty-or-why-Tomcat-JMX-Metric/ta-p/199783</link>
      <description>&lt;DIV class="lia-message-template-question-zone"&gt;&lt;H2&gt;Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty?&lt;/H2&gt;&lt;P&gt;If I go to Tomcat process dashboard -&amp;gt; Appserver dashboard is empty&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dominikus_randy_3-1670222849946.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8794i4EDABEB9685D1A00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dominikus_randy_3-1670222849946.png" alt="dominikus_randy_3-1670222849946.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;P&gt;And all JMX metrics are empty&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dominikus_randy_2-1670222178874.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8793iC0D87ECBBDC0FD70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dominikus_randy_2-1670222178874.png" alt="dominikus_randy_2-1670222178874.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-template-answer-zone"&gt;&lt;H4&gt;Root Cause:&lt;/H4&gt;&lt;P&gt;This issue happened when Tomcat is loaded by the Spring Boot framework. By default, the Spring Boot framework disabled the JMX MBean.&lt;/P&gt;&lt;H4&gt;Solution:&lt;/H4&gt;&lt;P&gt;The JMX Mbean can be registered in Spring Boot by setting the below parameter to true:&lt;/P&gt;&lt;PRE&gt; server.tomcat.mbeanregistry.enabled&lt;/PRE&gt;&lt;P&gt;Refer to &lt;A href="https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2.0-M4-Release-Notes#tomcats-mbean-registry" target="_blank" rel="noopener"&gt;https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2.0-M4-Release-Notes#tomcats-mbean-registry&lt;/A&gt; , quoted below:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;EM&gt;Tomcat’s MBean Registry&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Tomcat’s MBean Registry is now disabled by default, saving approximately 2MB of heap. If you want to use Tomcat’s MBeans, for example so that they can be used to expose metrics via Micrometer, set the server.tomcat.mbeanregistry.enabled to true.&lt;/EM&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Jan 2023 02:41:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Why-Tomcat-Appserver-Dashboard-is-empty-or-why-Tomcat-JMX-Metric/ta-p/199783</guid>
      <dc:creator>dominikus_randy</dc:creator>
      <dc:date>2023-01-03T02:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty?</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Why-Tomcat-Appserver-Dashboard-is-empty-or-why-Tomcat-JMX-Metric/tac-p/202046#M113</link>
      <description>&lt;P&gt;Thanks for sharing this easy fix&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/15512"&gt;@dominikus_randy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:17:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Why-Tomcat-Appserver-Dashboard-is-empty-or-why-Tomcat-JMX-Metric/tac-p/202046#M113</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-10T15:17:06Z</dc:date>
    </item>
  </channel>
</rss>

