Skip to content

Autoreconnect feature does not work properly with the latest docker image #205

@vcailly

Description

@vcailly

auto client reconnection to the QM does not work properly with the latest image of the MQ container (9.1)
it was working properly with the previous images (8.0 and 9.0)

Below what happens when we send a command "endmqm -r QM1" to th the MQ server (log of a test application sending messages every second with ACR ON) - we have not the issue with the previous versions of the MQ docker image

*** Message Producer ***
Setup JMS Connection Factory from properties file... ACR ON
Done.
Connecting to the QManager in Client Mode...
Connected.
Producing messages every 1000 millisecond(s)...
This is message #1 created at 15:07:48
This is message #2 created at 15:07:49
This is message #3 created at 15:07:50
This is message #4 created at 15:07:51
This is message #5 created at 15:07:52
This is message #6 created at 15:07:53
This is message #7 created at 15:07:54
This is message #8 created at 15:07:55
com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ2007: Failed to send a message to destination 'DEV.QUEUE.1'.
JMS attempted to perform an MQPUT or MQPUT1; however IBM MQ reported an error.
Use the linked exception to determine the cause of this error.
Inner exception(s):
com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2549' ('MQRC_CALL_INTERRUPTED').
FAILURE
[root@localhost mqapp]# ./TestClientReconnectionPut1.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions