Service Development Help : Debugging Java Services : About Debugging a Java Service while it Runs in Integration Server : Creating a Java Project for an IS Package in Designer
Creating a Java Project for an IS Package in Designer
In Designer, you need to create a Java project for the IS package that contains the Java service that you want to debug. This allows you to edit the Java service from Designer to set breakpoints. You set breakpoints to suspend the execution of the Java service during debugging, allowing you to inspect the state of the Java service in the middle of execution.
Note:  
When opening a remote Java service in Designer, only add breakpoints; do not make other edits. To edit a Java service, follow the procedure described in Editing an Existing Java Service.
When creating the Java project in Designer, you create it from an existing source, which is the IS package on Integration Server.
If your Integration Server runs on a different machine than Designer, before performing the following procedure, map a logical drive from the machine on which Designer is running to the Integration Server machine that contains the IS package. To map a drive from Windows Explorer, use Tools > Map Network Drive. The mapped logical drive should be a shared drive that allows you to access the IS package. You can find IS packages in the following directory on the Integration Server machine:
IntegrationServer_directory\packages
To create a Java project for an IS package
1. Ensure Designer is using the Java perspective. If not, switch to it by selecting Window > Open Perspective > Java.
2. Select File > New > Java Project.
3. In the Project name field, type the name of the IS package that contains the Java service you want to debug.
4. Clear the Use default location check box.
5. Click Browse adjacent to the Location field. Navigate to and select the IS package that contains the Java service you want to debug. You can locate the IS packages in the following directory:
Integration Server_directory \packages
Note:  
If your Integration Server runs on a different machine than Designer, to access the directory containing the IS package when you click Browse, use the logical drive that you mapped before starting this procedure.
6. Click Next.
7. In the New Java Project window, select the Libraries tab.
8. Click Add External Jars and add the following jar files:
* Integration Server_directory \lib\wm-isserver.jar
* Software AG_directory \common\lib\wm-isclient.jar
9. Click Finish.
About Debugging a Java Service while it Runs in Integration Server
Setting Up Integration Server Version 9.7 or Later for Remotely Debugging a Java Service
Setting Up Integration Server Version 9.0, 9.5.x, or 9.6 for Remotely Debugging a Java Service
Creating a Remote Java Application Launch Configuration
Debugging a Java Service while it Runs in Integration Server
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback