为了账号安全,请及时绑定邮箱和手机立即绑定

关于Tomcat服务器。重启服务器之后为什么在控制台上还会显示以前项目中的一些数据,那个项目在MyEclipse上面已经删除。但是为什么重启服务器后还会显示呢。诸位同学求解决办法Server startup in 21493 ms

关于Tomcat服务器。重启服务器之后为什么在控制台上还会显示以前项目中的一些数据,那个项目在MyEclipse上面已经删除。但是为什么重启服务器后还会显示呢。诸位同学求解决办法Server startup in 21493 ms

正在回答

3 回答

你说说你咋删的。对于多数eclipse等开发工具来说tomcat开启状态下删除无效。

删除必须先把Tomcat关闭后,点remove,其实我以前也遇到了这情况,后来才发现的,开着tomcat删除,控制台或报错。

http://img1.sycdn.imooc.com//57022cec0001770808870465.jpg

0 回复 有任何疑惑可以回复我~
#1

gao634209276

服务器报错了那先再安装一个tomcat服务器
2016-04-04 回复 有任何疑惑可以回复我~
#2

Refactor易先生 提问者

谢谢!O(∩_∩)O~
2016-04-05 回复 有任何疑惑可以回复我~

删了以后出现下面的状况,tomcat服务器好像不能启动了。这是怎么回事啊?webAPP下面原来自带的项目没有删除,删除的是我以前的。

二月 16, 2016 3:03:00 下午 org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 2637 ms

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardService startInternal

INFO: Starting service Catalina

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.55

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources

java.lang.IllegalArgumentException: Document base D:\Java\jdk1.0.7_13\Tomcat_Server\apache-tomcat-7.0.55\webapps\ServletDemoByEclipse does not exist or is not a readable directory

at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5108)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5292)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.ContainerBase startInternal

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDemoByEclipse]]

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

at java.util.concurrent.FutureTask.get(FutureTask.java:111)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletDemoByEclipse]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5293)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources

java.lang.IllegalArgumentException: Document base D:\Java\jdk1.0.7_13\Tomcat_Server\apache-tomcat-7.0.55\webapps\MyForthWeb does not exist or is not a readable directory

at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5108)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5292)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.ContainerBase startInternal

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyForthWeb]]

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

at java.util.concurrent.FutureTask.get(FutureTask.java:111)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyForthWeb]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5293)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources

java.lang.IllegalArgumentException: Document base D:\Java\jdk1.0.7_13\Tomcat_Server\apache-tomcat-7.0.55\webapps\MyFirstFilter does not exist or is not a readable directory

at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5108)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5292)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.ContainerBase startInternal

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyFirstFilter]]

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

at java.util.concurrent.FutureTask.get(FutureTask.java:111)

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyFirstFilter]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5293)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources

java.lang.IllegalArgumentException: Document base D:\Java\jdk1.0.7_13\Tomcat_Server\apache-tomcat-7.0.55\webapps\ServletGetFormInfoDemo does not exist or is not a readable directory

at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)

at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5108)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5292)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)

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)

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.ContainerBase startInternal

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletGetFormInfoDemo]]

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

15)


Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ServletGetFormInfoDemo]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5293)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardContext resourcesStart

SEVERE: Error starting static Resources

java.lang.IllegalArgumentException: Document base D:\Java\jdk1.0.7_13\Tomcat_Server\apache-tomcat-7.0.55\webapps\MyFirstSerlet does not exist or is not a readable directory


二月 16, 2016 3:03:00 下午 org.apache.catalina.core.ContainerBase startInternal

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyFirstSerlet]]


at java.lang.Thread.run(Thread.java:722)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MyFirstSerlet]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5293)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.ContainerBase startInternal

SEVERE: A child container failed during start

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]


Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]


at java.lang.Thread.run(Thread.java:722)

Caused by: org.apache.catalina.LifecycleException: A child container failed during start

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)

at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 9 more

Caused by: org.apache.catalina.LifecycleException: A child container failed during start

at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)

at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

... 11 more

二月 16, 2016 3:03:00 下午 org.apache.coyote.AbstractProtocol pause

INFO: Pausing ProtocolHandler ["http-apr-8080"]

二月 16, 2016 3:03:00 下午 org.apache.coyote.AbstractProtocol pause

INFO: Pausing ProtocolHandler ["ajp-apr-8009"]

二月 16, 2016 3:03:00 下午 org.apache.catalina.core.StandardService stopInternal

INFO: Stopping service Catalina

二月 16, 2016 3:03:00 下午 org.apache.coyote.AbstractProtocol destroy

INFO: Destroying ProtocolHandler ["http-apr-8080"]

二月 16, 2016 3:03:00 下午 org.apache.coyote.AbstractProtocol destroy

INFO: Destroying ProtocolHandler ["ajp-apr-8009"]


0 回复 有任何疑惑可以回复我~

虽然myeclipse上删了项目的工程,但不代表web容器里的应用也删了。发布应用其实是发布到tomcat的webapps目录下,删掉它才算彻底删除。

0 回复 有任何疑惑可以回复我~
#1

Refactor易先生 提问者

删了以后出现下面的状况,tomcat服务器好像不能启动了。这是怎么回事啊?webAPP下面原来自带的项目没有删除,删除的是我以前的。
2016-02-16 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

关于Tomcat服务器。重启服务器之后为什么在控制台上还会显示以前项目中的一些数据,那个项目在MyEclipse上面已经删除。但是为什么重启服务器后还会显示呢。诸位同学求解决办法Server startup in 21493 ms

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信