# Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty?

**URL:** <https://community.dynatrace.com/t/why-tomcat-appserver-dashboard-is-empty-or-why-tomcat-jmx-metric-is-empty/37567>\
**Category:** Troubleshooting\
**Tags:** tomcat, java\
**Created:** [January 3, 2023, 2:41am UTC](https://community.dynatrace.com/t/why-tomcat-appserver-dashboard-is-empty-or-why-tomcat-jmx-metric-is-empty/37567 "2023-01-03T02:41:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominikus\_randy](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@dominikus\_randy](https://community.dynatrace.com/u/dominikus_randy)\
**Post date:** [January 3, 2023, 2:41am UTC](https://community.dynatrace.com/t/why-tomcat-appserver-dashboard-is-empty-or-why-tomcat-jmx-metric-is-empty/37567/1 "2023-01-03T02:41:53Z")

</div>

## Why Tomcat Appserver Dashboard is empty or why Tomcat JMX Metric is empty?

If I go to Tomcat process dashboard → Appserver dashboard is empty

 ![dominikus_randy_3-1670222849946.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/7/f75f4de64ef64501af83defa361a5fff6b544993.png)

And all JMX metrics are empty

 ![dominikus_randy_2-1670222178874.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/9/a940c84a72b2a88f507b5ba65cfe4688581b29b7.png)

#### Root Cause:

This issue happened when Tomcat is loaded by the Spring Boot framework. By default, the Spring Boot framework disabled the JMX MBean.

#### Solution:

The JMX Mbean can be registered in Spring Boot by setting the below parameter to true:

```auto
server.tomcat.mbeanregistry.enabled

```

Refer to [Spring Boot 2.2.0 M4 Release Notes · spring-projects/spring-boot Wiki · GitHub](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2.0-M4-Release-Notes#tomcats-mbean-registry) , quoted below:

```auto
<strong><em>Tomcat’s MBean Registry</em></strong>

<em>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.</em>

```

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 10, 2023, 3:17pm UTC](https://community.dynatrace.com/t/why-tomcat-appserver-dashboard-is-empty-or-why-tomcat-jmx-metric-is-empty/37567/2 "2023-01-10T15:17:06Z")

</div>

Thanks for sharing this easy fix&nbsp;[@dominikus\_randy](https://community.dynatrace.com/user/15512)
