IBM MQueue: setdirectAuth() operation is invalid error

穿精又带淫゛_ 提交于 2019-12-11 03:30:59

问题


I am receiving the following error when I try to access IBM Mqueue from Tomcat.

com.ibm.msg.client.jms.DetailedJMSException: JMSMQ1112: The operation for a domain specific object was not valid. The operation 'setDirectAuth()' is not valid for type 'com.ibm.mq.jms.MQQueueConnectionFactory'.

What could be the possible reasons for this? My code is very long and I cannot post it here.


回答1:


What could be the possible reasons for this?

Perhaps because setDirectAuth() was called. It is used to connect to a broker's Real-Time Transport, not a queue.



来源:https://stackoverflow.com/questions/32019838/ibm-mqueue-setdirectauth-operation-is-invalid-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!