简体   繁体   English

WebSphere MQ JMS连接发生错误

[英]An error has occurred with the WebSphere MQ JMS connection

Getting below error with MQ(Message Queue), how to resolve this? 使用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.

Caused by [1] --> 由[1]引起 - >

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

Caused by [3] --> 由[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]

Please take me forward. 请带我前进

The TCP connection between the MQ client running in weblogic and the MQ Queue Manager channel process is being broken unexpectedly (that is what the return code 2009 means). 在weblogic中运行的MQ客户端与MQ队列管理器通道进程之间的TCP连接意外中断(这就是返回代码2009的含义)。 This could be down to a number of issues such as the queue manager being killed, the channel process exiting for some reason, a firewall killing the connection etc. Have a look on the MQ queue manager error logs for issues with the channel process at the same time. 这可能是一些问题,例如队列管理器被杀死,通道进程因某种原因退出,防火墙终止连接等。查看MQ队列管理器错误日志中的通道进程问题。同时。 Take a note of how often the error message occurs ie is the first error 2 hours after the weblogic server starts. 记下错误消息发生的频率,即weblogic服务器启动2小时后的第一个错误。

You could take a network trace to see how the TCP connection is being closed and by who. 您可以通过网络跟踪来查看TCP连接是如何关闭的以及由谁来关闭。

I faced the same error and its resolved now! 我遇到了同样的错误,现在解决了!

As Magic Wand mentioned in the comment, below error comes up if you have a lower version of MQ jar ie if your MQ jar version is 7.0.1.5 or below 正如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

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 V7.0.1.6或更高版本中修复,如下所述: http ://www-01.ibm.com/support/docview.wss?uid = swg1IV00348

Add the newer version of below ibm.mq jars and make sure you have the additional jars too mentioned below: 添加以下ibm.mq罐子的更新版本,并确保您有下面提到的其他罐子:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM