quality@glassfish.java.net

Start GlassFish with BTrace support

From: Naresh <Srinivas.Bhimisetty_at_Sun.COM>
Date: Fri, 31 Jul 2009 14:17:16 +0530

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