Sun GlassFish Enterprise Server v2.1.1 Troubleshooting Guide

Cannot Produce a JVM Thread Dump After Server Crash

Description

If the Enterprise Server crashes, the server dumps a core file and, by default, restarts with the -Xrs flag, which prevents the dump of a JVM thread dump.

Solution

ProcedureTo enable a JVM thread dump

  1. Comment out the -Xrs flag in the server.xml file for the Enterprise Server.

  2. Kill the server process (kill -3 on UNIX; Ctrl+Break on Windows).