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: ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.