修改servlet配置文件后出现服务器启动错误

四月 14, 2016 3:17:44 下午o rg.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:2323)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(
ObjectInputStream.java:2792)
at java.io.ObjectInputStream.readStreamHeader(
ObjectInputStream.java:799)
at java.io.ObjectInputStream.<init>(
ObjectInputStream.java:299)
at org.apache.catalina.util.CustomObjectInputStream.<init>(
CustomObjectInputStream.java:56)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:244)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:202)
at org.apache.catalina.session.StandardManager.startInternal(
StandardManager.java:489)
at org.apache.catalina.util.LifecycleBase.start(
LifecycleBase.java:150)
at org.apache.catalina.core.StandardContext.startInternal(
StandardContext.java:5501)
at org.apache.catalina.util.LifecycleBase.start(
LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(
StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(
HostConfig.java:1247)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(
HostConfig.java:1897)
at java.util.concurrent.Executors$RunnableAdapter.call(
Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(
FutureTask.java:334)
at java.util.concurrent.FutureTask.run(
FutureTask.java:166)
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:722)
四月 14, 2016 3:17:44 下午 org.apache.catalina.session.StandardManager startInternal
SEVERE: Exception loading sessions from persistent storage
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2323)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2792)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:799)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
at org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:56)
at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:244)
at org.apache.catalina.session.StandardManager.load(StandardManager.java:202)
at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:489)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5501)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1897)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
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:722)

四月 14, 2016 3:17:44 下午 org.apache.catalina.startup.HostConfig deployDirectory

错误原因:

Tomcat缓存

修改方案:

删除Tomcat服务器下的缓存文件和日志文件

修改servlet配置文件后出现服务器启动错误_第1张图片修改servlet配置文件后出现服务器启动错误_第2张图片

你可能感兴趣的:(修改servlet配置文件后出现服务器启动错误)