O'Reilly logo

Oracle WebLogic Server 11g Administration Handbook by Sam Alapati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Collecting a JRockit Thread Dump

The easiest way to get a thread dump is to use the jrcmd command, which was discussed earlier in this chapter. Another important technique would be to trigger a diagnostic image dump or thread dump using the WLDF watches and notifications. One can easily write a watch that is triggered when a thread gets “stuck” and automatically trigger a diagnostic image dump that will include the stack trace and generate an e-mail to the administrator. Tracking hogging threads is also a very useful thing to configure. It is easy to add a watch that will track the hogging thread count and generate an image dump when it exceeds a certain count.

You can also generate a JRockit JVM thread dump with any one of the following methods: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required