错误记录Tomcat报错T_T does not exist or is not a readable directory

2009-12-4 13:10:49 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\CodingSoftware\MyEclipse 6.6\bin;D:\CodingSoftware\Tomcat 5.5\bin
2009-12-4 13:10:49 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8111
2009-12-4 13:10:49 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 875 ms
2009-12-4 13:10:49 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-12-4 13:10:49 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.17
2009-12-4 13:10:49 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2009-12-4 13:10:49 org.apache.catalina.core.StandardContext resourcesStart
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\workspace\myeclipse6.6pro\testtemp does not exist or is not a readable directory
    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3814)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3985)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2009-12-4 13:10:49 org.apache.catalina.core.StandardContext start
严重: Error in resourceStart()
2009-12-4 13:10:49 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2009-12-4 13:10:49 org.apache.catalina.core.StandardContext start
严重: Context [/test] startup failed due to previous errors
2009-12-4 13:10:49 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test] has not been started
2009-12-4 13:10:49 org.apache.catalina.core.ApplicationContext log
信息: default: DefaultServlet.init:  input buffer size=2048, output buffer size=2048
2009-12-4 13:10:50 org.apache.catalina.core.ApplicationContext log
信息: default: DefaultServlet.init:  input buffer size=2048, output buffer size=2048
2009-12-4 13:10:50 org.apache.catalina.core.ApplicationContext log
信息: default: DefaultServlet.init:  input buffer size=2048, output buffer size=2048
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
2009-12-4 13:10:51 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2009-12-4 13:10:51 org.apache.catalina.core.StandardContext start
严重: Context [/guestbook] startup failed due to previous errors
2009-12-4 13:10:52 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8111
2009-12-4 13:10:52 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-12-4 13:10:52 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47  config=null
2009-12-4 13:10:52 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2009-12-4 13:10:52 org.apache.catalina.startup.Catalina start
信息: Server startup in 3047 ms

 

======================================================

 

原来是tomcat  conf server.xml  下以前配置了一个网站。但是文件已经没了。没去掉。。 = =

 

 

但是还是不能启动~~!!

2009-12-4 13:24:52 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\CodingSoftware\MyEclipse 6.6\bin;D:\CodingSoftware\Tomcat 5.5\bin
2009-12-4 13:24:52 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8111
2009-12-4 13:24:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 782 ms
2009-12-4 13:24:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-12-4 13:24:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.17
2009-12-4 13:24:52 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2009-12-4 13:24:53 org.apache.catalina.core.ApplicationContext log
信息: default: DefaultServlet.init:  input buffer size=2048, output buffer size=2048
2009-12-4 13:24:53 org.apache.catalina.core.ApplicationContext log
信息: default: DefaultServlet.init:  input buffer size=2048, output buffer size=2048
2009-12-4 13:24:53 org.apache.catalina.core.ApplicationContext log
信息: default: DefaultServlet.init:  input buffer size=2048, output buffer size=2048
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
2009-12-4 13:24:55 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2009-12-4 13:24:55 org.apache.catalina.core.StandardContext start
严重: Context [/guestbook] startup failed due to previous errors
2009-12-4 13:24:55 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8111
2009-12-4 13:24:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-12-4 13:24:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31  config=null
2009-12-4 13:24:55 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2009-12-4 13:24:55 org.apache.catalina.startup.Catalina start
信息: Server startup in 3062 ms

 

==============================

网上如是说:

其实是web.xml的错误!
我后来又遇到了,认真检查了一下.
有时候这个问题是很奇怪的,重新粘贴一个web.xml就没有错误了。

 

 

我再去检查下吧。= =

你可能感兴趣的:(java,apache,tomcat,log4j,struts)