HTTP Status 500 - Race condition encountered

conbell 2015-01-05 01:38:18
用nginx + Apache Tomcat/7.0.54在CentOS6.5上搭建了一个应用,负载了4个同样的服务。

客户端用大部分的主流浏览器都试了一遍,结果:

360安全浏览器、360极速浏览器、猎豹浏览器三款访问服务时出现以下错误(其他浏览器使用一切正常),望哪位大拿给予指点。

HTTP Status 500 - Race condition encountered: attempted to load session[4B2FB1EC0E5DEF5DCAA163DB794FE685] which has been created but not yet serialized.

type Exception report

message Race condition encountered: attempted to load session[4B2FB1EC0E5DEF5DCAA163DB794FE685] which has been created but not yet serialized.

description The server encountered an internal error that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException: Race condition encountered: attempted to load session[4B2FB1EC0E5DEF5DCAA163DB794FE685] which has been created but not yet serialized.
com.radiadesign.catalina.session.RedisSessionManager.loadSessionFromRedis(RedisSessionManager.java:399)
com.radiadesign.catalina.session.RedisSessionManager.findSession(RedisSessionManager.java:325)
org.apache.catalina.connector.Request.doGetSession(Request.java:2913)
org.apache.catalina.connector.Request.getSessionInternal(Request.java:2531)
com.radiadesign.catalina.session.RedisSessionHandlerValve.invoke(RedisSessionHandlerValve.java:28)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.54 logs.


...全文
4872 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
awaitdeng 2017-01-20
  • 打赏
  • 举报
回复
这个问题怎么解决的
听雨鱼翅 2016-02-29
  • 打赏
  • 举报
回复
我也遇到这个问题,具体怎么解决啊
jaychang9 2015-10-16
  • 打赏
  • 举报
回复
我也遇到了,期待解决 严重: Error processing request java.lang.IllegalStateException: Race condition encountered: attempted to load session[32405E7F668A227E154AC6FF5E4A4F6A] which has been created but not yet serialized. at com.radiadesign.catalina.session.RedisSessionManager.loadSessionFromRedis(RedisSessionManager.java:389) at com.radiadesign.catalina.session.RedisSessionManager.findSession(RedisSessionManager.java:315) at org.apache.catalina.connector.Request.isRequestedSessionIdValid(Request.java:2460) at org.apache.catalina.connector.CoyoteAdapter.parseSessionCookiesId(CoyoteAdapter.java:1067) at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:754) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:418) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) 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)
ShadowWalker 2015-07-07
  • 打赏
  • 举报
回复
最后找到是有多个JSESSIONID,一个的域是www.ezhe.com, 另一个是 ezhe.com, 最后把找个2个域的 cookie清理掉就好了
ShadowWalker 2015-05-19
  • 打赏
  • 举报
回复
楼主怎么解决的? 会不会是 war 中的jedis版本问题
nigebt 2015-01-26
  • 打赏
  • 举报
回复
这个问题 你现在怎么解决的?我也遇到了
conbell 2015-01-05
  • 打赏
  • 举报
回复
同样的应用部署不用nginx做负载均衡,直接用Tomcat部署以一个服务,包含360安全浏览器、360极速浏览器、猎豹浏览器三款浏览器访问一切正常。
笔记本的风扇控制 ---------------------------------------- 09 November 2006. Summary of changes for version 20061109: 1) ACPI CA Core Subsystem: Optimized the Load ASL operator in the case where the source operand is an operation region. Simply map the operation region memory, instead of performing a bytewise read. (Region must be of type SystemMemory, see below.) Fixed the Load ASL operator for the case where the source operand is a region field. A buffer object is also allowed as the source operand. BZ 480 Fixed a problem where the Load ASL operator allowed the source operand to be an operation region of any type. It is now restricted to regions of type SystemMemory, as per the ACPI specification. BZ 481 Additional cleanup and optimizations for the new Table Manager code. AcpiEnable will now fail if all of the required ACPI tables are not loaded (FADT, FACS, DSDT). BZ 477 Added #pragma pack(8/4) to acobject.h to ensure that the structures in this header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been manually optimized to be aligned and will not work if it is byte-packed. Example Code and Data Size: These are the sizes for the OS- independent acpica.lib produced by the Microsoft Visual C++ 6.0 32- bit compiler. The debug version of the code includes the debug output trace mechanism and has a much larger code and data size. Previous Release: Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total Debug Version: 155.4K Code, 63.1K Data, 218.5K Total Current Release: Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total Debug Version: 155.2K Code, 63.1K Data, 218.3K Total 2) iASL Compiler/Disassembler and Tools: Fixed a problem where the presence of the _OSI predefined control method within complex expressions could cause an internal compiler error. AcpiExec: Implemented full region support for multiple address spaces. SpaceId is now part of the REGION object. BZ 429 ---------------------------------------- 11 Oc

25,987

社区成员

发帖
与我相关
我的任务
社区描述
高性能WEB开发
社区管理员
  • 高性能WEB开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧