APM Tomcat agent doesn't show metrics on EJB classes

Document ID : KB000094751
Last Modified Date : 08/06/2018
Show Technical Document Details
Question:
We deployed 10.5.1 Java agent on Tomcat Application servers but we didn't see any metrics from EJB classes. We had multiple deployment (agent 9.x or 10.x) on Tomcat. None of them gathered metrics on EJB. Are there special settings on Introsocpe agent to monitor EJB classes? 
Answer:
Apache Tomcat is a webserver and serverlet container. Apache Tomcat is not a Java EE container ,and does not support Java EE applications. The EJB is a Java EE application.
You can instrument Java classes/methods (including EJB classes) via custom instrument. 
Review following example:
https://comm.support.ca.com/kb/_How-do-I-monitor-Adobe-Experience-Manager-using-APM-Introscope-Java-Agent/KB000028776