When you enable debugging, you need to enable both local and remote debugging.
You can enable debugging in one of these ways, as described in the following sections:
Sun Java System Application Server debugging is based on the JPDA (Java™ Platform Debugger Architecture software). For more information, see JPDA Options
Access the Server Manager and click the Java tab.
Click JVM General.
Specify the Java home in the Java Home field.
The Java home is the path to the directory where the JDK is installed.
To enable debugging, select On from the Debug Enabled drop-down list
Specify debug options in the Debug Options field.
For more information about debug options, see JPDA Options
To enable debugging, set the following attributes of the JAVA element in the server.xml file:
Set debug="true" to turn on debugging.
Add any desired JPDA debugging options in the debugoptions attribute. See JPDA Options
To specify the port to use when attaching the JVM to a debugger, specify address=port_number in the debugoptions attribute.
For details about the server.xml file, see the Sun Java System Web Server 6.1 SP6 Administrator’s Configuration File Reference.