Server User Manual
Table Of Contents
- Developing Applications for J2EE™ Servers
- Contents
- Ch 1: Introduction
- Ch 2: Programming for the Java 2 Platform, Enterprise Edition
- Ch 3: Creating applications with J2EE technologies
- Ch 4: Configuring the target server settings
- Ch 5: Using JBuilder with Borland servers
- Configuring Borland servers in JBuilder
- Making the ORB available to JBuilder
- Configurations, partitions, partition services, and J2EE APIs
- Starting the configuration or server
- Remote deploying
- Remote debugging
- Web module workarounds
- Displaying the Borland Management Console in JBuilder
- International issues
- Borland servers and JDataStore 7.0
- Ch 6: Using JBuilder’s CORBA tools
- Ch 7: Using JBuilder with BEA WebLogic servers
- Ch 8: Using JBuilder with IBM WebSphere servers
- Ch 9: Using JBuilder with JBoss servers
- Ch 10: Using JBuilder with Tomcat
- Ch 11: Editing J2EE deployment descriptors
- Ch 12: Integrating with Enterprise Information Systems
- Ch 13: Building J2EE modules
- J2EE modules
- Setting module build properties
- Adding custom file types
- Sample build scenarios
- EJB JAR without any bean classes
- EJB JAR with custom files
- EJB JAR without EJB designer XML descriptors
- WAR with custom descriptor(s) in the WEB-INF directory
- WAR without any classes
- WAR with custom class filters
- WAR with custom file types
- EAR with custom files
- RAR with classes and dependencies
- Application client module with classes and dependencies
- Improving module build performance
- Index
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.