tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Possible to send 503 status over JK?
Date Tue, 25 Jul 2006 16:00:58 GMT
If you dont mind handling this programmatically..check out this Filter for 503 errors
http://java.sun.com/developer/JDCTechTips/2001/tt0626.html
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Rick G" <tomcatdev@vidyah.com>
To: "'Tomcat Users List'" <users@tomcat.apache.org>
Sent: Tuesday, July 25, 2006 11:21 AM
Subject: Possible to send 503 status over JK?


> Hi All,
>  I saw a similar question asked a while back about using a custom 503
> errorpage, but never saw an answer.  I'm looking to, if a page is requested
> for a webapp that has been stopped, instead of returning the canned Tomcat
> 503 Error page, to have it return a 503 status code instead so that you can
> have Apache handle it and show a custom (pretty) error page.  
> 
>  It seems like on a 503, Tomcat generates its own 503 page and returns
> status 200 so Apache doesn't know it needs to do something.  Some one please
> correct me if I'm wrong and/or there is an easy solution to this.
> Otherwise, anyone familiar or have a link with the standard processing
> pipeline in tomcat 5.5.x and know the order of valve/filter execution that
> can point me in the right direction?
> 
> Thanks for any help,
> Rick G
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message