IOException while loading persisted sessions:java.io.EOFException

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.