WebSphere MQ错误MQRC_NOT_AUTHORIZED 2035即使使用CHLAUTH(DISABLED)

我试图将Windows客户端应用程序连接到testing环境中的远程WebSphere MQpipe理器。

客户

  • Windows 7 SP1 x64
  • WebSphere MQ 7.5客户端

服务器(VM)

  • Windows 2008 R2
  • WebSphere MQ 7.5服务器

两台机器都在同一个域中。

队列pipe理器QM1在WebSphere MQ Explorer中创build(提升为pipe理员)。

出于testing目的,我对authentication不感兴趣,所以我已经禁用MQauthentication与ALTER QMGR CHLAUTH(DISABLED)。

C:\Program Files (x86)\IBM\WebSphere MQ\bin64>runmqsc QM1 5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED. Starting MQSC for queue manager QM1. display qmgr chlauth 1 : display qmgr chlauth AMQ8408: Display Queue Manager details. QMNAME(QM1) CHLAUTH(DISABLED) 

但是,尽pipe禁用身份validation,我仍然得到2035错误。

QM的AMQERR01.log显示:

 03/06/2015 11:35:41 - Process(3520.657) User(MUSR_MQADMIN) Program(amqrmppa.exe) Host(MYSERVER) Installation(Installation1) VRMF(7.5.0.1) QMgr(QM1) AMQ9557: Queue Manager User ID initialization failed. EXPLANATION: The call to initialize the User ID failed with CompCode 2 and Reason 2035. ACTION: Correct the error and try again. 

我正在运行客户端应用程序作为我的域用户(提升到pipe理员)。 值得注意的是,这个客户端代码已经在生产环境中工作了很多年了,现在仍然如此。 它可以在configuration和不configurationMQ通道authentication的环境中工作,所以我确定这个问题是我的客户机或服务器机器特有的环境问题。

有没有其他的事情可能导致2035 MQauthentication错误?

检查服务器端计算机上是否已知客户端用户标识。 它从客户端流向队列管理器,如果不用别的方法覆盖它,比如CHLAUTH。