Debugging J2EE components

Previous Next

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 |



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