Hi,
If you use apache and mod_jk, an issue could be :
when you stop your Context, you change your JkMount towards a custom Tomcat
Context that display your desired error-page.
If you use a Tomcat standalone, I don't kown how to ... :-(
Regards.
On Wed, 6 Apr 2005 13:08:30 -0400
Pascal Gauthier
-Original Message-
From: Pascal Gauthier
we have a tomcat webapp that needs to be down if we are
doing a maintenance to the database. The manager seems to
be the perfect solution to make the application unavailable
but we found out that the 404
assuming you have tomcat4 and you integrated with apache correctly and
apache send the request to tomcat because it matched the context path that
you specified, you can edit your webapp's web.xml and add the following.
error-page
error-code404/error-code