quality@glassfish.java.net

Re: Start GlassFish with BTrace support

From: Sreenivas Munnangi <Sreenivas.Munnangi_at_Sun.COM>
Date: Fri, 31 Jul 2009 11:52:57 -0700

Kedar Mhaswade wrote:
> AFAIK, recent nightly builds already add this agent automatically (it's
> hard coded in launcher code) to the server VM. So, all you really need
> is the btrace-agent.jar in lib/monitoring and that's it. Just do
> asadmin start-domain.
If it is a standard distribution, the btrace-agent.jar is already under
lib/monitor.
>
> Naresh wrote:
>> Hi,
>>
>> I have seen somewhere that GlassFish V3 could be started with BTrace
>> support using the command [1].
>> I tried it and it works great.
>> Wanted to check if there is a command line flag which can be used
>> with the *asadmin start-domain* command, in order to enable BTrace.
>>
>> [1] java
>> -javaagent:./glassfish/lib/monitor/btrace-agent.jar=dumpClasses=true,unsafe=true
>> -jar ./glassfish/modules/glassfish.jar
>>
>> Thanks,
>> Naresh
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>