码迷,mamicode.com
首页 > 其他好文 > 详细

IOException while loading persisted sessions:

时间:2015-08-18 12:25:21      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:

严重: IOException while loading persisted sessions: java.io.EOFException

java.io.EOFException

at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)

at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)

at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)

at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)

at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)

at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)

at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)

at org.apache.catalina.session.StandardManager.start(StandardManager.java:637)

at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:438)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4396)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

-------------------------------------------------

 

原因:IOException while loading persisted sessions: java.io.EOFException

 

当加载持久化的session错误:文件末尾异常,就是已经读取到文件末尾了,tomcat仍然试图读取内容,

 

tomcat读取的文件是*.ser,session序列化文件,将SESSION.ser删除,问题就解决了!


IOException while loading persisted sessions:

标签:

原文地址:http://my.oschina.net/yuanfy/blog/493844

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!