Absent Member.. Absent Member..
Absent Member..

PPM Support Tip: When needing to test TCP communication, use TCP test tool


Knowledge base article: KM00868266


The Project and Portfolio Management (PPM) server should be able to receive TCP messages from other servers via APP_SERVER_UIL2_BINDING_PORT or there will be errors like the following:


ERROR :scheduler_Worker-2:com.mercury.itg.core.scheduler:2014/04/17-23:08:30.077 PDT: Could not send service message for job (_TASK_ACTUAL_ROLLUP_SERVICE_0_0) because the JMS producer is not reachable


HP has developed a simple TCP test tool with Java.


The tests expect to receive the messages between the server's socket and the client. These tests will help understand how the packet send/receive is functioning at the network layer.


If the tests fail on one server, or if the tests only fail between different servers, will know to contact the network admin to investigate further. If works as expected, then will know to ask R&D to research further.


TCP Test Steps:


1. Download the attachment "TcpTest.zip"
2. Unzip in the environment (for example: C:\TcpTest)
3. Place the folder where the files were unzipped in to the "ClassPath" Environment Variable
4. Test tcp communications using the following commands:

(replace the IP address with server's IP where the TestTcpServer is run)
java TestTcpServer
java TestTcpClient

Test A: Run TestTcpServer and TestTcpClient on the same server (use 2 different command windows)
Test B: Run TestTcpServer on one server, and then run TestTcpClient on the other server (use 1 command window on each machine)


There should be message returned when the TestTcpClient is run:

-"Message from client" and "Wrote message to client" for TestTcpServer
-"Wrote message to server" and "Message from server" on the TestTcpClient.

Best regards,

-- Remember to give Kudos to answers! (click the KUDOS star)
"If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Labels (1)
Tags (3)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.