2 Replies Latest reply on Sep 6, 2005 8:52 AM by patrickdalla

    Deployment sequence

    patrickdalla

      How do I define deployment sequence in jboss?

      I want to deploy abc.war after xyz.war is deployed.

        • 1. Re: Deployment sequence

          Hello Patrick,

          Go in the JMX console and find out the JMX service name of the context service, for instance : jboss.management.local:J2EEApplication=jboss-portal.sar,J2EEServer=Local,j2eeType=WebModule,name=portal-core.war

          in jboss-web.xml there is a XML tag that allows you to make the war dependant of another service, use the object name of the war file you want this war file depend on like :

          <depend>jboss.management.local:J2EEApplication=jboss-portal.sar,J2EEServer=Local,j2eeType=WebModule,name=portal-core.war</depend>
          


          look also at jboss-web.dtd to know where to place the depend tag.

          • 2. Re: Deployment sequence
            patrickdalla

            thanks