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 184.108.40.206
java TestTcpClient 220.127.116.11
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.
-- 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.”