Skip to main content

btrace-agnet can I stop it?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2009-03-06

I have install Glassfish 3.1 and deploy an application on it. I've enable monitoring to see how many hits the server gets.

Now after I've disable the monitoring I still see a java.exe process which runs glassfish with -javaagent:btrace-agent.jar in it.

This process still runs even after I've disable the monitoring.

Is it safe to kill this process without affecting the operational glassfish server?

Thank you,


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-06-13

The java.exe process you see is the actual glassfish server. The -javaagent:btrace-agent.jar option only loads the btrace agent in a dormant state - it incurs no overhead until you turn on the monitoring. So, there is no need to stop btrace-agent, in fact you stop it (remove all instrumentation, stop all timer threads etc.) by disabling monitoring.