On 3/7/07, Andrew Miehs <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This will work if you are only using 1 Apache HTTPD server

Are you referring to the following ?

Two httpd servers with mod_jk pointing to the same two tomcat instances.
httpdA and mod_jkA have a reference to TomcatA and TomcatB
httpdB and mod_jkB have a reference to TomcatA and TomcatB

What would be the complications in such a scenario ?

I can think of situation where mod_jkA does not know of mod_jkB's
status and vice-versa.

In such a case, let's assume that TomcatA is down and that mod_jkB
learns of this. And that mod_jk A has not yet contacted TomcatA.

For long running requests, it would definitely be a problem to learn
of TomcatA being unable to serve requests quite some time after
sending a request to it.

If the processing times on tomcat are low, would it be acceptable for
mod_jkA to learn of the  TomcatA instance being down, updating it's
internal list with this info,  and then redirecting the request to
tomcatB.

This is all that I could think of. If there's something else that we
should be knowing, please do write back.

Thanks in advance.

-- Sriram

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to