IOException while loading persisted sessions:

严重: 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删除,问题就解决了!

时间: 2024-10-25 18:40:39

IOException while loading persisted sessions:的相关文章

【转】Tomcat出现SEVERE: IOException while loading persisted sessions: java.io.EOFException java.io.EOFException问题的解决方案

[java] view plaincopy 错误代码如下: 严重: IOException while loading persisted sessions: java.io.EOFException java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2325) at java.io.ObjectInputStream$BlockDataInputS

tomcat启动时报:IOException while loading persisted sessions: java.io.EOFException的解决方案

严重: IOException while loading persisted sessions: java.io.EOFExceptionjava.io.EOFException    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2284)    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInp

严重: 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(ObjectInpu

tomcat启动报:严重: IOException while loading persisted sessions: java.io.EOFException

严重: IOException while loading persisted sessions: java.io.EOFException ................................... . .. org.apache.catalina.session.StandardManager start 严重: Exception loading sessions from persistent storage java.io.EOFException at java.io.O

&lt;&lt;&lt; Tomcat运行报错IOException while loading persisted sessions: java.io.EOFException

解决方法:将work下面的文件清空,主要是*.ser文件,或者只是删除掉session.ser即可以解决. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

IOException while loading persisted sessions: java.io.EOFException

严重: IOException while loading persisted sessions: java.io.EOFExceptionjava.io.EOFException    at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2303)    at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInp

IOException while loading persisted sessions: java.io.EOFException-Tomcat启动异常解决办法

最近刚把项目转入Tomcat服务器下,运行好几次都没事儿,不过今天启动时突然报:严重: IOException while loading persisted sessions: java.io.EOFException等一堆异常,查了查,可能是项目在启动的过程中eclipse突然关闭了引起的,不过这个问题很容解决,就是把tomcat目录下的work文件夹下边的所有文件全部清除就OK了,主要是这个里边的*.ser序列化文件导致的! 希望以上方法能帮到正在着急解决这个问题的您!

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

1.错误描述 java.io.EOFException 2.错误原因 由于项目在运行的过程中,异常地关闭了Tomcat,在项目文件下生成了SESSIONS.ser D:\MyEclipse\apache-tomcat-7.0.55\work\Catalina\localhost\SSH 3.解决办法 删除在该路径下的SESSIONS.ser文件,重新启动Tomcat,项目就会正常运行

Tomcat启动时,会遇到IOException while loading persisted sessions: java.io.EOFException

分析问题:EOFException是由阻塞引起的,因为tomcat server的input.read读不到东西就会阻塞,当你关掉client的时候,server就知道没有东西进来了,所以在输入过程中意外的到达文件尾或流尾,导致从session中获取数据失败.异常是tomcat自身的问题,由于 主要tomcat上次非正常关闭时有一些活动session被持久化,在重启时,tomcat尝试恢复这些session的持久化数据但又恢复失败.此异常不影响系统的正常使用 解决方法:1. 在Servers t