本文介绍了WebSphere MQ JMS连接发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用MQ(Message Queue)遇到以下错误,如何解决此问题?

Getting below error with MQ(Message Queue), how to resolve this?

Message : com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ1107: A problem with
this connection has occurred. An error has occurred with the WebSphere MQ JMS
connection. Use the linked exception to determine the cause of this error.

由[1]->

Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with
compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN').

由[3]->

Message : com.ibm.mq.jmqi.JmqiException: CC=2;RC=2009;AMQ9208: Error on receive
from host '/xx.xx.xx.xx:xxxx
(emb701t7.dci.bt.com)'. [1=-1,2=ffffffff,3=/xx.xx.xx.xx:xxxx
(emb701t7.dci.bt.com),4=TCP]

请带我前进.

推荐答案

我遇到了相同的错误,现在已解决!

I faced the same error and its resolved now!

如魔杖在评论中所述,如果您的MQ jar版本较低,即MQ jar版本为7.0.1.5或更低,则会出现以下错误

As Magic Wand mentioned in the comment, below error comes up if you have a lower version of MQ jar i.e if your MQ jar version is 7.0.1.5 or below

Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2009;AMQ9208: Error on receive from host

此错误已在IBM MQ版本7.0.1.6或更高版本中得到修复,如下所述: http://www-01.ibm.com/support/docview.wss?uid=swg1IV00348

This bug has been fixed in IBM MQ version 7.0.1.6 or higher as mentioned here: http://www-01.ibm.com/support/docview.wss?uid=swg1IV00348

添加以下ibm.mq罐子的较新版本,并确保您也具有下面提到的其他罐子:

Add the newer version of below ibm.mq jars and make sure you have the additional jars too mentioned below:

com.ibm.mq.commonservices.jar
com.ibm.mq.jar
com.ibm.mq.jmqi.jar
com.ibm.mqbind.jar
com.ibm.mqjms.jar
fscontext.jar
jms-1.1-20020430.jar
providerutil.jar

这篇关于WebSphere MQ JMS连接发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 12:28