tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <>
Subject Fwd: Problem with clustering using Database Session Store
Date Sun, 11 Aug 2013 11:17:02 GMT

I'm configuring my two node tomcat 7 service in AWS with Database
Session Store. I did the following steps:

1.- Configured JAVA_OPTS with
2.- Configured context.xml with:

    <Manager className='org.apache.catalina.session.PersistentManager'
             saveOnRestart='false' minIdelSwap='0' maxIdleSwap='0'
      <Store className="org.apache.catalina.session.JDBCStore"
             sessionTable="tomcat_sessions" sessionIdCol="session_id"
             sessionDataCol="session_data" sessionValidCol="valid_session"
             sessionLastAccessedCol="last_access" sessionAppCol='app_name'/>

3.- Created the database table.
4.- My war files have <distributable/> element on web.xml
5.- The objects stored in session are serializable.

When I test the cluster shutting down one node the sessions don't
appear to be reading from the other node and I get the login page.

Any ideas?


Néstor Boscán

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message