master
liuyuhua69@gmail.com 2015-06-14 15:04:24 +08:00
parent 2299151b63
commit 5e56aae483
1 changed files with 9 additions and 9 deletions

View File

@ -31,15 +31,15 @@
2. 修改 TOMCAT_BASE/conf 目录下的 context.xml 文件 2. 修改 TOMCAT_BASE/conf 目录下的 context.xml 文件
<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" /> <Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
<Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager" <Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
host="localhost" host="localhost"
port="6379" port="6379"
database="0" database="0"
maxInactiveInterval="60" maxInactiveInterval="60"
sessionPersistPolicies="PERSIST_POLICY_1,PERSIST_POLICY_2,.." sessionPersistPolicies="PERSIST_POLICY_1,PERSIST_POLICY_2,.."
sentinelMaster="SentinelMasterName" sentinelMaster="SentinelMasterName"
sentinels="sentinel-host-1:port,sentinel-host-2:port,.."/> sentinels="sentinel-host-1:port,sentinel-host-2:port,.."/>
属性解释: 属性解释: