????1. ?? tomcat/lib ??????????jar??
????commons-pool2-2.4.2.jar
????jedis-2.8.0.jar
????tomcat-redis-session-manager-2.0.0.jar
????2. ???tomcat/conf/context.xml?? ??????????????
????<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
????<Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
????host="localhost" port="6379" database="0" password="foobared" maxInactiveInterval="60"/>
???????У?
????host: redis host
????port: redis port
????database: redis database
????password: redis password
??????redis?????м?? ???tomcat??????????session??д???????