MQJMS2013无效的安全认证 [英] MQJMS2013 invalid security authentication

查看:2031
本文介绍了MQJMS2013无效的安全认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从IBM Websphere Application Server连接到IBM Websphere MQ Server。

I am trying to connect to IBM Websphere MQ Server from IBM Websphere Application Server.

我收到以下错误:

MQJMS2013: invalid security authentication supplied for MQQueueManager

据我所知,这是因为WAS连接时的安全凭证无效MQ Manager。

What I understand is, this is because of invalid security credentials by WAS while connecting to MQ Manager.

我尝试过提供MQ管理员密码的不同组合,例如

I have tried different combination of providing the MQ admin password e.g.


  1. 提供对MQ连接工厂的J2C身份验证。

  2. 为队列提供MQ管理员用户名和密码。

  3. 提供空白用户名。

  4. 以上三种方式的组合。

  1. Provide J2C authentication to MQ Connection Factory.
  2. Provide MQ admin username and password to Queues.
  3. Providing Blank username.
  4. Combination of all three above.

另外,正如一些帖子所述,我尝试了运输键入'绑定'以及'客户端' QueueConnectionFactory

Also, as mentioned in some of the posts, I have tried the Transport Type as 'Binding' as well as 'Client' for QueueConnectionFactory.

请建议。

推荐答案

在申请两天后,终于让它运转了。

Finally got it working, after 2 days of applying combinations.

为了帮助其他人(以及将来也可能),以下是问题:

To help other (and probably myself also in future), following was the issue:

我们正在使用IBM配置IBM Websphere Application Server Websphere MQ服务器。我们创建了队列连接工厂,队列和侦听器端口。
我们反复收到有问题的异常。

We were configuring IBM Websphere Application Server with IBM Websphere MQ server. We created queue connection factory, queues and listener ports right. We were getting the exception in question repeatedly.

它是如何工作的:
启动应用程序服务器时,正在启动的用户服务器应该具有MQ的访问权限。即用户应该是MQM组的一部分。只需添加,在将用户组添加到用户后,请记住重新启动MQ服务器,因为MQ服务器仅在重新启动后刷新权限。

How did it work is: When you start your application server, the user that is starting the server should have access for MQ. i.e. the user should be part of group MQM. Just to add, after adding the group to the user, do remember to restart MQ server because MQ server refreshes the rights after restart only.

希望这会有所帮助。

这篇关于MQJMS2013无效的安全认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆