tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik - Dev" <>
Subject Re: Clustering / Load Balancer / Session Cookie
Date Thu, 29 Apr 2004 14:47:07 GMT

pen is my favorite, performs best and works on both windows and unix

----- Original Message -----
From: "Dale, Matt" <>
To: "Tomcat Users List" <>
Sent: Thursday, April 29, 2004 8:51 AM
Subject: RE: Clustering / Load Balancer / Session Cookie

Thanks for the quick reply.

So the supplied tomcat load balancer isnt of any use for stateful sessions where the cluster
is spread accross several machines?

-----Original Message-----
From: Peter Lin []
Sent: 29 April 2004 14:44
To: Tomcat Users List
Subject: Re: Clustering / Load Balancer / Session Cookie

to paraphrase, you want to have it look like the same machine to the browser (ie user).

the easiest way is to use a hardware load balancer. I've use this approach a couple times
in the past and it works well.

peter lin

"Dale, Matt" <> wrote:


I'm currently testing a setup up on 3 machines.

2 have tomcat 5.0.19, these 2 are clustered with session replication and have a simple test

The other, also 5.0.19, runs the supplied balancer app.

I've written a simple round robin rule which passes the requests back and forth as it should,
I can see the sessions being
replicated fine in the logs so all is ok there.

BUT my problem is accessing the same session on both machines. Basically I'm stumped, I know
its not accessing the same session
because the redirected URL is different but how can I get around this?

I've tried a using an HTML frame on the balancer machine but that was clutching at straws
and obviously didnt work.

Any ideas would be appreciated.


Any opinions expressed in this E-mail may be those of the individual and not necessarily the
company. This E-mail and any files
transmitted with it are confidential and solely for the use of the intended recipient. If
you are not the intended recipient or the
person responsible for delivering to the intended recipient, be advised that you have received
this E-mail in error and that any use
or copying is strictly prohibited. If you have received this E-mail in error please notify
the beCogent postmaster at
Unless expressly stated, opinions in this email are those of the individual sender and not
beCogent Ltd. You must take full
responsibility for virus checking this email and any attachments.
Please note that the content of this email or any of its attachments may contain data that
falls within the scope of the Data
Protection Acts and that you must ensure that any handling or processing of such data by you
is fully compliant with the terms and
provisions of the Data Protection Act 1984 and 1998.

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

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs


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

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

View raw message