tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick G" <tomcat...@vidyah.com>
Subject RE: Possible to send 503 status over JK?
Date Tue, 25 Jul 2006 23:38:07 GMT
My reasoning was that Apache doesn't catch the 503, but it does catch a
500.. 

/etc/httpd/conf/httpd.conf
------------------------------------
...
ErrorDocument	500	/notice.html
ErrorDocument	503	/notice.html
...
------------------------------------

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 running?
 What version of apache?
 What connector? (jk/jk2/jk_proxy)

Thanks for your input,

-Rick

-----Original Message-----
From: Hassan Schroeder [mailto:hassan.schroeder@gmail.com] 
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 <tomcatdev@vidyah.com> 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 status 503 header.

So there wouldn't seem to be a problem, eh?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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