Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1568

MDB component doesn't setup the correct dependencies on the RA service

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.1.Final
    • Fix Version/s: 7.1.0.CR1
    • Component/s: EJB
    • Labels:
      None

      Description

      A user has reported that he runs into

      Caused by: java.lang.IllegalStateException: No resource-adapter has been specified for MessageDrivenComponent MqServiceMessageBean
      
          at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:171)
      

      when he uses a custom RA which is deployed as an deployment (instead of via the subsystem configuration file). Looking at the code, we don't correctly setup the dependencies between the MDB component create service and the RA service, which can lead to issues like these.

      See referenced thread for more details.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jaikiran jaikiran pai
                  Reporter:
                  jaikiran jaikiran pai
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: