Java agent for embedded Tomcat and IBM Urban Code Deploy

book

Article ID: 131770

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

Running Tomcat in embedded mode with a Spring boot application, there are no autoprobe log nor agent log generated.

Cause

a.) When the Spring boot application with the Introscope agent instrumented was started manually, the metrics reported data under the Spring node
b.) Then the same application was started thru the IBM Urban Code Deploy tool. However, agent log and autoprobe log were not updated and data no longer were reported under the Spring node
c.) We found the issue was the users and groups (and hence the permissions) used on IBM Urban Code Deploy to start the script.
 

Environment

Tomcat (in Embedded Mode) 
SpringFramework 5.x
SpringBoot 2.x
IBM Urban Code Deploy tool is used for starting up the application.

Resolution

Once the proper users and groups were used within the IBM Urban Code Deploy to start the script. the application started and metric data were being reported under the Spring node.