我有一個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