Skip to content

Redis-backed non-sticky session store for Apache Tomcat(Supports JedisCluster), Now support password.

License

Notifications You must be signed in to change notification settings

zhmz1326/tomcat-redis-session-manager

 
 

Repository files navigation

Redis Session Manager for Apache Tomcat (Supports JedisCluster)

Config Sample

Add the following into your Tomcat context.xml (or the context block of the server.xml if applicable.) Password is optional.

    <Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
    <Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
         redisNodes="192.168.1.81:7001,192.168.1.81:7002,192.168.1.81:7003,192.168.1.82:7004,192.168.1.82:7005,192.168.1.82:7006"
         password="redis_password"
         timeout="300000"
         maxRedirections="6"
         maxWaitMillis="-1"
         maxTotal="1000"
         minIdle="8"
         maxIdle="100"
         maxInactiveInterval="60"/>

About

Redis-backed non-sticky session store for Apache Tomcat(Supports JedisCluster), Now support password.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 71.6%
  • Ruby 28.4%