| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2882 人关注过本帖
标题:tomcat错误问题,大家帮帮忙
取消只看楼主 加入收藏
shiyuehai
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:96
专家分:116
注 册:2009-9-4
结帖率:87.5%
收藏
已结贴  问题点数:0 回复次数:3 
tomcat错误问题,大家帮帮忙
在myeclipse里面设置好tomcat的位置,运行后出现以下错误:
2011-2-28 16:58:22 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\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Program Files\Apache Software Foundation\apache-tomcat-6.0.32\bin
2011-2-28 16:58:22 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
2011-2-28 16:58:22 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-2-28 16:58:22 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 781 ms
2011-2-28 16:58:22 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-2-28 16:58:22 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2011-2-28 16:58:22 org.apache.catalina.core.StandardContext resourcesStart
严重: Error starting static Resources
java.lang.IllegalArgumentException: Document base E:\www 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: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)
2011-2-28 16:58:22 org.apache.catalina.core.StandardContext start
严重: Error in resourceStart()
2011-2-28 16:58:22 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2011-2-28 16:58:22 org.apache.catalina.core.StandardContext start
严重: Context [/new] startup failed due to previous errors
2011-2-28 16:58:22 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/new] has not been started
2011-2-28 16:58:22 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-2-28 16:58:23 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-2-28 16:58:23 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-2-28 16:58:23 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-2-28 16:58:23 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2011-2-28 16:58:23 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2011-2-28 16:58:23 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2011-2-28 16:58:23 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-2-28 16:58:23 org.apache. init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-2-28 16:58:23 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/32  config=null
2011-2-28 16:58:23 org.apache.catalina.startup.Catalina start
信息: Server startup in 1133 ms
我的myeclipse版本是7.5,tomcat是非安装6.0版本,大家帮帮忙,我弄了很久搞不定他,谢了
搜索更多相关主题的帖子: Software 
2011-02-28 17:06
shiyuehai
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:96
专家分:116
注 册:2009-9-4
收藏
得分:0 
回复 楼主 shiyuehai
哈哈,发完贴我就自己搞定了,忘记上来说了
2011-03-03 23:37
shiyuehai
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:96
专家分:116
注 册:2009-9-4
收藏
得分:0 
回复 2楼 gdy0349
发完贴就搞定了,就没来理了
2011-03-03 23:38
shiyuehai
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:96
专家分:116
注 册:2009-9-4
收藏
得分:0 
回复 6楼 w123012306
谢谢,我想请教下你,为什么我同样一个web项目,我创建的时候点Java EE 5不能运行,点J2EE就可以呢,代码一样的,web.xml配置也一样的,麻烦你帮我看看
程序代码:
<servlet>
    <servlet-name>CheckLogin</servlet-name>
    <servlet-class>com.checkcode.servlet.CheckLogin</servlet-class>

 </servlet>

 <servlet>
    <servlet-name>AuthImage</servlet-name>
    <servlet-class>com.checkcode.servlet.AuthImage</servlet-class>
  </servlet>


  <servlet-mapping>
    <servlet-name>CheckLogin</servlet-name>
    <url-pattern>/CheckLogin</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>AuthImage</servlet-name>
    <url-pattern>/AuthImage</url-pattern>
  </servlet-mapping>
2011-03-05 21:34
快速回复:tomcat错误问题,大家帮帮忙
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019781 second(s), 10 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved