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

Command to restart java agent or JVM on linux?

rajanikanthanka
Inactive

Hi,

Two of our java agents are having instrumentation issues. I see connection timed out info in logs.

Can I restart manually java agent or JVM from that linux box?

Thanks,
Rajani

5 REPLIES 5

JamesKitson
Dynatrace Leader
Dynatrace Leader

The java agents aren't separate processes, they are modifications to the code of the application/jvm so they run with the application. This means that the only way to restart the agent is to restart the application. This is the only option to restore instrumentation if the agents could not reach the collector at startup.

James

So the only solution for this is to restart the application right?

When they say instrumentation not available these agents do they still report any data or they skip data?

If you see the message "instrumentation not available" then you will not receive any transactional data from that JVM. A JVM restart is your only option.

Thanks Joseph. In this case we will request to restart application and hopefully it should fix the issue.

Joe_Hoffman
Dynatrace Champion
Dynatrace Champion

It might be a good idea to inspect the agent logs to determine the exact reason that it was not able to instrument the JVM last startup. Perhaps your collector is not located in an appropriate location for this agent? Let us know what messages exist in the log.