tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Anchlia <>
Subject Re: fail_on_status question
Date Fri, 04 Jun 2010 22:53:11 GMT
On Thu, Jun 3, 2010 at 4:30 PM, Mohit Anchlia <> wrote:
> In our present environment we have a WS and APP server. When request
> comes in, WS sends it to APP server using mod_jk and then APP server
> inserts it into JMS queue. So essentially APP server is also dependent
> on JMS server which runs on the same box.
> My question is can I use fail_on_status in to take
> one of the APP servers out of service from mod_jk(WS) by returning
> some Http error code as a response to a request when JMS server is
> down and a request comes in? Since cping and cpong will still return
> success would this mechanism of fail_on_status work?
> Are there any other suggestions?

I would appreciate if somone gave their suggestion on my post above. I
am going to try fail_on_status with -503 kind of setting and see if
request is load balanced to a different server.

I am assuming mod_jk will not be able to put worker in error state if
that worker returned error code specified in fail_on_status because
cping and cpong will continue to see tomcat up and running. Is this
assumption correct?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message