简体   繁体   English

使用MQClient Java和MQExplorer错误将JMS连接到MQ JMSWMQ2013

[英]Connecting JMS to MQ using MQClient java and MQExplorer error JMSWMQ2013

I am using MQexplorer to handle queue manager, and when I connect to MQ using JMS with JNDI lookup, using qcf.createQueueConnection(); 我正在使用MQexplorer来处理队列管理器,当我使用带有JNDI查找的JMS连接到MQ时,请使用qcf.createQueueConnection(); I am getting JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager error. 我收到JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager错误JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager All posts/blogs mention about this error, but they say to remove CHAUTH for queuemanager and so on... How do I work this out using MQExplorer? 所有帖子/博客都提到了此错误,但是他们说要删除CHAU的queuemanager等,...如何使用MQExplorer来解决这个问题? Please help me on this! 请帮助我!

I am using MQ client(with JNDI on LDAP) connection which can connect remote machine(not bindings). 我正在使用MQ客户端(在LDAP上具有JNDI)连接,该连接可以连接远程计算机(而不是绑定)。

Actually disabling CHLAUTH is NOT advised as doing so opens up your queue manager to the world. 实际上不建议禁用CHLAUTH,因为这样做会使您的队列管理器向世界敞开。 It's OK if this is a test queue manager. 这是测试队列管理器就可以了。 Using runmqsc you can disable channel authentication. 使用runmqsc可以禁用通道身份验证。 In runmqsc issue "ALTER QMGR CHLAUTH(DISABLED)" command to disable channel authentication. 在runmqsc中,发出“ ALTER QMGR CHLAUTH(DISABLED)”命令以禁用通道身份验证。

Please read WMQ InfoCenter or Chapter 20 of this redbook or just search for T.Rob's posts in this forum on CHLAUTH. 请阅读WMQ信息中心或本红皮书的第20章,或仅在CHLAUTH上的此论坛中搜索T.Rob的帖子。 Few links here , this one 几个环节在这里 ,这一个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM