Re: Site down for maintenance senario

2014-03-17 Thread John Smith
Deploy a ROOT web application whose 404 page says Down for maintenance. You could even customize this kind of thing to only respond to certain URL-prefixes (like [ROOT]/mywebapp/*). What will you do while Tomcat is restarting, though, if you have to restart? Restarts take about a second or

Re: Site down for maintenance senario

2014-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 3/12/14, 2:28 PM, John Smith wrote: Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally taken 'offline for maintenance? The user would receive the same single notification page

RE: Site down for maintenance senario

2014-03-13 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, March 13, 2014 10:40 AM To: Tomcat Users List Subject: Re: Site down for maintenance senario -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 3/12/14, 2:28 PM, John

Re: Site down for maintenance senario

2014-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff, On 3/13/14, 3:08 PM, Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, March 13, 2014 10:40 AM To: Tomcat Users List Subject: Re: Site down for maintenance

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally taken 'offline for maintenance? The user would receive the same single notification page saying as much, for

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally taken 'offline for maintenance? The

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Wed, Mar 12, 2014 at 11:58 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add something in Tomcat, in

Re: Site down for maintenance senario

2014-03-12 Thread André Warnier
Leo Donahue wrote: On Wed, Mar 12, 2014 at 11:58 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:51 AM, Leo Donahue donahu...@gmail.com wrote: On Wed, Mar 12, 2014 at 11:28 AM, John Smith tomcat.ran...@gmail.comwrote: Is there a straightforward way to toggle or add

Re: Site down for maintenance senario

2014-03-12 Thread Leo Donahue
On Mar 12, 2014 2:15 PM, André Warnier a...@ice-sa.com wrote: I was going to suggest to replace the normal myApp.war by one named similarly, but returning a on maintenance page. But the solution above is cleverer. Bonus points. Thanks. I've never had bonus points before. ;)