Hi,

Likely someone has a better idea...

You could create a general error page that redirect (transparently) to
a page of the webapp when available, if not, display another
If this is the default page for all webapps, it should be solved.
You will probably need to create a valve of some sort.
Don't ask me for details I honestly don't know.

Hopefully someone else can be more helpful, it's just a suggestion

HTH

Regards,

Serge Fonville

On Thu, Aug 20, 2009 at 3:25 PM, llg<l...@portaildulibre.fr> wrote:
> Hi,
>
>  I have a webapp that needs to be down if we are doing some maintenance. I
> use the manager to make the application unavailable but in this case the 404
> customized error-page is not displayed.
>
> I modified the default web.xml (in conf/) to add the error-page 404,  but it
> doesn't seems to be resolved when the context is stopped.
>
> If I type an URL that doesn't exists, that doesn't map to any context, I get
> the right error page. But if it match a context path of a webapp that is
> stopped, I have the Tomcat default error page. Is there a way to fix this?
>
> Thanks
>
> Tomcat 6.0.20
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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

Reply via email to