0

我们偶尔会遇到一个错误,导致我们的一个 WCF/Websphere MQ 应用程序出现问题。我们遇到错误:

Websphere MQ 服务器:7.1 Websphere MQ 客户端:7.1 .Net 4.0

----- amqrmrsa.c : 887 ---------------------------------------- ---------------- 2013 年 1 月 23 日 06:13:26 - 进程(2928.79887)用户(svcPrideDaca)程序(amqrmppa.exe)主机(MQTEST)安装(MQServer7101)VRMF (7.1.0.0) QMgr(QM_mqtest)

AMQ9504: A protocol error was detected for channel 'SYSTEM.DEF.SVRCONN'.

EXPLANATION:
During communications with the remote queue manager, the channel program
detected a protocol error. The failure type was 11 with associated data of 252.
ACTION:
Contact the systems administrator who should examine the error logs to
determine the cause of the failure. 

我们在 WCF .Net 应用程序中遇到的错误:

2013-01-23 06:13:25,435 [113] ERROR - [pride-N25Scan].[EnqueueMessage] <54321> (9999) Error enquing message:WCFCH0309E: An error occurred while attempting to open the channel for endpoint 'jms:/queue?destination=Q_Daca_JMS@QM_mqtest&connectionFactory=binding(client)connectQueueManager(QM_mqtest)clientConnection(test.mq.com(1415))clientChannel(SYSTEM.DEF.SVRCONN)&initialContextFactory=com.ibm.mq.jms.Nojndi'
The operation could not be completed.
The endpoint may be down, unavailable, or unreachable, review the linked exception for further details.
    Server stack trace: 
       at IBM.XMS.WCF.ExceptionHelper.ThrowCommsException(OperationType op, Exception innerException, String endpointURI)
       at IBM.XMS.WCF.XmsOutputChannel.OnEndOpen(IAsyncResult result)
       at IBM.XMS.WCF.XmsOutputChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at IMessage.ProcessMqMessage(String msg)
       at N25Scan.EnqueueMessage(String message)

我们无法隔离导致问题的原因。遇到此问题时,我们已尝试对应用程序进行修改以重新建立连接,但仍在尝试找出原因。

当应用程序遇到此错误时,所有连接都开始失败/超时,因此我们必须确保所有连接成功或失败都正确处理 WCF / Websphere MQ 连接。

任何提示/信息将不胜感激。到目前为止在网上找不到任何帮助。

谢谢,

小号

4

0 回答 0