1 Reply Latest reply on Jan 13, 2015 11:52 AM by ctomc

    Configure *.war deployment order in JBoss AS 7.1.1

    lauradp

      Hi,

      I'd like to know how I can configure JBoss to deploy *.war files (in $JBOSS_HOME/standalone/deployments) in a certain order, at least have App1.war deployes after jbpm-console.war.

       

      Thanks

       

      Laura

        • 1. Re: Configure *.war deployment order in JBoss AS 7.1.1
          ctomc

          You can't.

           

          Deploy process is parallel which means many different deployments will start in parallel.

           

          in 7.2 and later we added support for deployment dependancies, so you can add jboss-all.xml to your deployment's WEB-INF/ or META-INF (in ear)

          and define dependencies on deployments that you need started before said deployment gets started.

           

          in short upgrade to something newer than 7.1.1, i would recommend WildFly 8.2.0.Final given that is our latest stable release.