Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Debugging Java Services | About Debugging a Java Service while it Runs in Integration Server | Creating a Remote Java Application Launch Configuration
 
Creating a Remote Java Application Launch Configuration
To remotely debug a Java service on Integration Server from Designer, you need a Remote Java Application launch configuration that identifies the Integration Server debug port. After you create the launch configuration, you can then use it when executing the Java service from Designer, accessing Integration Server via the debug port.
When you execute the Java service in this way, if you have breakpoints set in the service, when execution suspends, you can use the Debug perspective to inspect the state of the Java service in the middle of execution.
Use the following procedure to create a Remote Java Application launch configuration.
*To create a Remote Java Application launch configuration
1. In Designer: Run > Debug Configurations
2. In the Debug Configurations dialog box, select Remote Java Application and click to launch configuration.
3. In the right panel in the Name field, type a name for the launch configuration.
4. On the Connect tab in the Project field, specify the Java project you created for IS package that contains the Java service you want to debug.
5. In the Connection Type field, select Standard (Socket Attach).
6. In the Host field, specify the name of remote Integration Server.
7. In the Port field, specify the port number of the Integration Server debug port that you defined.
8. Click Apply.
9. Click Close.