tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: worker redirect problems
Date Mon, 08 Feb 2010 21:13:57 GMT
Am Montag, den 08.02.2010, 13:21 +0100 schrieb Paolo Santarsiero:
> Hi, in my cluster I have many tomcat enable and two tomcat in sleeping, all
> in load balancing. The "sleepers"  start only when one or more active tomcat
> go down, managing thier sessions. In order to do this I use
> worker.tomcatActive.redirect=tomcatSleeper for active tomcat and
> worker.tomcatSleeper.activation=disabled for disable tomcat. All works fine
> when a tomcat go down but doesn't work when I stop a single application from
> manger. Here browser shows me a 404 and the sleeper doesn't go in active
> mode. Which may be the problem?
This is intended by mod_jk, since tomcat is not down. Only your
application is down, not tomcat.

If I recall it correctly, you have to use a recent mod_jk version
(>=1.2.20), use the fail_on_status directive and get tomcat to spit out
a http status code you configured.

See more on
http://tomcat.apache.org/connectors-doc/reference/workers.html at
advanced worker directives.

Bye 
 Felix



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message