We are using jt400-6.7.jar to get the message text from a message file from IBM i. We are getting intermittent timeouts i.e.
java.net.socketException: Connection timed out (read failed).
Below is the code we used to get the message text from a message file object in the iSeries: AS400Message message = messageFile.getMessage(msgId, new byte, bidiStringType, MessageFile.CCSID_OF_JOB, ccsid);
We enabled trace on the jt400 and we save this on the logs when the connectiontimed out happens: AS400Server.receive
receive(): Reply not found. Waiting...
But when a timeout doesn't happen, below is the normal response based on the trace logs: