I have IBM MQ running in one docker container and in another container I have IBM Websphere running. From Websphere I am trying to create QCF using CCDT connection method. I have copied CCDT file inside /tmp folder of Websphere container, when I test the connection I get the error:
A connection could not be made to IBM MQ for the following reason: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2278' ('MQRC_CLIENT_CONN_ERROR').*
I am able to connect from MQ Explorer using the same CCDT file.
CCDT JSON sample used:
{
"channel":
[
{
"connectionManagement":
{
"sharingConversations": 10,
"defaultReconnect": "no",
"heartbeatInterval": 10,
"keepAliveInterval": -1
},
"general":
{
"description": "Client Channel Definition",
"maximumMessageLength": 104857600
},
"name": "CHANNEL1",
"clientConnection":
{
"connection":
[
{
"host": "IP",
"port": port
}
],
"queueManager": "QMNAME"
},
"type": "clientConnection"
}
]
}
