quality@glassfish.java.net

Re: Start GlassFish with BTrace support

From: Naresh <Srinivas.Bhimisetty_at_Sun.COM>
Date: Sat, 01 Aug 2009 18:44:15 +0530

Thanks everyone.
I'm able to use it with latest nightly build.

-Naresh

Sreenivas Munnangi wrote:
> 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
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>