You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Richard Mixon (qwest)" <rn...@qwest.net> on 2005/05/16 05:57:03 UTC

How to do "Downtime" with a Apache/Tomcat webapp

I'm curious how folks handle letting users know that their webapp is
down when doing maintenance.

We've got a pretty standard setup. Our informational/static site is
served by Apache 2.0.x. We use mod_jk to link to a page in our
webapplications, triggering CMA for authentication and login. We run
Tomcat 5.5.x. Although we actually have Tomcat clustered, there are
still times when we need to make the application unavailable. (i.e.
doing database schema changes, etc.).

I would like for a page to be displayed that says the application is
temporarily not available.

So, what's the best way to do this?

One way I can think of is to modify the JkMount directives so that may
context name was not mapped to Tomcat, but instead to a static page -
the just do a restart. Trouble is some of our users have bookmarks into
various pages/actions in the application - we would somehow have to mapp
all pages that began with the context name to this single page. This
sounds a bit messy.

Is there a more straightforward way of doing this?

Thank you - Richard
 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org