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

how does Java Agent connect to java process?

Pawel.Kaleta
New Member

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"

 

 

 

 

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.