簡體   English   中英

WebSphere MQ JMS連接發生錯誤

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

使用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]

請帶我前進

在weblogic中運行的MQ客戶端與MQ隊列管理器通道進程之間的TCP連接意外中斷(這就是返回代碼2009的含義)。 這可能是一些問題,例如隊列管理器被殺死,通道進程因某種原因退出,防火牆終止連接等。查看MQ隊列管理器錯誤日志中的通道進程問題。同時。 記下錯誤消息發生的頻率,即weblogic服務器啟動2小時后的第一個錯誤。

您可以通過網絡跟蹤來查看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 V7.0.1.6或更高版本中修復,如下所述: http ://www-01.ibm.com/support/docview.wss?uid = swg1IV00348

添加以下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