Skip to main content

btrace-agnet can I stop it?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
ido_ran
Offline
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,

Ido.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ai109478
Offline
Joined: 2005-03-29

You may use disable-monitoring

command to turn monitoring (agent) off.

For example, %asadmin disable-monitoring

If you re-start the server after that, you will not see the following
line during startup:
-javaagent:/Users/nazrul/3.1/test/glassfish3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true

You should also see the following in domain.xml

Refer to
http://download.oracle.com/docs/cd/E18930_01/html/821-2416/ablur.html

--
Nazrul Islam - (408) 276-6468 - Oracle

forums@java.net wrote:
> 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,
>
> Ido.
>
>
> --
>
> [Message sent by forum member 'ido_ran']
>
> View Post: http://forums.java.net/node/819049
>
>