我尝试从JMS客户端连接到WMQ,但连接失败。我已经添加了证书和JCE扩展。 链接的例外是
[26/04/18 16:52:05.797.1G] 0002 JMSCMQ0001: WebSphere MQ call failed with
compcode '2' ('MQCC_FAILED') reason '2397' ('MQRC_JSSE_ERROR').
[com.ibm.mq.MQException] at:
[26/04/18 16:52:05.797.1G] 0002 com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:203)
[26/04/18 16:52:05.797.1G] 0002 com.ibm.msg.client.wmq.internal.WMQConnection.<init>(WMQConnection.java:413)
[26/04/18 16:52:05.797.1G] 0002 com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:8475)
---
[26/04/18 16:52:05.797.1G] 0002 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[26/04/18 16:52:05.797.1G] 0002 java.lang.Thread.run(Thread.java:748)
[26/04/18 16:52:05.797.1G] 0002 Object ClassLoader = org.springframework.boot.loader.LaunchedURLClassLoader@77459877
[26/04/18 16:52:05.797.1G] 0002 CurrentThread ClassLoader = org.springframework.boot.loader.LaunchedURLClassLoader@77459877
[26/04/18 16:52:05.797.1G] 0002 Cause:
[26/04/18 16:52:05.797.1G] 0002 CC=2;RC=2397;AMQ9204: Connection to host 'abc.com(1419)' rejected. [1=com.ibm.mq.jmqi.JmqiException[CC=2;RC=2397;AMQ9771: SSL handshake failed. [1=java.net.SocketException[Connection reset],3=abc.com/111.111.111.111:1419 (abc.com),4=SSLSocket.startHandshake,5=default]],3=abc.com(1419),5=RemoteTCPConnection.protocolConnect] [com.ibm.mq.jmqi.JmqiException] at:
[26/04/18 16:52:05.797.1G] 0002 com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:2282)
[26/04/18 16:52:05.797.1G] 0002 com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1294)
---
[26/04/18 16:52:05.797.1G] 0002 com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.jmqiConnect(InterceptedJmqiImpl.java:376)
[26/04/18 16:52:05.797.1G] 0002 CC=2;RC=2397;AMQ9771: SSL handshake failed. [1=java.net.SocketException[Connection reset],3=abc.com/111.111.111.111:1419 (abc.com),4=SSLSocket.startHandshake,5=default] [com.ibm.mq.jmqi.JmqiException] at:
[26/04/18 16:52:05.797.1G] 0002 com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection.protocolConnect(RemoteTCPConnection.java:1325)
[26/04/18 16:52:05.797.1G] 0002 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[26/04/18 16:52:05.797.1G] 0002 java.lang.Thread.run(Thread.java:748)
----
[26/04/18 16:52:05.797.1G] 0002 Object ClassLoader = org.springframework.boot.loader.LaunchedURLClassLoader@77459877
[26/04/18 16:52:05.797.1G] 0002 CurrentThread ClassLoader = org.springframework.boot.loader.LaunchedURLClassLoader@77459877
[26/04/18 16:52:05.797.1G] 0002 Cause:
[26/04/18 16:52:05.797.1G] 0002 Connection reset [java.net.SocketException] at: