tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Kam <moonblade.w...@gmail.com>
Subject Re: How to store session in database
Date Fri, 24 May 2013 11:51:21 GMT
Hopefully these open source nosql-tomcat-session-managers could be helpful
in your jorney :
https://github.com/jcoleman/tomcat-redis-session-manager
https://github.com/dawsonsystems/Mongo-Tomcat-Sessions


On Fri, May 24, 2013 at 6:47 PM, Daniel Mikusa <dmikusa@gopivotal.com>wrote:

> On May 24, 2013, at 7:28 AM, 杨华杰 wrote:
>
> > Hi
> >
> > Basically I want to configure a tomcat cluster.
> >
> > I am using tomcat 6 and tomcat 7 and I want to store the session in
> > database.
> >
> > I am looking to this document
> > http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html . But
> > unfortunately I didn't find any document to store session in database. Is
> > there any? Just let me know which document I can refer.
> >
> >
> >
> >
> > Regards,
> > Hua Jie
>
> If you look at the "Overview" section of the documentation that you linked
> to, you'll see that there are three options for session replication.
>
> "       • Using session persistence, and saving the session to a shared
> file system (PersistenceManager + FileStore)
>         • Using session persistence, and saving the session to a shared
> database (PersistenceManager + JDBCStore)
>         • Using in-memory-replication, using the SimpleTcpCluster that
> ships with Tomcat 6 (lib/catalina-tribes.jar + lib/catalina-ha.jar)"
>
>   https://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html#Overview
>
> Documentation for the first two can be found here.
>
>
> https://tomcat.apache.org/tomcat-6.0-doc/config/manager.html#Nested_Components
>
> Dan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message