Reputation: 245
The tomcat doc of apache says, there are three ways, wecan achieve session replication among tomcat nodes -
In my application, I do use SINGLE cluster having TWO tomcat 7.0.25 nodes. I want to configure session replication between these two nodes. Can anybody provide some points describing which one I should use and why ?
I am able to set up session replication using point 3. It works good.
I want to play with option 1 & 2 also. But not able to find out any link that describes point 1 & 2. It would be really very helpful if anyone can provide me some docs or links on point 1 & point 2.
Thanks in advance.
Upvotes: 3
Views: 3512
Reputation: 3699
Follow this tutorial
Persistent Session Manager and a shared file store / JDBC store to RDBMS
Upvotes: 2
Reputation: 64
There's some info on JDBCStore in the book "Apache Tomcat 7" By Aleksa Vukotic, James Goodwil: http://books.google.co.uk/books?id=-1JFHBvvGBgC&lpg=PA117&ots=1UTkoEFKbP&dq=PersistenceManager%20%2B%20JDBCStore&pg=PA117#v=onepage&q=PersistenceManager%20+%20JDBCStore&f=false
Upvotes: 1