-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tsirkin,

On 2/23/2010 1:51 AM, Tsirkin Evgeny wrote:
> What we did - override session object using filter.On each request start it
> would
> read it's info from db (any configured one ,but preferring the local one)
> On each request end it would write itself into ALL dbs that are configured
> to be
> used.

This could have been done using standard Tomcat components and a shared
session-only database. Or, a pair of MysQL databases rigged to hot-copy
each other.

I think you did more work than necessary. Does this work with
authentication? Tomcat adds information to the session that isn't part
of the attributes, so a standard HttpSession wrapper won't be able to
replicate this information between the nodes. That means that things
like flow-resuming (where your original request is re-submitted after
successful authentication) won't work.

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

iEYEARECAAYFAkuEGbYACgkQ9CaO5/Lv0PDhiQCfQe3yPvORu/NX4AKyTDFL+xvR
kxgAoKAdaB26k5K/T+10Rqrq7iQsS6Xu
=2IqQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to