Mastering Resin

Thread Dumps

If you need to know what your Resin server is doing within its threads, you can obtain a dump as follows:

Once you kill the server, output will be generated similar to that shown in Figure 12.4. Pay particular attention to the threads in the waiting-on-monitor stage, because several threads may be waiting on each other—thereby producing a deadlock.

Figure 12.4: Resin thread dump output.

Категории