MQ

 View Only

MQ JMS Client Application Intermittent Failures

  • 1.  MQ JMS Client Application Intermittent Failures

    Posted Thu April 25, 2024 09:35 AM

    Hi All,

    I wrote a MQ Client application in JMS Java. What it does is connect to the queue, retrieve the messages from the queue, then close the connect. It connects to MQ queue  without problems most of the time. But when we set up a looper to call this client application, the client application encounters the following from time to time. Those errors are:

    1. LinkedException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2397' ('MQRC_JSSE_ERROR').
    com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'MQT501' with connection mode 'Client' and host name 'Client'.

    2. LinkedException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN').
    com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'MQT501' with connection mode 'Client' and host name 'Client'.

    3. LinkedException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2538' ('MQRC_HOST_NOT_AVAILABLE').
    com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'MQT501' with connection mode 'Client' and host name 'Client'.

    4. com.ibm.msg.client.jms.DetailedJMSException: JMSCMQ0002: The method 'MQBACK' failed.

    5. LinkedException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN').
    com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ0018: Failed to connect to queue manager 'MQT501' with connection mode 'Client' and host name 'Client'.

    But if I just restart the application, it will continue to run.

    Any insights? What might cause these problem?

    Thanks so much in advance.

    Chen

     



    ------------------------------
    Chen Zheng
    ------------------------------