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