Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15041

MDB not working when the bean class does not implement MessageListener interface

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 25.0.0.Beta1
    • Fix Version/s: 25.0.0.Beta1
    • Component/s: EJB
    • Labels:
      None

      Description

      The following 17 Jakarta EE TCK tests failed starting 2021-07-10:

      com/sun/ts/tests/ejb30/bb/mdb/activationconfig/queue/selectorauto/complement/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/activationconfig/queue/selectorauto/override/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/activationconfig/queue/selectordups/complement/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/activationconfig/queue/selectordups/override/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/activationconfig/topic/selectordupsnondurable/complement/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/activationconfig/topic/selectordupsnondurable/override/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/dest/topic/fullpath/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/dest/topic/jarwar/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/dest/topic/onejar/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/dest/topic/twojars/Client.java#test1
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#getBeanTest
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#getContextDataTest
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#getMethodTest
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#getParametersTest
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#orderTest
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#sameInvocationContextTest
      com/sun/ts/tests/ejb30/bb/mdb/interceptor/listener/descriptor/Client.java#setParametersTest
      

      server.log stack trace:

      2021-07-13 00:59:53,233 ERROR [org.apache.activemq.artemis.ra] (Thread-16 (ActiveMQ-client-global-threads)) AMQ154004: Failed to deliver message: java.lang.IllegalArgumentException: java.lang.ClassCastException@78c78448
      	at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) [:1.8.0_191]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_191]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_191]
      	at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139)
      	at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
      	at com.sun.ts.tests.ejb30.bb.mdb.activationconfig.queue.selectorauto.complement.ActivationConfigBean$$$endpoint3.onMessage(Unknown Source)
      	at org.apache.activemq.artemis.ra.inflow.ActiveMQMessageHandler.onMessage(ActiveMQMessageHandler.java:321) [artemis-ra-2.16.0.jar:2.16.0]
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1030) [artemis-core-client-2.16.0.jar:2.16.0]
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:49) [artemis-core-client-2.16.0.jar:2.16.0]
      	at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1153) [artemis-core-client-2.16.0.jar:2.16.0]
      	at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.16.0.jar:2.16.0]
      	at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.16.0.jar:2.16.0]
      	at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65) [artemis-commons-2.16.0.jar:2.16.0]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_191]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_191]
      	at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.16.0.jar:2.16.0]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cfang Cheng Fang
              Reporter:
              cfang Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: