免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5924 | 回复: 3
打印 上一主题 下一主题

连接MQ时候出现错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-21 14:45 |只看该作者 |倒序浏览
在连接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.
这该怎么样解决啊?

论坛徽章:
0
2 [报告]
发表于 2009-12-24 11:07 |只看该作者
2292                              => "Entity unknown to service.",
   2085                              => "Unknown object name.",


"Unknown object name."你的程序都没有找到你的qmanager,你用啥连的,可能是环境变量的问题。

论坛徽章:
0
3 [报告]
发表于 2010-04-06 22:49 |只看该作者
看你远程队列的定义,目标队列的名字是不是写错了

论坛徽章:
0
4 [报告]
发表于 2010-04-24 19:25 |只看该作者
嗯,就是这样的撒。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP