cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

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

Instrument two apps in single JVM

Archana.Mishra
Creator

Instrument two apps in single JVM

How to instrument two application in single JVM 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Instrument two apps 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.