Java (Java Agent, Installation, JVM, and Controller Installation)

Showing results for 
Search instead for 
Did you mean: 

Instrument two apps in single JVM


Instrument two apps in single JVM

How to instrument two application in single JVM 

Instrument two apps in single JVM
AppDynamics Team

Re: Instrument two apps in single JVM

Hi Archana,


We see as of now java installation monitored JVM instance itself, that is all requests part of target JVM process with multiple web application deployed. We suggest to configure -javaagent entry on JVM with target two apps deployed as part of JVM startup setting and try below steps:


- As each web application have its own context URI say /bankapp /orderapp are two web context name of two different apps for all sub requests like /orderapp/login /bankapp/checkout, we suggest to create a Servlet rule matching context name so that all requests for one app will be grouped as single BT


Screen Shot 2018-09-14 at 9.35.16 AM.pngScreen Shot 2018-09-14 at 9.35.09 AM.pngScreen Shot 2018-09-14 at 9.34.40 AM.png

- You can use split for other segments as in sample view attached above, see if that information helps.


Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.