-----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 senario
>> 
>> -----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
>>> saying as much, for any and all requests.
>>> 
>>> Tomcat 7.0.42
>> 
>> 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?
>> 
> 
> This kind of requirement is where fronting with HTTPD comes in
> handy. Of course, if you're restarting HTTPD, you still won't get
> an error message.

Of course, I'm aware of the usefulness of a fronting web server. I was
asking a thought-provoking question of the OP, who doesn't seem to
have come back for an answer ;)

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTIhI5AAoJEBzwKT+lPKRYy9kP/0zRlzSZXys4XRbSIi6llUTV
jNUEPzbcXsK1fiujWHdOQ6CpLMw8NEqq0487XMX88lUwO4h2i1kwhYmUkh45eSN4
hpt1p4qDkHHOlVa5IEI7KiL6ZwlAmvjPUNb9R15ngaIkQBNoHuPcr9SWNj4WaOQL
svyKZ8aaqCBGdW2IahgsI9BaOV8+Dek39FaZw9CmjGGy4LVwfnBghZO9supIcZyh
tYxbzYwlyl9cODJ59sQEKCM/JPhZuWglnR4qK7UepPaRORSz90wxS88cBUl0s+IF
iAytqhhRXrv5jQCzuYV7p7Y30Z6Ill2KYeMEgy5YHZRggBke6nRAS7l2jUdGPFMq
XvIfSsh0lIH52zE/gEOGIq7Ymegj4SRPiM1cFeLPPHkbUk36lNDlbElE2hjLvJTJ
g+x5BnpeXrfN39/UaqlXxja7DTAR5m5OQK1EISg9BJPL/qQS3Qv8gpwD82ydZ0Lh
tXIcsJaSskpX3FJMqiBFZJrRbyPSs0RR0HpRe0xtCGZFLY/RkhGeDYsOdD+Jln4m
ukV7mhPyMFjws5ELFCr2svU1dLXHz9bUcBQPV+eRxTwSbFN2RK+OGAicnXWsKoRx
xbO6U/5pmACrk7U0M1ff95wI+RjDfTwfBCOLVvEY+yAYzjeucLQzVbHkFP5BEBCN
aPSsDt6WqL7ENTpZD2Ii
=doXU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to