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)

how does Java Agent connect to java process?

SOLVED
Pawel.Kaleta
New Member

how does Java Agent connect to java process?

as per subject - does anybody know how Java Agent connects to java process.?

does it discover JMX port and monitors via JMX? 

 

-javaagent:/opt/appdynamics/app-agent/javaagent.jar -Dappdynamics.agent.applicationName=App_name -Dappdynamics.agent.tierName=Tier_Name -Dappdynamics.agent.nodeName=node_Name -Dappdynamics.controller.port=8090 -Dappdynamics.controller.hostName=appdynamicstest"

 

 

 

 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
how does Java Agent connect to java process?
1 REPLY 1
Gunnar.Svanberg
Architect

Big thread bump (-:

It intercepts the classloader during JVM start. Google "Byte code injection" standard java feature since 1.3 I believe. And yes it will get JMX too. IF JMX is enabled.