From 5fca37e84b3f99065e2a5bfa91ec1167329eed0c Mon Sep 17 00:00:00 2001 From: Ranjith Manickam <ranji3886@gmail.com> Date: Fri, 28 Jul 2017 14:46:40 +0530 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 32c7de5..205eeb0 100644 --- a/README.md +++ b/README.md @@ -9,35 +9,31 @@ It supports, both single redis master and redis cluster based on the RedisDataCa Going forward, we no need to enable sticky session (JSESSIONID) in Load balancer. ## Supports: - * [Apache Tomcat 7](https://github.com/ran-jit/tomcat-cluster-redis-session-manager/releases/tag/1.0) + * Apache Tomcat 7 * Apache Tomcat 8 -## Downloads: - -##### Pre-requisite: +## Pre-requisite: 1. jedis.jar 2. commons-pool2.jar 3. commons-logging.jar -**Tomcat Redis Cluster Enabled Session Manager is available in below location** - - https://github.com/ran-jit/tomcat-cluster-redis-session-manager/wiki +more details.. https://github.com/ran-jit/TomcatClusterRedisSessionManager/wiki #### Steps to be done, 1. Move the downloaded jars to tomcat/lib directory - * **$catalina.home/lib/** + * **tomcat/lib/** 2. Add tomcat system property "catalina.base" * **catalina.base="TOMCAT_LOCATION"** -3. Configure downloaded Redis credentials in RedisDataCache.properties file and move the file to tomcat/conf directory - * **tomcat/conf/RedisDataCache.properties** +3. Extract downloaded package (tomcat-cluster-redis-session-manager.zip) to configure Redis credentials in redis-data-cache.properties file and move the file to tomcat/conf directory + * **tomcat/conf/redis-data-cache.properties** 4. Add the below two lines in tomcat/conf/context.xml - * **<Valve className="com.r.tomcat.session.management.RequestSessionHandlerValve" />** - * **<Manager className="com.r.tomcat.session.management.RequestSessionManager" />** + * **<Valve className="tomcat.request.session.redis.SessionHandlerValve" />** + * **<Manager className="tomcat.request.session.redis.SessionManager" />** 5. Verify the session expiration time in tomcat/conf/web.xml * **<session-config>** @@ -45,4 +41,4 @@ Going forward, we no need to enable sticky session (JSESSIONID) in Load balancer * **</session-config>** ### Note: - * Supports, single and multi-node redis cluster based on the RedisDataCache.properties configuration. + * This supports, both redis stand-alone and multiple node cluster based on the redis-data-cache.properties configuration.