MQ(Message Queue) 报错,如何解决?
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]
请带我往前走。
最佳答案
我遇到了同样的错误,现在已经解决了!
正如 Magic Wand 在评论中提到的,如果您的 MQ jar 版本较低,即如果您的 MQ jar 版本为 7.0.1.5 或以下,则会出现以下错误
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
添加以下 ibm.mq jar 的较新版本,并确保您拥有下面提到的其他 jar:
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
关于java - WebSphere MQ JMS 连接发生错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24989777/