我正在尝试连接到 WebSphere MQ。但是当我尝试连接到日志时,我看到了消息:
AMQ5540: The WebSphere MQ Client for Java application did not specify the user
ID and password
Explanation:
The queue administrator is configured to request a user ID and password,
but these data not specified.
Law:
Make sure that the application contains the correct user ID and password,
or change the queue manager configuration to OPTIONAL to allow
Connect to applications that do not specify a user ID and password.
如何配置可选的队列管理器配置?
最佳答案
IBM MQ 技术说明“AMQ5540, AMQ5541 and AMQ5542, application did not supply a user ID and password, 2035 MQRC_NOT_AUTHORIZED”描述了如何解决这个问题。
我建议您查看如何提供有效的用户名和密码,而不是通过将其设置为 OPTIONAL
来禁用此检查,但是上面的技术说明显示了如何从各种类型的应用程序以及如何将其设置为 OPTIONAL
。
关于ibm-mq - 如何将队列管理器配置设置为 'optional'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46844343/