AnsweredAssumed Answered

Unable to connect to IBM MQ over SSL jks security

Question asked by LokeshSharma on May 15, 2017
Latest reply on May 24, 2017 by norre01

I am trying to connect to IBM MQ native queues from DevTest workstation however getting following error. can someone please help?

 

STACK TRACE
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.itko.lisa.jms.mq.MQUtilities.getTCPMQQueueConnection(MQUtilities.java:99)
at com.itko.lisa.jms.mq.MQJMSQueueEngine.setUpConnectionFactory(MQJMSQueueEngine.java:122)
at com.itko.lisa.jms.JMSQueueEngine.getSession(JMSQueueEngine.java:321)
at com.itko.lisa.jms.JMSQueueEngine.prepare(JMSQueueEngine.java:122)
at com.itko.lisa.jms.JMSNode.openExec(JMSNode.java:1652)
at com.itko.lisa.jms.JMSNode.execute(JMSNode.java:1897)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1280)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1195)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1180)
at com.itko.lisa.web.replay.ReplayEngine.executeUpTo(ReplayEngine.java:246)
at com.itko.lisa.web.replay.ReplayEngine.access$000(ReplayEngine.java:57)
at com.itko.lisa.web.replay.ReplayEngine$1.doCallback(ReplayEngine.java:185)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.ibm.mq.jmqi.CustomCharsetProvider not a subtype
at java.util.ServiceLoader.fail(Unknown Source)
at java.util.ServiceLoader.access$300(Unknown Source)
at java.util.ServiceLoader$LazyIterator.next(Unknown Source)
at java.util.ServiceLoader$1.next(Unknown Source)
at java.nio.charset.Charset$1.getNext(Unknown Source)
at java.nio.charset.Charset$1.hasNext(Unknown Source)
at java.nio.charset.Charset$2.run(Unknown Source)
at java.nio.charset.Charset$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.lookupViaProviders(Unknown Source)
at java.nio.charset.Charset.lookup2(Unknown Source)
at java.nio.charset.Charset.lookup(Unknown Source)
at java.nio.charset.Charset.forName(Unknown Source)
at com.ibm.mq.jmqi.system.JmqiCodepage$JmqiCodepageFactory.initializeCodepage(JmqiCodepage.java:194)
at com.ibm.mq.jmqi.system.JmqiCodepage$JmqiCodepageFactory.getByCcsid(JmqiCodepage.java:169)
at com.ibm.mq.jmqi.system.JmqiCodepage.getJmqiCodepage(JmqiCodepage.java:556)
at com.ibm.mq.jmqi.system.JmqiCodepage.getJmqiCodepage(JmqiCodepage.java:518)
at com.ibm.mq.jmqi.remote.impl.RemoteConnection.<init>(RemoteConnection.java:617)
at com.ibm.mq.jmqi.remote.impl.RemoteTCPConnection.<init>(RemoteTCPConnection.java:193)
at com.ibm.mq.jmqi.remote.impl.RemoteConnectionSpecification.getSessionFromNewConnection(RemoteConnectionSpecification.java:357)
at com.ibm.mq.jmqi.remote.impl.RemoteConnectionSpecification.getSession(RemoteConnectionSpecification.java:305)
at com.ibm.mq.jmqi.remote.impl.RemoteConnectionPool.getSession(RemoteConnectionPool.java:146)
at com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1730)
at com.ibm.mq.jmqi.remote.api.RemoteFAP.jmqiConnect(RemoteFAP.java:1294)
at com.ibm.mq.ese.jmqi.InterceptedJmqiImpl.jmqiConnect(InterceptedJmqiImpl.java:376)
at com.ibm.mq.ese.jmqi.ESEJMQI.jmqiConnect(ESEJMQI.java:560)
at com.ibm.msg.client.wmq.internal.WMQConnection.<init>(WMQConnection.java:345)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(WMQConnectionFactory.java:8475)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:7814)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl._createConnection(JmsConnectionFactoryImpl.java:299)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(JmsConnectionFactoryImpl.java:236)
at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(MQConnectionFactory.java:6024)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:136)
... 19 more
============================================================================


at com.itko.lisa.jms.JMSNode.execute(JMSNode.java:1904)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1280)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1195)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1180)
at com.itko.lisa.web.replay.ReplayEngine.executeUpTo(ReplayEngine.java:246)
at com.itko.lisa.web.replay.ReplayEngine.access$000(ReplayEngine.java:57)
at com.itko.lisa.web.replay.ReplayEngine$1.doCallback(ReplayEngine.java:185)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Unknown Source)

Outcomes