"Exception in thread "HandshakeCompletedNotify-Thread" java.lang.UnsupportedOperationException: This method is deprecated and marked for removal. Use the getPeerCertificates() method instead." when deploying WMQ

Solution Unverified - Updated -

Issue

  • I see below new error during initialization of wmq rar:
ERROR [stderr] (HandshakeCompletedNotify-Thread) Exception in thread "HandshakeCompletedNotify-Thread" java.lang.UnsupportedOperationException: This method is deprecated and marked for removal. Use the getPeerCertificates() method instead.
ERROR [stderr] (HandshakeCompletedNotify-Thread)        
at java.base/javax.net.ssl.SSLSession.getPeerCertificateChain(SSLSession.java:295)
ERROR [stderr] (HandshakeCompletedNotify-Thread)        
at java.base/javax.net.ssl.HandshakeCompletedEvent.getPeerCertificateChain(HandshakeCompletedEvent.java:173)
ERROR [stderr] (HandshakeCompletedNotify-Thread)        
at deployment.wmq.jmsra.9.2.0.8.rar//com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection.handshakeCompleted(RemoteTCPConnection.java:2591)

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7.4.11
  • WMQ
    • 9.2.0.8
  • OpenJDK
    • 17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content