tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 2smart4u <>
Subject Re: Always load balance to same box with different tomcat contexts
Date Fri, 19 Mar 2010 11:38:19 GMT
On Fri, Mar 19, 2010 at 11:54 AM, Mark Thomas <> wrote:
>> 2) There is cookie in browser - it will loadbalance to engine which
>> already
>> has session - since cookie has no context path
> Correct.

Mark, I think you might be missing something here.

If I got the OP correct, it's not only about loadbalancing but also
about maintaing the session between different Tomcat instances.

Given that, when you want to loadbalance between two or more Tomcat
instances where those instances don't know from each other, each
instance will create it's very own session-cookie (at least this is
how it shows up in our setup).

So to my understanding the only solution to maintain
session-information between multiple loadbalanced Tomcat instances is
to run them within a cluster.

Please correct me if I'm wrong.



> Mark
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message