-
1. Re: What method to update wars recommend? [Jboss 5]
wdfink Feb 28, 2012 2:15 AM (in response to lmono1982)1 of 1 people found this helpfulThat 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.
-
2. Re: What method to update wars recommend? [Jboss 5]
lmono1982 Feb 28, 2012 6:43 PM (in response to wdfink)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 Feb 29, 2012 2:31 AM (in response to lmono1982)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 Feb 29, 2012 12:06 PM (in response to wdfink)thank you very much again for your time and help.