Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19510

[GSS](7.3.z) WFLY-13152 - WFLYEJB0094: EJB 3.1 FR 5.4.2 MessageDrivenBean does not implement 1 interface nor specifies message listener interface

    Details

    • Type: Bug
    • Status: Ready for QA (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.2.7.CR2
    • Fix Version/s: 7.3.2.CR1, 7.3.2.GA
    • Component/s: EJB
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide
      1. Unzip both projects.
      2. Go to LIB_HOME and apply this maven command to install the lib in you local repository --> mvn clean install
      3. Go to EAR_HOME and apply this maven command to package the application --> mvn clean package
      4. Deploy the application and test.
      Show
      Unzip both projects. Go to LIB_HOME and apply this maven command to install the lib in you local repository --> mvn clean install Go to EAR_HOME and apply this maven command to package the application --> mvn clean package Deploy the application and test.
    • Workaround Description:
      Hide

      As an workaround the subclass can Implements MessageListener.

      public class ReceiverMdb extends AbstractMdb implements MessageListener{
      ...
      }
      
      Show
      As an workaround the subclass can Implements MessageListener. public class ReceiverMdb extends AbstractMdb implements MessageListener{ ... }
    • QE Test Coverage:
      +

      Description

      The MDB does not works when it extends a superclass that comes from an external JAR and this super class implements the MessageListener. It generates this exception:

      WFLYEJB0094: EJB 3.1 FR 5.4.2 MessageDrivenBean com.exemple.MyMDB does not implement 1 interface nor specifies message listener interface
      

      These are what I have noted:

      • It only happens in a EAR project. In a WAR project it works fine.
      • It only happens when the abstract class come from an external JAR
      • If the sub class implements directly the MessageListener or if the messageListenerInterface is defined in the annotation it works fine.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  soul2zimate Chao Wang
                  Reporter:
                  soul2zimate Chao Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: