KB Article #193640
IBM MQ "Channel negotiation failed"
Problem
Sending a message to an IBM MQ JMS queue and the following error is seen in the te.log:
2026-04-16 16:00:39,553 - ERROR [Worker244-10] (ProducerTask) - Error producing message ci1776368738257.55326@ito094537_te2, ExchangePointId: 2229862006, URL: jms:queue:B2BiQUEUE, Name: AD_MQ_J692A
com.cyclonecommerce.tradingengine.transport.UnableToConnectException: JMS client unable to connect to JMS queue: com.cyclonecommerce.tradingengine.transport.jms.DefaultQueueUtil. JMSWMQ0018: Failed to connect to queue manager 'MQT7' with connection mode 'Client' and host name ‘my.domain.com(1414)'.
…
Caused by: com.ibm.msg.client.jms.DetailedIllegalStateException: JMSWMQ0018: Failed to connect to queue manager 'MQT7' with connection mode 'Client' and host name ‘my.domain.com(1414)'.
…
Caused by: com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2059' ('MQRC_Q_MGR_NOT_AVAILABLE').
…
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9204: Connection to host ‘my.domain.com(1414)' rejected. [1=com.ibm.mq.jmqi.JmqiException[CC=2;RC=2059;AMQ9503: Channel negotiation failed. [3=B2BiQUEUE]],3=my.domain.com(1414),4=,5=RemoteConnection.analyseErrorSegment]
…
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9503: Channel negotiation failed. [3=B2BiQUEUE]
Resolution
"Channel negotiation failed" can be caused by any of the following reasons:
- Incompatible SSL/TLS settings between client and server. This includes Client Authentication certificates on the B2Bi side. If Client Authentication is required, the certificate should be properly imported into B2Bi and be 'Operational'
- Incorrect channel configuration parameters (e.g., channel type, hostname).
- Mismatched MQ version between B2Bi and JMS. Verify if there are any extra/duplicate MQ JARS located in the local_te/jars or in the Interchange/corelib.
- Network issues such as firewalls or routing.
- Authorization failures due to insufficient permissions.