jt400 getMessage() no response

315 pts.
Tags:
AS 400
IBM i
iSeries
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[0], 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:
AS400Server.receive receive(): Reply not found. Waiting... receive(): Valid reply found: Constructing AS400Message object .
  1. Anyone encountered this problem with jt400 before?
  2. Any tips on how to trace this further?
  3. How do we find out it the request actually got to the QZRCSRVS job on the iSeries?
  4. How do we check if the problem is with the jt400 driver or the IBM i QZRCSRVS  / server job?
Thanks,
 Joel


Software/Hardware used:
jt400-6.7.jar
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • TheRealRaven
    Are you wanting to get message text from a message file or a message queue? Also, can you show the code that sets up getMessage()?
    35,220 pointsBadges:
    report
  • Jpjawili
    Good morning TheRealRaven, 
    We are trying to get message text from a message file. The problem happens intermittently. 
    315 pointsBadges:
    report
  • Jpjawili
    regarding: Also, can you show the code that sets up getMessage()?

    Am unable to post the code here as it gets rejected by the reply window even if i use the [code] button above.
    315 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: