我无法从 WebSphere Application Server 与 WebSphere MQ 上的队列管理器进行远程连接。无论如何,它从安装在同一台计算机上的 WAS 连接到队列管理器。我使用的是 WebSphere MQ 7.5 版和 WebSphere Application Server 7.0 版。
尝试将 WAS 远程连接到队列管理器时,记录了以下错误消息。
来自 WebSphere MQ 的错误消息:
1/30/2013 21:12:09 - Process(3624.6) User(MUSR_MQADMIN) Program(amqrmppa.exe) Host(KHILT-269) Installation(Installation1) VRMF(7.5.0.0) QMgr(QM.TEST) AMQ9504: A protocol error was detected for channel 'TEST_CHANNEL'. EXPLANATION: During communications with the remote queue manager, the channel program detected a protocol error. The failure type was 11 with associated data of 0. ACTION: Contact the systems administrator who should examine the error logs to determine the cause of the failure.
WebSphere Application Server 上的错误消息:
A connection could not be made to WebSphere MQ for the following reason: CC=2;RC=2009
从日志中可以看出,我已将队列管理器创建为 QM.TEST,将 channel 创建为 TEST_CHANNEL。为队列管理器定义的监听器端口为 1417,协议(protocol)为 TCP。
我做了很多谷歌但没有找到任何合适的解决方案。我感谢这方面的任何帮助。
感谢 ADV,KAmeer
最佳答案
我有一个类似的问题,我有 WAS 7 和 WMQ 7.5。我能够连接到现有的 WMQ 7.0 QM,但无法连接到新的 WMQ 7.5 QM。显然,在初始版本 7.0.0.0 之后,与 WAS 7 捆绑在一起的 WMQ 组件发生了变化。更新资源适配器后,我能够成功连接到两个队列管理器。
关于ibm-mq - AMQ9504 : A protocol error was detected for channel,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14609511/