java.lang.NoClassDefFoundError: org/json/JSONObject when setting up Fuse 7.10 (on Karaf) with IBM MQ 9.2 client

Solution In Progress - Updated -

Issue

When setting up Fuse (on Karaf) to use the IBM MQ client runtime library, as documented in the transaction guide, the installation fails with the following exception:

Found ConnectionFactoryFactory. Creating ConnectionFactory jms/mq9
08:47:24.094 ERROR [CM Configuration Updater (ManagedServiceFactory Update: factoryPid=[org.ops4j.connectionfactory])] [org.osgi.service.cm.ManagedServiceFactory, id=286, bundle=300/mvn:org.ops4j.pax.jms/pax-jms-config/1.1.0]: Unexpected problem updating configuration org.ops4j.connectionfactory.bd380f99-57d4-4b3c-8601-03ca014ff4d3
java.lang.NoClassDefFoundError: org/json/JSONObject

Environment

  • Red Hat Fuse
    • 7.10
  • IBM MQ Classes for Java
    • 9.2

Probably other Fuse versions are also affected.

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