Tomcat无法启动,昨天还好好的--谢谢各位大神帮我看下谢谢

轻松熊面条 发布于 2016/02/17 13:56
阅读 2K+
收藏 0

【DevOps必读】产品经理与程序员之间如何破局?>>>

?? 17, 2016 12:58:11 ?? org.apache.tomcat.util.digester.SetPropertiesRule begin

??: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:myhttp' did not find a matching property.

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Server version:        Apache Tomcat/7.0.67

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Server built:          Dec 7 2015 13:07:11 UTC

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Server number:         7.0.67.0

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: OS Name:               Mac OS X

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: OS Version:            10.11.3

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Architecture:          x86_64

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Java Home:             /Applications/MyEclipse 2015 CI/MyEclipse 2015 CI.app/Contents/Profile/binary/com.sun.java.jdk7.macosx.x86_64_1.7.0.u45/jre

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: JVM Version:           1.7.0_45-b18

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: JVM Vendor:            Oracle Corporation

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: CATALINA_BASE:         /usr/local/Tomcat

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: CATALINA_HOME:         /usr/local/Tomcat

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dcatalina.base=/usr/local/Tomcat

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dcatalina.home=/usr/local/Tomcat

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dwtp.deploy=/usr/local/Tomcat/me-webapps

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Djava.endorsed.dirs=/usr/local/Tomcat/endorsed

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.VersionLoggerListener log

??: Command line argument: -Dfile.encoding=US-ASCII

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.AprLifecycleListener lifecycleEvent

??: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/wjw/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

?? 17, 2016 12:58:11 ?? org.apache.coyote.AbstractProtocol init

??: Initializing ProtocolHandler ["http-bio-8080"]

?? 17, 2016 12:58:11 ?? org.apache.coyote.AbstractProtocol init

??: Initializing ProtocolHandler ["ajp-bio-8009"]

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.Catalina load

??: Initialization processed in 844 ms

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.StandardService startInternal

??: Starting service Catalina

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.StandardEngine startInternal

??: Starting Servlet Engine: Apache Tomcat/7.0.67

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.StandardContext resourcesStart

??: Error starting static Resources

java.lang.IllegalArgumentException: Document base /usr/local/Tomcat/me-webapps/usr/local/apache-tomcat-7.0.67/me-webapps/myhttp 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:5206)

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

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

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

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

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)

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.ContainerBase startInternal

??: A child container failed during start

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

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

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

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

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

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

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

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

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)

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

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

... 6 more

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

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

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

... 6 more

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.ContainerBase startInternal

??: A child container failed during start

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

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

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

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

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

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

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

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

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

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

at org.apache.catalina.startup.Catalina.start(Catalina.java:693)

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:606)

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

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

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

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

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

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

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)

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

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

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

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

... 6 more

?? 17, 2016 12:58:11 ?? org.apache.catalina.startup.Catalina start

??: The required Server component failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]

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

at org.apache.catalina.startup.Catalina.start(Catalina.java:693)

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:606)

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

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

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:1130)

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

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

... 11 more

?? 17, 2016 12:58:11 ?? org.apache.coyote.AbstractProtocol pause

??: Pausing ProtocolHandler ["http-bio-8080"]

?? 17, 2016 12:58:11 ?? org.apache.coyote.AbstractProtocol pause

??: Pausing ProtocolHandler ["ajp-bio-8009"]

?? 17, 2016 12:58:11 ?? org.apache.catalina.core.StandardService stopInternal

??: Stopping service Catalina

?? 17, 2016 12:58:11 ?? org.apache.coyote.AbstractProtocol destroy

??: Destroying ProtocolHandler ["http-bio-8080"]

?? 17, 2016 12:58:11 ?? org.apache.coyote.AbstractProtocol destroy

??: Destroying ProtocolHandler ["ajp-bio-8009"]


加载中
0
yzbty23
yzbty23

你这是什么啊?


轻松熊面条
用my eclipse 运行的 错误信息。弹出个提示 说无法启动
0
yzbty23
yzbty23
你是不是删除了什么东西还是?
轻松熊面条
今天创建了一个java项目 想去访问昨天写好的网页。在java项目中添加了http。。apache。。client之类的jar包。还没运行,今天不管宠myec启动 还是从mac 的终端启动tomcat 都是无法启动不知道为啥
0
筱恕

可以从异常中的这句话先找问题

java.lang.IllegalArgumentException: Document base /usr/local/Tomcat/me-webapps/usr/local/apache-tomcat-7.0.67/me-webapps/myhttp does not exist or is not a readable directory

轻松熊面条
OK谢谢指导
0
zn123
zn123
/usr/local/Tomcat/me-webapps            /usr/local/apache-tomcat-7.0.67/
轻松熊面条
谢谢指导。
返回顶部
顶部