tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grotzke <>
Subject Re: save session information
Date Wed, 03 Feb 2010 19:35:55 GMT
Hi Ashish,

I created a memcached based session failover solution:

Basically it stores session information in memcached so that they can be
pulled from memcached if they are not available in the local session
map. For a normal request, the session is read from the local session
map (in-memory).

One advantage over the PersistentManager is, that I also created an xml
based serialization strategy that supports different versions of a class
(e.g. the msm-javolution-serializer, see [1] for more) - this is
especially useful if you deploy a new version of your software and your
serialized classes changed. With the standard java serialization
deserializing session will fail, the xml based approach is able to
handle this.

Other advantages over the database storage target scalability, that was
the main motivation why I created this project.


On Wed, 2010-02-03 at 00:28 -0500, Ashish Kulkarni wrote:
> Hi
> Is it possible with tomcat to save session information in database or some
> where which can be retrieved after restart, for example raisin
> provides symmetrical
> session which can be saved to database or file system


Martin Grotzke

View raw message