Server User Manual

Table Of Contents
42 Developing Applications for J2EE Servers
Remote debugging
3 Look for the JPDA element and edit attribute values as follows:
enable-jpda-debug="true"
jpda-transport-address="3999"
jpda-suspend="false"
4 Choose Run|Configurations, select the server run configuration, and click the Edit
button.
5 Set the following server parameters: -jpda:address=3999
6 Start the management agent/partition in JBuilder.
Remote debugging for Borland Enterprise Server 5.2.1
Preparing to remote debug before the Borland Enterprise Server AppServer
Edition 5.2.1 is running
To set up for remote debugging before you start the Borland Enterprise Server
AppServer Edition 5.2.1,
1 Start the Borland Management Console.
2 Click the Installations button.
3 Locate the server you will start. Expand the node and locate the partition you wish to
debug in JBuilder.
4 Click the partition node in the structure pane.
5 Search for and set the debug parameters as follows in the content pane (set the
values that are in bold-faced type):
partition.enable_jpda_debug=true
partition.jpda.transport_address=3999
partition.jpda.suspend=false
6 Click Apply Changes.
Preparing to remote debug when the Borland Enterprise Server AppServer
Edition 5.2.1 is already running
To set up for remote debugging when the Borland Enterprise Server AppServer Edition
5.2.1 is already running,
1 Start the Borland Management Console.
2 Click the Servers button.
3 Expand the Enterprise Servers node and locate the partition you want to debug.
4 Right-click and select Configure.
5 Choose the JPDA tab.
6 Check the Enable JPDA Remote Debugging option.
7 Set the transport address field to 3999.
8 Uncheck the Suspend Partition Until Debugger Attaches option.
9 Click Apply Changes.