tomcat starts EOFException

The following exception occurs when Tomcat starts up:

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

is because the session data saved on the hard disk failed to read, the problem seems to be small, but if If you don't deal with it, this problem will occur every time you start it. The solution is as follows:

Empty the files under work in the tomcat directory, mainly *.ser files, or just delete session.ser.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326990120&siteId=291194637