ibm-mq - 如何将队列管理器配置设置为 'optional'?

标签 ibm-mq

我正在尝试连接到 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/

相关文章:

java - 限制读取的消息队列

ssl - com.ibm.msg.client.jms.DetailedJMSException : JMSWMQ0018: Failed to connect to queue manager 'xxx' with connection mode 'yyy' and host name 'zzz'

go - 如何设置 SA_ONSTACK 标志

xml - 使用 WMQ Transport 和 Mule ESB 进行批量入队

c# - IBM JMS 连接

ibm-mq - 通过 UFT 12.02 进行 MQ 6.0 测试

java - 当 JMSXDeliveryCount 增加时

java - 如何跟踪对 WebSphere MQ 上消息的回复?

java - 从 IBM Websphere MQ 提取消息

Spring JMS和Websphere MQ