具有Java 7和SSL的MQ7无法正常工作它已在6个月前正常工作

问题描述

我们为客户创建了一个质量管理一个频道许多队列。大约有5位客户连接到此QM进行交易。每5个客户端连接到他们的相应的队列。在此QM中创建了一个用于 SSL连接的jks文件。每5个客户端通过其javaClient中的 jks文件+ SSL_RSA_WITH_RC4_128_SHA 进行连接。还使用 SSLCIPH(RC4_SHA_US)配置了质量管理。

现在,突然之间,没有任何javaClient更改,1个客户端无法连接到已配置的QM。其他所有人都可以连接到同一QM,而不会出现任何问题。

AMQERR01.LOG未记录任何特定的异常或错误

在应用程序中记录其常见的MQ异常 错误 com.ibm.mq.MQException:MQJE001:完成代码“ 2”,原因为“ 2397”

2397-密码规范套件不匹配-有可能吗?

我们启用了跟踪(strmqtrc -m TEST.QM -t detail -t all),并在路径(C:\ Program Files(x86)\ IBM \ Websphere MQ \ trace)中看到了跟踪日志,但是无法获取任何详细信息为什么无法进行SSL连接?

我们还进行了另一项练习,例如为问题客户端创建新的质量管理,并在没有SSL及其工作的情况下进行了测试。当我们在新的QM和javaClient中启用SSL时,相同的2397开始记录。

有人可以指导我在MQ中进行更好的日志记录和跟踪吗,可以看到为什么抛出2397? 有人可以指导我使用-D [-Djavax.net.debug = all]在Java中进行更好的日志记录和跟踪,它可以看到为什么抛出2397吗?

MQ版本-> 7
-> Windows

中的MQ服务器

来自跟踪日志

returning TEST.QM
Freeing cbmindex:0 pointer:24DDB540 length:2080
-----}  TreeNode.getMQQmgrExtObject (rc=OK)
cbmindex:10
-------------}  xcsFreeMemFn (rc=OK)
------------}  amqjxcoa.wmqGetAttrs (rc=OK)
-----{  UiQueueManager.testQmgrAttribute
-------------{  Message.getMessage
testing object 'TEST.QM'
An internal method detected an unexpected system return code. The method {0} returned {1}. (AMQ4580)
checking attribute 'QmgrCmdLevelGreaterThan'
-------------}  Message.getMessage (rc=OK)
for value '510'
-----------}! NativeCalls.getAttrs (rc=UnkNown(C35E))
-----}  UiQueueManager.testQmgrAttribute (rc=OK)
Message = An internal method detected an unexpected system return code. The method wmq_get_attrs returned "retval.rc2 = 268460388". (AMQ4580),msgiD = AMQ4580,rc = 50014,reason = 268460388,severity = 30
result = true
---}  TreeNode.testAttribute (rc=OK)
---{  TreeNode.testAttribute
-----{  QueueManagerTreeNode.toString
-----}  QueueManagerTreeNode.toString (rc=OK)
testing object 'TEST.QM'
checking attribute 'OamTreeNode'
-----------{  NativeCalls.getAttrs
------------{  amqjxcoa.wmqGetAttrs
qmgr:2A7B32C8,stanza:2A7B32C4,version:1
for value 'true'
QMgrName('TEST.QM')
-----{  TreeNode.getMQQmgrExtObject
StanzaName('QMErrorLog')


testing object 'TEST.QM'
Full QM.INI filename: SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\QueueManager\TEST!QM,Multi-Instance: FALSE
--------------}  xcsGetiniFilename (rc=OK)
--------------{  xcsGetiniAttrs
---------------{  xcsbrowseIniCallback
FileType = (1)
----------------{  xcsbrowseRegistryCallback
xcsbrowseRegistryCallback
-----------------{  xusAddStanzaLineList
------------------{  xcsGetMemFn
checking attribute 'PluginEnabled'
component:24 function:15 length:2080 options:0 cbmindex:0 *pointer:24DDB540
------------------}  xcsGetMemFn (rc=OK)
for value 'com.ibm.mq.explorer.oam'
RetCode (OK)
-----------------}  xusAddStanzaLineList (rc=OK)
-----------------{  xusAddStanzaLineList
------------------{  xcsGetMemFn
-----{  UiPlugin.isPluginEnabled
component:24 function:15 length:2080 options:0 cbmindex:1 *pointer:24DDDFE8
------------------}  xcsGetMemFn (rc=OK)
RetCode (OK)
-----------------}  xusAddStanzaLineList (rc=OK)
testing plugin_id: com.ibm.mq.explorer.oam
-----------------{  xurGetSpecificRegStanza
-------{  PluginRegistrationManager.isPluginEnabled
Couldn't open key (QMErrorLog) result 2: The system cannot find the file specified.

MQ版本7.0.1.9

jdk1.8.0_181-i586
com.ibm.mq * jar版本
规范-version:6.0.2.1
实施版本:6.0.2.1 -j600-201-070305

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)