Troubleshooting Tools
By default, all Enterprise Server log information is captured in the server.log file, typically located in
Log levels such as SEVERE, WARNING, INFO, CONFIG, and others can be set to provide different types and amounts of information. Each Enterprise Server module has its own logger, and each logger has its own namespace. Log levels can be set globally for all loggers, or individually for
See Chapter 9, “Administering Logging,” in Sun GlassFish Enterprise Server v3 Prelude Administration Guide for complete details about logging. Also see the Sun GlassFish Enterprise Server v3 Prelude Release Notes for any known issues related to logging.
Monitoring the System
Monitoring is another helpful tool. It is the process of reviewing the statistics of a system to improve performance or solve problems. By monitoring the state of various components and services deployed in Enterprise Server, you can identify performance bottlenecks, predict failures, perform root cause analysis, and ensure that everything is functioning as expected. For more information about monitoring, see Chapter 10, “Monitoring the Enterprise Server,” in Sun GlassFish Enterprise Server v3 Prelude Administration Guide.
Troubleshooting Tools
Several tools are available that can be used to collect information for troubleshooting purposes. This section provides basic information about the following:
■“Operating System Utilities” on page 17
■“Stack Traces and Thread Dumps” on page 18
■“VisualVM” on page 18
Operating System Utilities
Operating system utilities, such as pkginfo and showrev on Solaris and rpm on Linux, are helpful in gathering system information.
The ps
Chapter 1 • Overview of Enterprise Server Troubleshooting | 17 |