Tomcat startup problem

严重: IOException while loading persisted sessions: java.io.EOFException

 

The following exception occurs when tomcat starts:

        严重: IOException while loading persisted sessions: java.io.EOFException

        严重: Exception loading sessions from persistent storage

 

  Analysis: EOFException indicates a signal that the end of file or end of stream is unexpectedly reached during the input process, resulting in failure to obtain data from the session. The exception is the problem of tomcat itself. Because some active sessions were persisted (represented as some temporary files) when tomcat was shut down abnormally last time, when restarted, tomcat tried to restore the persistent data of these sessions but failed to read it. of. This exception does not affect the use of the system.

        Solution: delete tomcat6.0\work\Catalina\localhost\peam\SESSIONS.ser. If the server is shut down normally, the file is automatically deleted.

        I solved the problem by referring to the above method, using MyEclipse6.0, tomcat6.0. Under normal circumstances, it will be considered to be the tomcat cache, and the entire localhost folder will be deleted directly. But the above method is also desirable. In the localhost folder, find the deployed project name, and delete the SESSIONS.ser file under the project name. Restart tomcat, the problem is solved.

Guess you like

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