【发布时间】:2011-08-26 03:16:01
【问题描述】:
我有一个 WebSphere 6 实例和一个 WebSphere 7 实例。每个实例都有一个 WebSphere MQ 消息传递提供程序、一个队列连接工厂和一个以类似方式配置的队列。所有用户 ID 字段都保留为空,身份验证别名保留为“无”。
在 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 正常工作。
【问题讨论】:
标签: security jms websphere ibm-mq