WebLogic Server (WLS) 10.3.x - Unable to Connect to IBM MQ from WebLogic JMS Using 2-Way SSL (Doc ID 1275585.1)

Last updated on DECEMBER 08, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 to 10.3.3
Information in this document applies to any platform.

Symptoms

In WebLogic Server (WLS) 10.3 and later releases, there is an issue with two-way SSL between the IBM MQ and WebLogic JMS Foreign Server. SSL configuration has been set up on both sides, however, the connection from WebLogic JMS to IBM MQ was failing with this exception (among others):

Nested exception: com.ibm.mqservices.MQInternalException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
MQJE016: MQ queue manager closed channel immediately during connect
Closure reason = 2009.
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'server01.company.com:T36'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2298)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1700)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:157)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:185)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:112)
at weblogic.ejb.container.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:480)
at weblogic.ejb.container.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1969)
at weblogic.ejb.container.internal.JMSConnectionPoller.connect(JMSConnectionPoller.java:787)
at weblogic.ejb.container.internal.MDConnectionManager.timerExpired(MDConnectionManager.java:172)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Below is exception thrown on IBM MQ side at the time of the issue saying channel is lacking certificate.

12/06/10 12:25:49 - Process(716842.25954) User(mqm) Program(amqrmppa)
Host(server01)
AMQ9637: Channel is lacking a certificate.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms