IBM MQueue:setdirectAuth()操作无效错误 [英] IBM MQueue: setdirectAuth() operation is invalid error

查看:74
本文介绍了IBM MQueue:setdirectAuth()操作无效错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从Tomcat访问IBM Mqueue时,出现以下错误.

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

com.ibm.msg.client.jms.DetailedJMSException:JMSMQ1112:操作 对于特定于域的对象无效.手术 'setDirectAuth()'对于类型无效 'com.ibm.mq.jms.MQQueueConnectionFactory'.

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.

推荐答案

这可能是什么原因?

What could be the possible reasons for this?

可能是因为调用了setDirectAuth().它用于连接到代理的实时传输,而不是队列.

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

这篇关于IBM MQueue:setdirectAuth()操作无效错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆