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)

Java agent implementation

Rohan.Vaikkath
AppDynamics Team

Java agent implementation

I am currently working on deploying Java agents, I have two applications running on the same host. I have app1 and aap2 running on the same host. If I want to instrument both applications how would I move forward doing this. Will I have multiple controller-info.xml files on the same host in dofferent directories?

How would a sample command look like If I wanted to run them through passing the arguments?

Is there anyway to edit the controller-info.xml file in order to achieve this?

 

 

Thanks.

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Java agent implementation
1 REPLY 1
Peter.Holditch
Moderator

Rohan,

 

This is an entirely normal scenario, which is discussed in the documentation.

 

In short, we advise customers to put the common parts of the configuration (e.g. controller URL) in the controller-info.xml file and then provide the parts that vary per JVM as system properties on the command line.

 

Warm regards,

Peter

 

 

 

 



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