1 Reply Latest reply on Nov 6, 2012 8:04 PM by sfcoy

    Deployment Order

    akash_bansal

      Please help me. 

      I have an EAR file which has multiple EJB Jar and War files and few  SAR files. But when deploying this EAR file, JBoss 7.1 is not maintaining any deployment order. I mean it is deploying EAR or WAR first then SAR file. My requirement is first SAR file is deployed and its start() function must be called so that it could initialize the required properties. After this all EJBs and WAR file should be deployed.

        • 1. Re: Deployment Order
          sfcoy

          Have you tried adding:

           

          {code:xml}<initialize-in-order>true</initialize-in-order>{code}

           

          to your application.xml file?

           

          This means that your module declarations should be in the desired initialisation order.