Re: Possible to send 503 status over JK?

2006-07-26 Thread Len Popp
[mailto:[EMAIL PROTECTED] Posted At: Tuesday, July 25, 2006 6:26 PM Posted To: Tomcat Dev Conversation: Possible to send 503 status over JK? Subject: Re: Possible to send 503 status over JK? The recent messages on this topic have confused me, so I've spent part of my evening running some tests

Re: Possible to send 503 status over JK?

2006-07-26 Thread Martin Gainty
. - Original Message - From: Len Popp [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, July 26, 2006 9:21 AM Subject: Re: Possible to send 503 status over JK? I'm not sure why it works that way. I guess the idea is that if Tomcat has generated an error page, Apache

RE: Possible to send 503 status over JK?

2006-07-26 Thread Rick G
: Possible to send 503 status over JK? I'm not sure why it works that way. I guess the idea is that if Tomcat has generated an error page, Apache shouldn't mess with it. When Tomcat is down the situation is different - the error comes from Apache (mod_jk), not Tomcat, so Apache is reponsible

RE: Possible to send 503 status over JK?

2006-07-26 Thread Propes, Barry L
: Tuesday, July 25, 2006 8:26 PM To: Tomcat Users List Subject: Re: Possible to send 503 status over JK? The recent messages on this topic have confused me, so I've spent part of my evening running some tests. = First, with Tomcat standalone: Tomcat's default error pages can be overridden

Re: Possible to send 503 status over JK?

2006-07-26 Thread Len Popp
and the jar recompiled? I don't find the docs anywhere within my Tomcat version (4.1.3). -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 8:26 PM To: Tomcat Users List Subject: Re: Possible to send 503 status over JK? The recent messages on this topic have

RE: Possible to send 503 status over JK?

2006-07-26 Thread Propes, Barry L
ok, thanks. -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 10:48 AM To: Tomcat Users List Subject: Re: Possible to send 503 status over JK? The default error page is hard-coded in org.apache.catalina.valves.ErrorReportValve.report() -- Len

Possible to send 503 status over JK?

2006-07-25 Thread Rick G
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

Re: Possible to send 503 status over JK?

2006-07-25 Thread Martin Gainty
: Rick G [EMAIL PROTECTED] 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

RE: Possible to send 503 status over JK?

2006-07-25 Thread Rick G
, July 25, 2006 9:01 AM Posted To: Tomcat Dev Conversation: Possible to send 503 status over JK? Subject: Re: Possible to send 503 status over JK? If you dont mind handling this programmatically..check out this Filter for 503 errors http://java.sun.com/developer/JDCTechTips/2001/tt0626.html M

RE: Possible to send 503 status over JK?

2006-07-25 Thread Rick G
a front end web server. -Rick -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Posted At: Tuesday, July 25, 2006 10:30 AM Posted To: Tomcat Dev Conversation: Possible to send 503 status over JK? Subject: Re: Possible to send 503 status over JK? Rick- Have you looked

Re: Possible to send 503 status over JK?

2006-07-25 Thread Martin Gainty
Sent: Tuesday, July 25, 2006 1:54 PM Subject: RE: Possible to send 503 status over JK? Martin, As for proxy servers, no I have not looked into that. But I don't think I would want to add another layer to the mix just to have to parse all requests for the off chance that the webapp is stopped

Re: Possible to send 503 status over JK?

2006-07-25 Thread Hassan Schroeder
On 7/25/06, Rick G [EMAIL PROTECTED] wrote: It seems like on a 503, Tomcat generates its own 503 page and returns status 200 What makes you think this? I just stopped a webapp with the manager, tried to load a page, and got (using LiveHttpHeaders) the Tomcat 503 page with the expected

RE: Possible to send 503 status over JK?

2006-07-25 Thread Rick G
for your input, -Rick -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Posted At: Tuesday, July 25, 2006 3:55 PM Posted To: Tomcat Dev Conversation: Possible to send 503 status over JK? Subject: Re: Possible to send 503 status over JK? On 7/25/06, Rick G [EMAIL PROTECTED

Re: Possible to send 503 status over JK?

2006-07-25 Thread Hassan Schroeder
On 7/25/06, Rick G [EMAIL PROTECTED] wrote: The 500 is caught correctly, but I always end up seeing the tomcat generated error page for a 503. I guess this could be a mod_jk or apache issue if you are saying that tomcat is sending the right status code. Questions: what version of tomcat you

Re: Possible to send 503 status over JK?

2006-07-25 Thread Len Popp
The recent messages on this topic have confused me, so I've spent part of my evening running some tests. = First, with Tomcat standalone: Tomcat's default error pages can be overridden by an error-page declaration in the webapp's web.xml. If there is no error-page declared, Tomcat uses

RE: Possible to send 503 status over JK?

2006-07-25 Thread Rick G
At: Tuesday, July 25, 2006 6:26 PM Posted To: Tomcat Dev Conversation: Possible to send 503 status over JK? Subject: Re: Possible to send 503 status over JK? The recent messages on this topic have confused me, so I've spent part of my evening running some tests. = First, with Tomcat standalone