连接MQ时候出现错误
在连接MQ时出现错误,错误代码为2085
不知道是什么意思
查了一下英文文档,由于是第一次接触到MQ的东西,所以看得不是很明白。
2085 X'0825' MQRC_UNKNOWN_OBJECT_NAME
An MQOPEN or MQPUT1 call was issued, but the object identified by the ObjectName and ObjectQMgrName fields in the object descriptor MQOD cannot be found. One of the following applies:
The ObjectQMgrName field is one of the following:
Blank
The name of the local queue manager
The name of a local definition of a remote queue (a queue-manager alias) in which the RemoteQMgrName attribute is the name of the local queue manager
but no object with the specified ObjectName and ObjectType exists on the local queue manager.
The object being opened is a cluster queue that is hosted on a remote queue manager, but the local queue manager does not have a defined route to the remote queue manager.
The object being opened is a queue definition that has QSGDISP(GROUP). Such definitions cannot be used with the MQOPEN and MQPUT1 calls.
Corrective action: Specify a valid object name. Ensure that the name is padded to the right with blanks if necessary. If this is correct, check the queue definitions.
这该怎么样解决啊?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
嗯,就是这样的撒。。
看你远程队列的定义,目标队列的名字是不是写错了
2292 => "Entity unknown to service.",
2085 => "Unknown object name.",
"Unknown object name."你的程序都没有找到你的qmanager,你用啥连的,可能是环境变量的问题。