the loadbalancer doesn't do replication, tomcat does.
the principal (the object that your user info is stored in) is replicated across the different nodes in the cluster.

Filip


Manisha Sathe wrote:
Thanks for the reply, Do you mean to say that not
Tomcat but load balancer will do the replication job?
So user and roles will be still available in another
server.
regards
manisha

--- "Farrow, Marc" <[EMAIL PROTECTED]> wrote:

Depending on the load balancer, most sessions are
replicated across the load
balancer.  *shrug*

-----Original Message-----
From: Manisha Sathe
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 11:05 AM
To: Tomcat Users List
Subject: Tomcat 5.0 Datasource Realm and
Cluster/load balance web servers

I am using form based Datasource Realm for
authentication and authorization. Also need to
consider clustering/loadbalancing of web server (in
this case Tomcat). In docs it is written for Realm
as
follows

"Once a user has been authenticated, the user (and
his
or her associated roles) are cached within Tomcat
for
the duration of the user's login. ....
The cached user is not saved and restored across
sessions serialisations."

I am worried about last line - whether it means that
it does not support loadbalance techniques ? So if
next request from user (who is logged in previously)
goes to another server, then user needs to login
again? What is the solution for this?

Thanks in advance,

regards
Manisha


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to