IBM MQ Resource Adapter cannot find the MessageListener Interface

Solution Verified - Updated -

Issue

  • We followed the instructions and developed a sample MDB. After starting, the server throws the following exception:

    ...
    10:48:12,706 WARN  [org.jboss.modules] (Weld Thread Pool -- 2) Failed to define class com.hello.HelloMDB in Module "deployment.TestServiceEAR.ear" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link com/hello/HelloMDB (Module "deployment.TestService.ear" from Service Module Loader): javax/jms/MessageListener
    ...
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.1.0
  • IBM WebSphere® MQ 7.5

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