JBoss Community

View post: ThreadDumps and StackTraces

ThreadDumps and StackTraces

Posted on 2007-10-14 09:06:41.0 by noreply@blogger.com (Dimitris Andreadis) [ View original post ]

Thread Dumps and Stack Traces are useful tools for debugging java applications. In JBossAS there are several ways to get stacktraces, most common being to use the jmx-console. An entry point to the various techiques for taking thread dumps is this wiki page.

Browsing the Java Specialists archive, I found yet another JSP-based threaddump utility. The difference with the thread dump you get with the jmx-console is that a sorted summary of the threads is presented in the beginning of the page, with links to the individual stacktraces that follow in the bottom of the page. The jmx-console in contrast shows the stacktraces inline with the list of threads, grouped according to their groupId and sorted by their threadId.

I adapted this for JBossAS and you can find it here.
Post to DZone   Post to del.icio.us   Digg this!   Stumble It!