tomcat启动又有问题了!!大牛帮帮忙 谢谢!

白日梦想家 发布于 2014/06/27 16:18
阅读 5K+
收藏 1

完整的报错如下,警告部分我标红了  大神帮忙看一下

ps:etc/hosts 里边有 127.0.0.1 localhost 

Jun 27, 2014 4:01:37 PM org.apache.catalina.core.AprLifecycleListener init

INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jun 27, 2014 4:01:37 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed to initialize the SSLEngine.
Jun 27, 2014 4:01:38 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 27, 2014 4:01:38 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jun 27, 2014 4:01:38 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1785 ms
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Jun 27, 2014 4:01:38 PM org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context []
java.io.IOException: Application base directory /usr/local/tomcat6/apps does not exist
 at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:123)
        at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:886)
        at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1021)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:5700)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4448)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Invalid or unreadable WAR file : /usr/local/tomcat6/projects/GGE-Backend.war
        at org.apache.naming.resources.WARDirContext.setDocBase(WARDirContext.java:130)
        at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4319)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Jun 27, 2014 4:01:38 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[backend.gge.hk].[/] has not been started
Jun 27, 2014 4:01:44 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 27, 2014 4:02:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Jun 27, 2014 4:02:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Jun 27, 2014 4:02:02 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jun 27, 2014 4:02:03 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 27, 2014 4:02:03 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 27, 2014 4:02:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jun 27, 2014 4:02:03 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 27, 2014 4:02:03 PM org.apache.catalina.connector.MapperListener registerEngine
WARNING: Unknown default host: localhost
Jun 27, 2014 4:02:03 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jun 27, 2014 4:02:03 PM org.apache.catalina.connector.MapperListener registerEngine
WARNING: Unknown default host: localhost
Jun 27, 2014 4:02:03 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 24907 ms
加载中
0
Conquer0101
Conquer0101

看一下你的server.xml是否修改正确;路径是否正确;不行的话换一个tomcat试试看。

0
iFlyS
iFlyS
解决了吗我也是这个问题
0
ador
ador
war包里有-  去掉就正常了
返回顶部
顶部