Severity: IOException while loading persisted sessions:java.io.EOFException
Java.io.EOFException
At Java.io.objectinputstream$peekinputstream.readfully (objectinputstream.java:2303)
At Java.io.objectinputstream$blockdatainputstream.readshort (objectinputstream.java:2772)
At Java.io.ObjectInputStream.readStreamHeader (objectinputstream.java:778)
At Java.io.objectinputstream.<init> (objectinputstream.java:278)
At Org.apache.catalina.util.customobjectinputstream.<init> (customobjectinputstream.java:58)
At Org.apache.catalina.session.StandardManager.doLoad (standardmanager.java:363)
At Org.apache.catalina.session.StandardManager.load (standardmanager.java:322)
At Org.apache.catalina.session.StandardManager.start (standardmanager.java:649)
At Org.apache.catalina.core.ContainerBase.setManager (containerbase.java:446)
At Org.apache.catalina.core.StandardContext.start (standardcontext.java:4635)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardHost.start (standardhost.java:822)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardEngine.start (standardengine.java:463)
At Org.apache.catalina.core.StandardService.start (standardservice.java:525)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:754)
At Org.apache.catalina.startup.Catalina.start (catalina.java:595)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
2015-4-24 13:13:27 Org.apache.catalina.session.StandardManager Start
Severity: Exception loading sessions from persistent storage
Java.io.EOFException
At Java.io.objectinputstream$peekinputstream.readfully (objectinputstream.java:2303)
At Java.io.objectinputstream$blockdatainputstream.readshort (objectinputstream.java:2772)
At Java.io.ObjectInputStream.readStreamHeader (objectinputstream.java:778)
At Java.io.objectinputstream.<init> (objectinputstream.java:278)
At Org.apache.catalina.util.customobjectinputstream.<init> (customobjectinputstream.java:58)
At Org.apache.catalina.session.StandardManager.doLoad (standardmanager.java:363)
At Org.apache.catalina.session.StandardManager.load (standardmanager.java:322)
At Org.apache.catalina.session.StandardManager.start (standardmanager.java:649)
At Org.apache.catalina.core.ContainerBase.setManager (containerbase.java:446)
At Org.apache.catalina.core.StandardContext.start (standardcontext.java:4635)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardHost.start (standardhost.java:822)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardEngine.start (standardengine.java:463)
At Org.apache.catalina.core.StandardService.start (standardservice.java:525)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:754)
At Org.apache.catalina.startup.Catalina.start (catalina.java:595)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
The reason is that Tomcat failed to read the session to the hard drive.
Solution: Empty the files under Tomcat's work, mostly *.ser files, or just remove Session.ser to resolve.
This article is from the "Lendcode" blog, make sure to keep this source http://lendcode.blog.51cto.com/3532846/1642536
IOException while loading persisted sessions:java.io.EOFException