Get a ThreadDump in JBossAS
There are several ways to take thread dumps and stack traces in JBossAS.
Signal the JVM to print out a StackTrace
Generate a thread dump using the jmx-console
Deploy a thread dump JSP under Java 5.
Use the jconsole when run under a Sun 1.5+ JVM.