tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Server affinity instead of session affinity
Date Tue, 23 Nov 2010 14:41:28 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 11/23/2010 5:12 AM, Mark Thomas wrote:
> On 23/11/2010 00:06, Andrew Hole wrote:
>> There is a middleware-to-middleware connection between Tomcat A and Tomcat B
>> using RMI (point-to-point protocol) and Tomcat A has in-memory data useful
>> to App3.
>> The same aproach in the second server: applications in tomcat d have RMI
>> communication to tomcat c.
> 
> I don't think there is a way to do this in mod_jk configuration. One way
> to do this would be base affinity on client IP address. You should be
> able to do something like the following in httpd:
> - get client IP address
> - if last octet is odd, redirect to machine 1
> - else, redirect to machine 2

What about Chuck's suggestion of having multiple JVMs with the same
jvmRoute?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzr0pgACgkQ9CaO5/Lv0PCiUQCgmPrNHGz1bfUF0qmSfAOVfziA
RUEAn1s2Fa5LoFa/CB9YOAdovXtSLIrX
=zcqz
-----END PGP SIGNATURE-----

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


Mime
View raw message