Msm: WARNING: No validity info available for session
2016-12-28 16:26
951 查看
Memcached-Session-Manager 实现session共享。
遇到问题:登陆一会儿就显示需要重新登陆
log日志如下:
十二月 27, 2016 10:15:09
上午 de.javakaffee.web.msm.LockingStrategy onAfterLoadFromMemcached
WARNING: Novalidity info available for session 44CA5EC74A8B50F4104F4E14087FCE8A
原因:msm获取的web.xml的session-timeout是以秒为单位的,
<session-config>
<session-timeout>30</session-timeout>
</session-config>
如果想要30分钟过期,需要把30改成1800
<session-config>
<session-timeout>1800</session-timeout>
</session-config>
遇到问题:登陆一会儿就显示需要重新登陆
log日志如下:
十二月 27, 2016 10:15:09
上午 de.javakaffee.web.msm.LockingStrategy onAfterLoadFromMemcached
WARNING: Novalidity info available for session 44CA5EC74A8B50F4104F4E14087FCE8A
原因:msm获取的web.xml的session-timeout是以秒为单位的,
<session-config>
<session-timeout>30</session-timeout>
</session-config>
如果想要30分钟过期,需要把30改成1800
<session-config>
<session-timeout>1800</session-timeout>
</session-config>
相关文章推荐
- Msm: WARNING: No validity info available for session
- Msm: WARNING: No validity info available for session
- e-utils-WARNING **: No parent set, or default parent available for error dialog
- [原]openstack-kilo--issue(四) WARNING: nova has no endpoint in ! Available endpoints for this service:
- [WARNING] The POM for***-SNAPSHOT is missing, no dependency information available
- [WARNING] The POM for XXX-system:jar:1.9.0-SNAPSHOT is missing, no dependency information available
- Hibernate4 No Session found for current thread原因
- WARNING: No mapping found for HTTP request with URI
- No Netinstall Server currently available, Please wait for the program to start
- sublime报错: There are no packages available for installation
- appstore发布的问题no identities are available for signing
- Dubbo: Failed to check the status of the service . No provider available for the service
- Warning: no message line prompt for ID 0x8003
- 有时候出现No provider available for the service dubbo错误
- 【Dubbo】no provider available for the service错误解决方案
- 查询dba_data_files遇到ORA-00379: no free buffers available in buffer pool DEFAULT for block size 2K
- Hibernate4 No Session found for current thread原因
- org.hibernate.HibernateException: No Session found for current thread
- 禁止requests请求https的提示InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more
- there is no source code available for the current location