cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Instrument two apps in single JVM

Archana.Mishra
Creator

How to instrument two application in single JVM 

1 REPLY 1

Arun.Dasetty
AppDynamics Team

Hi Archana,

 

We see as of now java AppServerAgent.zip 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.

 

https://docs.appdynamics.com/display/PRO44/Install+the+Java+Agent

https://docs.appdynamics.com/display/PRO44/Monitor+JVMs

 



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