users@glassfish.java.net

Re: Start GlassFish with BTrace support

From: Prashanth Abbagani <Prashanth.Abbagani_at_Sun.COM>
Date: Fri, 31 Jul 2009 08:37:20 -0700

With the latest build, the support is built-in for 'asadmin
start-domain', you wouldn't have to do anything.

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