All Products
Search
Document Center

Application Real-Time Monitoring Service:What do I do if the monitoring data of a Java application with JDK 17 is missing?

Last Updated:Aug 07, 2024

Possible cause

ARMS agent version is old

The ARMS agent V2.8.3 and later support Java applications with JDK 17, whereas V2.8.3 does not support Spring Boot 3.0.

Spring Boot 3.0 is dependent on JDK 17. If you are using a Spring Boot 3.0 application, you need to upgrade the ARMS agent to 2.9.1.2 or later.

Spring Boot 3.0 depends on an old version of Servlet API

With the release of Spring Boot 3.0 and later, Apache Tomcat has been upgraded to 10 and uses Servlet 5.0. The package name of Servlet API has been changed from javax to jakarta. If the POM dependencies of the application contains an old version of Servlet API that is not actually used, the instrumentation logic of the ARMS agent is affected. The instrumentation logic of the ARMS agent determines the specific location based on the package name of Servlet API. Old versions of Servlet API may cause the ARMS agent to mistakenly use javax for instrumentation.

The ARMS agent V3.2.0 has fixed the issue. For more information, submit a ticket.