Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Troubleshooting Guide

- Previous: Cannot Reinstall Application Server After Manual Deletion of Directories
- Next: Chapter 3 Security Problems

# Cannot Produce a JVM Thread Dump After Server Crash

## Description

If the Application 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

### To enable a JVM thread dump

##### Steps

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

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

- Previous: Cannot Reinstall Application Server After Manual Deletion of Directories
- Next: Chapter 3 Security Problems

- © 2010, Oracle Corporation and/or its affiliates