标签:
严重: 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序列化文件,将这类文件删除,问题就解决了!
另外如果发现修改jsp文件后,访问web页面时仍然是修改前的效果,这是因为tomcat未及时编译jsp导致的,
或者删除work目录下的catalinna的文件,然后重新启动服务器或者重新部署就OK了。
严重: IOException while loading persisted sessions: java.io.EOFException
标签:
原文地址:http://www.cnblogs.com/thl2011/p/4908294.html