From da3e103d4ac4646da6deefb8242ffd3e96f0a3f1 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Wed, 26 Dec 2018 13:32:26 +0300 Subject: [PATCH] Update README.md --- redisson-tomcat/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redisson-tomcat/README.md b/redisson-tomcat/README.md index f88079a45..f0ce4733b 100644 --- a/redisson-tomcat/README.md +++ b/redisson-tomcat/README.md @@ -35,6 +35,8 @@ Add `RedissonSessionManager` into `tomcat/conf/context.xml` `configPath` - path to Redisson JSON or YAML config. See [configuration wiki page](https://github.com/redisson/redisson/wiki/2.-Configuration) for more details. +#### Shared Redisson instance + Each RedissonSessionManager created per Web Application and thus creates own Redisson instance. For multiple applications, using the same Redis setup, amount of Redisson instances could be reduced using JNDI registry: 1. Add shared redisson instance produced by `JndiRedissonFactory` into `tomcat/conf/server.xml` in `GlobalNamingResources` tag area: