Just wondering if anyone has solved this, I have been having the same issue. I basically just need Tomcat to send the 503 message through the JK connector so Apache can handle it instead of Tomcat returning its own 503 message. The intended goal is to have apache display a static "maintenance" page if the web-app is stopped, instead of tomcat returning its own generated 503 response.
Thanks for any info, -Rick -----Original Message----- From: Yue Mu [mailto:[EMAIL PROTECTED] Posted At: Saturday, February 04, 2006 11:59 PM Posted To: Tomcat Dev Conversation: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 Subject: RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 Thanks, Chuck. In my case, the default servlet/container DID send the HTTP 503 error back, displaying the error with the Tomcat default 503 error page, instead of the custom error page. I also did a small experiment by removing the web application all together. In this case, the container returns the custom 404 error page which is correct since the web app is permanently unavailable. So I think Tomcat does the right thing for the most part, with the exception that it fails to pick up the custom error page, unless I missed something with configuration. Thanks, ym "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > From: Yue Mu [mailto:[EMAIL PROTECTED] > Subject: RE: Custom HTTP 503 Error Page Not Working - Tomcat 5.5.15 > > If the sendError method is called on the response, I think the above clause lets the container off the hook, since the app code could not have used the sendError method (since the app was disabled). It would seem a bit risky for the container to be looking at any configuration data or other resources of a disabled app, since that information may well be in a state of flux. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]