redis异常解决:attempted to load session[xxx] which has been created but not yet serialized.
来源:互联网 发布:适用于编程的字体 编辑:程序博客网 时间:2024/05/29 21:29
使用redis做了tomcat的session共享,又一次访问session时出现下面的异常:
java.lang.IllegalStateException: Race condition encountered: attempted to load session[23DF9FE58DAF67B589642E88254593DA] which has been created but not yet serialized.at com.radiadesign.catalina.session.RedisSessionManager.loadSessionFromRedis(RedisSessionManager.java:399)
at com.radiadesign.catalina.session.RedisSessionManager.findSession(RedisSessionManager.java:325)
at org.apache.catalina.connector.Request.isRequestedSessionIdValid(Request.java:2385)
at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:1033)
at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:764)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:416)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
九月 15, 2015 9:35:28 上午 org.apache.coyote.http11.AbstractHttp11Processor process
解决方法:
后来在网上看到说是客户端请求时传了多个JSESSIONID的原因,打开浏览器监控一看,果然是这样,如图,于是清除cookie,再次请求,问题解决。
至于为何会出现多个JSESSIONID的问题,还有待研究。
0 1
- redis异常解决:attempted to load session[xxx] which has been created but not yet serialized.
- Workbench has not been created yet" 尚未解决【问题】
- Workbench has not been created yet
- 异常_LifecycleException: Manager has not yet been started .
- popupWindow,Attempted to finish an input event but the input event receiver has already been dispose
- 46. Permutations (has not been solved yet)
- 异常:android.database.StaleDataException: Attempted to access a cursor after it has been closed
- 理解和解决requireJS的报错:MODULE NAME HAS NOT BEEN LOADED YET FOR CONTEXT
- 解决 Code::Blocks之It seems that this file has not been built yet.
- TabPageIndicator ViewPager has not been bound 的异常解决
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- mod_ssl has been requested but can not be built due to prerequisite failures
- 47. Permutations II (has not been solved yet)
- 解决java.lang.IllegalStateException: Content view not yet created(ListFragment)
- tomcat异常:Illegal access: this web application instance has been stopped already. Could not load ...
- 解决 binding.gyp not found (xxx/xxx/xxx) while trying to load binding.gyp 问题
- C++Primer第五版 7.6节练习
- Delphi分配或释放内存失败的原因
- 团购网站之大众点评
- java树组件
- LeetCode 9 判断回文数
- redis异常解决:attempted to load session[xxx] which has been created but not yet serialized.
- php 在线人数,今日访问量,总访问量统计
- linux shell 处理unixtime
- 数据库连接池(数据源)1
- Sql Server Cpu 100% 的常见原因及优化
- Linux里设置环境变量的方法(export PATH)
- C#向上转型与向下转型
- list-each-while遍历数组 和使用foreach的对比
- A+B for Input-Output Practice (I)