Sun Java System Web Server 7.0 Developer's Guide to Java Web Applications

Generating a Stack Trace for Debugging

For information about how to generate a Java stack trace for debugging, see

If the -Xrs flag is set for reduced signal usage in the server.xml file (under jvm), comment it out before generating the stack trace. If the -Xrs flag is used, the server might dump core and restart when you send the signal to generate the trace.

The stack trace goes to the system log file or to stderr based on the log attributes in server.xml.

For more information about the server.xml file, see the Sun Java System Web Server 7.0 Administrator’s Guide.