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

cancel
Showing results for 
Search instead for 
Did you mean: 

how does Java Agent connect to java process?

SOLVED
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"

 

 

 

 

how does Java Agent connect to java process?
1 REPLY 1
Highlighted
Architect

Re: how does Java Agent connect to java process?

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.