Exception loading sessions from persistent storage

Source: Internet
Author: User
Severity: Exception loading sessions from persistent storage

Java.io.EOFException

Remove the contents of the Work/catalina/localhost inside Tomcat to resolve


Tomcat encountered the following exception on startup:

Severity: IOException while loading persisted sessions:java.io.EOFException
Severity: Exception loading sessions from persistent storage

Because the session data that is saved on the hard disk fails to read, the problem seems to be small, but if you do not handle it, each boot will have this problem, the processing method is as follows:

Empty the file under work, mostly *.ser files, or just remove Session.ser.


Error Description: ... while loading persisted sessions:java.io.EOFException ...
Analysis: Eofexception represents a signal that unexpectedly reaches the end of a file or the end of a stream during the input process, resulting in a failure to obtain data from the session. The exception is the problem with Tomcat itself, because there are some active sessions being persisted (shown as temporary files) during Tomcat's last abnormal shutdown, and at reboot, Tomcat tries to recover the persisted data of the session but fails to read the result. This exception does not affect the use of the system.

Exception loading sessions from persistent storage

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.