Debugging Java EE Applications
This section explains how to determine what is causing an error in your application deployment or execution.
Using the Server Log
One way to debug applications is to look at the server log in
domain-dir`/logs/server.log`. The log contains output from GlassFish
Server and your applications. You can log messages from any Java class
in your application with
If you use NetBeans IDE, logging output appears in the Output window as well as the server log.
If you start GlassFish Server with the
To Use the Administration Console Log Viewer
Using a Debugger
GlassFish Server supports the Java Platform Debugger Architecture (JPDA). With JPDA, you can configure GlassFish Server to communicate debugging information using a socket.
To Debug an Application Using a Debugger