On 23/11/2010 14:41, Christopher Schultz wrote:
> 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?

It won't work. Apps are routed independently.

If every Tomcat instance was running every app then the session ID can
be shared between the apps and you get more options.

Mark

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

Reply via email to