带有 ListenerPort 的 V5 消息传递提供程序
我使用 WebSphere Application Server 6.1 中的 V5 消息传递提供程序配置了一个队列和一个 QueueConnectionFactory。
我还为此目的地配置了一个ListenerPort。
当我尝试使用队列连接工厂连接到此队列或侦听此 ListenerPort 的消息侦听器启动时,它会引发异常。
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager
for 'localhost:WAS_Node01_server1'
嵌套的异常是
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
有人可以指出我在配置队列和队列连接工厂时可能出现的问题吗?
I configured a queue and a QueueConnectionFactory using the V5 Messaging provider in WebSphere Application Server 6.1.
I also have a ListenerPort configured for this destination.
It throws an exception when I try to connect to this queue using the queue connection factory or when the Message Listener listening to this ListenerPort starts up.
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager
for 'localhost:WAS_Node01_server1'
and the nested exception is
com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
Can someone please point me to what possibily could have gone wrong in configuring the queue and queue connection factory?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该错误表明正在使用 WebSphere MQ 传输。根据您评论中的澄清,不存在队列管理器,因此预计为 2059。需要配置 WAS 消息传递引擎来提供本机传输或指向队列管理器。
The error indicates that the WebSphere MQ transport is being used. Per the clarification in your comments, no queue manager is present so a 2059 is expected. It will be necessary to configure a WAS messaging Engine to provide the native transport or to point to a queue manager.