tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: jk load balancing based upon ip address rather than session id
Date Thu, 12 Jun 2008 20:37:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon,

Simon Papillon wrote:
| when there are
| several all servicing requests in a load balanced context, it doesn't
| work, because the session ids from different domains may be directed
| to different tomcat instances / containers, which then breaks the
| assumption that the SSO mechanism relies upon (that all sessions being
| held in a single container).
|
| The tomcat instances aren't in a distributed cluster and I'd like to
| keep it that way.

Isn't this what "sticky sessions" are for? You get randomly assigned to
a server for your first request, and each subsequent request goes to
that same server (unless it goes down, in which case you have to
switch). This does not require distributable sessions.

Does that not solve your SSO requirement?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhRiRMACgkQ9CaO5/Lv0PBzbwCgl5lX0EKRYqpjR040//ChN95O
sHAAnj4/xoTrHto0be4XjXWc6AAuUmn1
=LZXJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message