注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

龙在泡温泉

我觉得吧。。架构。。是一门艺术。。讲究 说学看画

 
 
 

日志

 
 
关于我

战胜自我是我毕生的信念,热爱生活的我愿意与每位朋友分享我生活中的点点滴滴!

网易考拉推荐

[转]java.lang.IllegalArgumentException: Document base D:\appservers\apache-tomcat-6.0.20\webapps  

2011-07-28 14:32:17|  分类: java |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
java.lang.IllegalArgumentException: Document base D:\appservers\apache-tomcat-6.0.20\webapps\megaeyes_enterprise_manager does not exist or is not a readable directory

 

2010-5-20 15:22:44 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\MyEclipse 6.5\bin;D:\appservers\apache-tomcat-6.0.20\bin
2010-5-20 15:22:44 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8081
2010-5-20 15:22:44 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 788 ms
2010-5-20 15:22:44 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-5-20 15:22:44 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2010-5-20 15:22:46 org.apache.catalina.core.StandardContext resourcesStart
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base D:\appservers\apache-tomcat-6.0.20\webapps\megaeyes_enterprise_manager 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(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:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2010-5-20 15:22:46 org.apache.catalina.core.StandardContext start
严重: Error in resourceStart()
2010-5-20 15:22:46 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2010-5-20 15:22:46 org.apache.catalina.core.StandardContext start
严重: Context [/megaeyes_enterprise_manager] startup failed due to previous errors
2010-5-20 15:22:46 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/megaeyes_enterprise_manager] has not been started
2010-5-20 15:22:46 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2010-5-20 15:22:46 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2010-5-20 15:22:50 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2010-5-20 15:22:51 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Unable to locate configuration files of the name struts-plugin.xml, skipping
2010-5-20 15:22:51 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2010-5-20 15:22:51 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
2010-5-20 15:22:52 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8081
2010-5-20 15:22:52 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-5-20 15:22:52 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47  config=null
2010-5-20 15:22:52 org.apache.catalina.startup.Catalina start
信息: Server startup in 7575 ms

 

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

1.该项目的War文件从***\apache-tomcat-6.0.16\webapps 移出;

2.该项目的某些配置从 ***apache-tomcat-6.0.16\work\Catalina\localhost 移除;

3.该项目的配置文件,目录: ***\apache-tomcat-6.0.16\conf\Catalina\localhost移除。

前2步,我想很多人都知道,做了1,2,是不够的,必须把第三步也做了才行

  评论这张
 
阅读(3805)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018