I think that what you want is not part of tomcat nor will it be. What you
require is a load blancer (or a machine that acts as a load balancer but I
don't know of any open source initiative on this). The loadbalancer keeps
track of session data will forward each request from one and the same
Title: Re: Load Balancing for WEB-Application with sessions
You might want to look at the loadbalancer module as supplied
with tomcat.
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/Tomcat-Workers-HowTo.html
Quote:
lb Worker properties
The load-balancing worker does not really
jk_mount/loadbalancing works well for this kind of thing. We use it
loadbalancing across multiple servers, with multiple JVMs on each server.
The only issue we had was in the way our (Foundry) loadbalancer handled
things:
We needed session state preserved by cookie or sessionid, and it proved