Tomcat - IOException while loading persisted sessions
Tomcat save server state when shutdown. Thus, improper shutdown and save state may cause the following error when you start your tomcat server
Feb 21, 2011 6:01:18 PM org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
To solve this issue, all you need is to delete the content in the your_tomcat/work directory and restart your server.
Basically, tomcat is trying to look for and read in SESSION.ser. In general, the work directory is working directory for tomcat which reside the JSP and their resulting compiled class files.
Hi
ReplyDeleteI also have this problem
SEVERE: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
SEVERE: Exception loading sessions from persistent storage
java.io.EOFException
But I don't have any *.ser files in tomcat_work
Did you try deleting all contents within the work folder?
ReplyDeletevery nice and good solution.... it works
ReplyDeleteGlad that it help :-)
ReplyDeleteya...it works
ReplyDeleteGreat!!
ReplyDeleteWhere do I find the "work folder" in MyEclipse running MyEclipseTomcat?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteTry finding it at
ReplyDelete"your workspace"/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work
yes..work for me too
ReplyDeleteHappy to hear it helps
ReplyDeletegreat tip, thanks mate.!!!
ReplyDeleteGood to know it help
ReplyDeleteyes..work for me too
ReplyDeleteIt works! thx alot
ReplyDeleteand it suddenly works
ReplyDeletethanks
ReplyDelete"your workspace"/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work
worked
not an impediment issue in my part, but it definitely removed those irritating errors everytime i deploy my project locally.... thanks for this wonder tip!
ReplyDeletethanks @Thompson Ng
ReplyDeletethank for your information
ReplyDeleteworks like a charm
ReplyDeleteOther way is to "clean" the server tomcat.
ReplyDeletegreat info. thanks a lot !!!
ReplyDeletenice!! Works for me too.
ReplyDelete