The error code is as follows: severity: IOException whileloading persisted sessions:java.io.EOFExceptionjava.io.EOFException at java.io.objectinputstream$ Peekinputstream.readfully (Objectinputstream.java:2325) at Java.io.objectinputstream$blockdatainputstream.readshort (Objectinputstream.java:2794) at Java.io.ObjectInputStream.readStreamHeader (Objectinputstream.java:801) at Java.io.ObjectInputStream.<init> (objectinputstream.java:299) at Org.apache.catalina.util.CustomObjectInputStream.<init> (customobjectinputstream.java:58) at Org.apache.catalina.session.StandardManager.doLoad (Standardmanager.java:226) at Org.apache.catalina.session.StandardManager.load (Standardmanager.java:183) at Org.apache.catalina.session.StandardManager.startInternal (Standardmanager.java:473) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:150) at Org.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5293) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (Containerbase.java:726) at Org.apache.catalina.core.ContainerBase.addChild (Containerbase.java:702) at Org.apache.catalina.core.StandardHost.addChild (Standardhost.java:39]) at Org.apache.catalina.startup.HostConfig.deployDirectory (Hostconfig.java:1119) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (Hostconfig.java:1760) at Java.util.concurrent.executors$runnableadapter.call (Executors.java:471) at Java.util.concurrent.FutureTask.run (Futuretask.java:262) at Java.util.concurrent.ThreadPoolExecutor.runWorker (Threadpoolexecutor.java:1145) at Java.util.concurrent.threadpoolexecutor$worker.run (Threadpoolexecutor.java:615) at Java.lang.Thread.run (Thread.java:744) January02, 2014 2:38:27afternoon Org.apache.catalina.session.StandardManager startinternal Grave: Exception loading sessions from persistent Storagejava.io.EOFException at java.io.objectinputstream$peekinputstream.readfully (Objectinputstream.java:2325) at Java.io.objectinputstream$blockdatainputstream.readshort (Objectinputstream.java:2794) at Java.io.ObjectInputStream.readStreamHeader (Objectinputstream.java:801) at Java.io.ObjectInputStream.<init> (objectinputstream.java:299) at Org.apache.catalina.util.CustomObjectInputStream.<init> (customobjectinputstream.java:58) at Org.apache.catalina.session.StandardManager.doLoad (Standardmanager.java:226) at Org.apache.catalina.session.StandardManager.load (Standardmanager.java:183) at Org.apache.catalina.session.StandardManager.startInternal (Standardmanager.java:473) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:150) at Org.apache.catalina.core.StandardContext.startInternal (Standardcontext.java:5293) at Org.apache.catalina.util.LifecycleBase.start (Lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (Containerbase.java:726) at Org.apache.catalina.core.ContainerBase.addChild (Containerbase.java:702) at Org.apache.catalina.core.StandardHost.addChild (Standardhost.java:698) at Org.apache.catalina.startup.HostConfig.deployDirectory (Hostconfig.java:1119) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (Hostconfig.java:1760) at Java.util.concurrent.executors$runnableadapter.call (Executors.java:471) at Java.util.concurrent.FutureTask.run (Futuretask.java:262) at Java.util.concurrent.ThreadPoolExecutor.runWorker (Threadpoolexecutor.java:1145) at Java.util.concurrent.threadpoolexecutor$worker.run (Threadpoolexecutor.java:615) at Java.lang.Thread.run (Thread.java:744) January02, 2014 2:38:27 pm org.apache.catalina.startup.HostConfig deploydirectory
The reason for the error is that eofexception indicates that the input process has unexpectedly reached the end of the file or the signal at the end of the stream, resulting in a failure to obtain data from the session. This is due to a number of active sessions being persisted (shown as temporary files) during Tomcat's last abnormal shutdown, and at reboot, Tomcat attempts to recover the persisted data of the session but failed to read the result. This exception does not affect the use of the system.
As you can see, I am using a day56 project with a sessions.ser file, delete this file can be tomcat normal use.
If you do not know which item is causing the project, just delete all the files in the Catalina directory.
Tomcat startup times: IOException while loading persisted sessions:java.io.EOFException solutions