Debugging J2EE Components

Previous Next

See Also

After defining a Java component in USoft, you may need to debug your component code, using an external debugging tool.

When calling a Java component, USoft starts a Java Virtual Machine. The external debugger needs to communicate with this Java Virtual Machine. For debugging purposes, you need to start this JVM with additional startup parameters.

The communication between debugger and the Java Virtual Machine uses a port number, for example: 8888. In this case, you need to specify the following resource setting in the usdiw file (for client-server applications), or in the usdi file (if the Rules Service is used):

*java.vm.extraStartOptions: -Xdebug |

-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n

NOTE:

You can also specify other startup parameters for the Java Virtual Machine. Refer to your Java documentation for details.