ice world

There is nothing too difficult if you put your heart into it.
posts - 104, comments - 103, trackbacks - 0, articles - 0

Exception loading sessions from persistent storage

Posted on 2012-07-12 10:15 IceWee 阅读(703) 评论(0)  编辑  收藏 所属分类: JavaTomcat
出现以下异常信息,一般删除下Tomcat的work目录即可
严重: IOException while loading persisted sessions: java.io.EOFException
java
.io.EOFException
    at java
.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
    at java
.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
    at java
.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
    at java
.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
    at org
.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
    at org
.apache.catalina.session.StandardManager.doLoad(StandardManager.java:246)
    at org
.apache.catalina.session.StandardManager.load(StandardManager.java:204)
    at org
.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
    at org
.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
    at org
.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    at org
.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
    at org
.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
    at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java
.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java
.lang.Thread.run(Thread.java:662)
2012-7-12 10:08:04 org.apache.catalina.session.StandardManager startInternal
严重
: Exception loading sessions from persistent storage
java
.io.EOFException
    at java
.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
    at java
.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
    at java
.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
    at java
.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
    at org
.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
    at org
.apache.catalina.session.StandardManager.doLoad(StandardManager.java:246)
    at org
.apache.catalina.session.StandardManager.load(StandardManager.java:204)
    at org
.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
    at org
.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org
.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
    at org
.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
    at org
.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    at org
.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
    at org
.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
    at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java
.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java
.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java
.lang.Thread.run(Thread.java:662)


只有注册用户登录后才能发表评论。


网站导航: