`
gstarwd
  • 浏览: 1525115 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

错误记录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就没有错误了。

 

 

我再去检查下吧。= =

分享到:
评论
2 楼 gstarwd 2010-04-05  
greatwqs 写道
不一样的错误信息..
信息: Loading chain catalog from jar:file:/E:/netBeans_ch/GreatMedia_SSH/build/web/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xml
2010-3-30 18:03:27 org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
信息: Tiles definition factory loaded for module ''.
2010-3-30 18:03:27 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'
2010-3-30 18:03:27 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml'
2010-3-30 18:03:27 org.apache.catalina.core.StandardContext resourcesStart
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\My Documents\NetBeansProjects\GreatwqsTest\build\web does not exist or is not a readable directory
        at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
        at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
        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:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

差不多哦~~
1 楼 greatwqs 2010-03-30  
不一样的错误信息..
信息: Loading chain catalog from jar:file:/E:/netBeans_ch/GreatMedia_SSH/build/web/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xml
2010-3-30 18:03:27 org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
信息: Tiles definition factory loaded for module ''.
2010-3-30 18:03:27 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'
2010-3-30 18:03:27 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml'
2010-3-30 18:03:27 org.apache.catalina.core.StandardContext resourcesStart
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\My Documents\NetBeansProjects\GreatwqsTest\build\web does not exist or is not a readable directory
        at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
        at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
        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:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

相关推荐

Global site tag (gtag.js) - Google Analytics