Sun GlassFish Enterprise Server 2.1 Troubleshooting Guide

ProcedureTo obtain a server thread dump on UNIX

  1. Verify that the server.xml file for the affected server instance does not include the -Xrs java-option flag. Remove the -Xrs java-option flag if it exists.

  2. If the option is changed, restart the server instance.

  3. Use the ps command to determine the java and/or appservDAS processes under which the application server is running.

  4. Run the following command on the application server instance:

    kill -3 pid

    The kill command redirects the thread dump to the server.log file for server the instance.