Unable to connect to Webspere MQ after upgrading to GW 11.1
search cancel

Unable to connect to Webspere MQ after upgrading to GW 11.1

book

Article ID: 367783

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

After upgrading the connection to IBM Websphere MQ 9.x does not work anymore.

The error in the logs looks like : 

net.ssl.HandshakeCompletedEvent.getPeerCertificateChain(Unknown Source)\n\tat com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection.handshakeCompleted(RemoteTCPConnection.java:2152)\n\tat java.base/sun.security.ssl.TransportContext$NotifyHandshake$1.run(Unknown Source)\n\tat java.base/sun.security.ssl.TransportContext$NotifyHandshake$1.run(Unknown Source)\n\tat java.base/java.security.AccessController.doPrivileged(Unknown Source)\n\tat java.base/sun.security.ssl.TransportContext$NotifyHandshake.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n","package":"com.l7tech.util.UncaughtExceptionLogger","level":"SEVERE","log":{"message":"Uncaught exception in thread HandshakeCompletedNotify-Thread [Id:879]."},"time":"2024-05-13T13:34:01.064+0000"}
    Line 3364: {"exception":"java.lang.UnsupportedOperationException: This method is deprecated and marked for removal. Use the getPeerCertificates() method instead.\n\tat java.base/javax.net.ssl.SSLSession.getPeerCertificateChain(Unknown Source)\n\tat java.base/javax.net.ssl.HandshakeCompletedEvent.getPeerCertificateChain(Unknown Source)\n\tat com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection.handshakeCompleted(RemoteTCPConnection.java:2152)\n\tat

Environment

gateway 11.1

Resolution

The problem is related to the IBM jar files installed on the gateway for WebSphere MQ support 

Install the JMS Interface

The current version does not support JAVA 17 which is included with gateway 11.1 /

See the following topic on the IBM website about java 17 support

Java 17 support for IBM MQ Clients