我有一个WebSphere 6实例和一个WebSphere 7实例。每个实例都有一个WebSphere MQ消息传递提供程序,一个队列连接工厂和一个以类似方式配置的队列。所有用户ID字段留空,并且认证别名保留在“无”。WebSphere 7,配置没有用户标识的JMS Q连接工厂:MQRC_NOT_AUTHORIZED
在WAS6中它工作正常。
在WAS7我得到一个错误:
JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'MYQMNGR' with connection mode 'Client' and host name '10.11.22.33(51001)'.; nested exception is com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'MYQMNGR' with connection mode 'Client' and host name '10.11.22.33(51001)'. Please check if the supplied username and password are correct on the QueueManager you are connecting to; nested exception is com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').
如果没有用户ID提供什么可WAS7连接到MQ相比WAS6的方式有什么不同?
我没有任何可见性或访问该MQ(版本7),它从WAS 6访问时不需要用户ID,所以我需要让WAS7工作相同。
非常明确和有效的答案。非常感谢你! – 2011-05-16 06:50:51
感谢Maxim发布这个灼热的问题,也感谢T.Rob的确切答案 – 2012-08-22 15:16:38