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
-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
-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
-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
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
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
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
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
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. ;)