如何验证远程MQ机器,尝试连接时出错

时间:2017-08-04 14:32:25

标签: ibm-mq

 Access not permitted. You are not authorized to perform this operation. (AMQ4036)
 Severity: 10 (Warning)
 Explanation: The queue manager security mechanism has indicated that the userid associated with this request is not authorized to access the object.

我在两台机器上使用相同版本的MQ,当我尝试连接上述错误时,使用Windows机器进行连接。

2 个答案:

答案 0 :(得分:0)

1,确保您没有使用SYSTEM。*频道。为您的应用程序创建一个频道。

2,添加适当的权限(通过setmqaut)以允许UserId连接到队列管理器并访问队列。

答案 1 :(得分:0)

IBM Support Technote“WMQ 7.1 / 7.5 / 8.0 / 9.0 queue manager RC 2035 MQRC_NOT_AUTHORIZED or AMQ4036 or JMSWMQ2013 when using client connection as an MQ Administrator”在诊断和解决此问题方面做得很好。

如果您需要更具体的帮助,请首先通过编辑并将其添加到您的问题中来提供以下详细信息。将它们添加为注释并没有多大帮助,因为字符数量有限,您无法在注释中对它们进行格式化。

  1. 在客户端和队列管理器上安装的IBM MQ版本
  2. 队列管理器的AMQERR01.LOG中的错误,与您收到的错误同时发生。
  3. 您正在连接的SVRCONN频道名称。
相关问题