My Oracle Support Banner

Connection Test To MQ Series From OIC Fails With Error "java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory" (Doc ID 2744482.1)

Last updated on JANUARY 18, 2021

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Symptoms

On : NA version, Jms Adapter (MQ)

While running test connection to MQ Service it fails with error.

ERROR
-----------------------

CASDK-0005: A connector specific exception was raised by the application.; java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory

java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQConnectionFactory
       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
       at java.util.concurrent.FutureTask.get(FutureTask.java:206)
       at oracle.cloud.cpi.agent.transport.AQConsumer$ProcessorTask.run(AQConsumer.java:337)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create JMS adapter to connect to MQ and note it fails with reported error.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.