0 Replies Latest reply on Oct 25, 2017 9:21 AM by Michele La Porta

    WFLY11 How to specify ears module dependencies order

    Michele La Porta Newbie


      I'm porting from  WFLY8.1  to WFLY11.


      I have 2 ears

      the first called back-end.ear contains a ejb that should be invoked by the second ear called msc-service.ear ( contains an MSC service).
      If I deploy back-end.ear and after msc-service.ear ejb lookup is ok.The problem arises when I restart container. It seems the the jboss-all.xml included in msc-service.ear is not readed and both ear are deployed in parallel. Then the msc-service.ear ejb lookup will fails because ejb are not already bounded.The error is the following:Caused by: javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "back-end/back-end-ejb/BusinessFacade", view is interface commons.IBusinessFacade, affinity is None
      the jboss-all.xml:

      <jboss umlns="urn:jboss:1.0">

          <jboss-deployment-dependencies xmlns="urn:jboss:deployment-dependencies:1.0">

              <dependency name="back-end.ear" />




      Is the support for modules dependencies (was jboss-all.xml on 8.1) has been deprecated or replace ? How to specify ears module dependencies order ?