4 Replies Latest reply on Feb 29, 2012 12:06 PM by lmono1982

    What method to update wars recommend? [Jboss 5]

    lmono1982

      Hi.

       

      We have a WAR that needs to be updated on multiple nodes (5), we tried using FARM to update this one and send it to the other 4, but we read that it is not recommended in production environments.Therefore we wanted to see if any of you used any other option and what they recommend.

      Thanks for your support.

        • 1. Re: What method to update wars recommend? [Jboss 5]
          wdfink

          That depend on your applcation.

          If you have to update the DB and this is incompatible with the old deployment you have to stop the whole application for update.

          If the application is compatible with the DB you might stop 2 instances replace the WAR, stop the others and start your updated servers (this avoid to much downtime).

          If the application is full compatible (i.e. only change look and feel) you might update each server on the fly.

           

          The war must be copied in the server/..../deploy directory for each server.

          1 of 1 people found this helpful
          • 2. Re: What method to update wars recommend? [Jboss 5]
            lmono1982

            Hello and thanks for your help

             

            My application is full compatible:

            Is there some method that I only upgrade my application on a node and this is replicated?

             


             

            • 3. Re: What method to update wars recommend? [Jboss 5]
              wdfink

              unfortunately not, as you already mentionend the farming is not recommended for production.

               

              I've seen some solution dropping the deployments in a shared directory and a local cron-job copy such new files into the deploy directory.

              But this might have other drawbacks.

               

              I would recommend to use AS7.1 domain mode for that which full support such scenario with 'server-groups'.

              • 4. Re: What method to update wars recommend? [Jboss 5]
                lmono1982
                thank you very much again for your time and help.