| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1232 人关注过本帖
标题:新手请教一下问题!!启动tomcat的时候出来的那些严重信息是怎么回事!!! ...
取消只看楼主 加入收藏
cuipan0122
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2009-11-12
结帖率:0
收藏
已结贴  问题点数:20 回复次数:1 
新手请教一下问题!!启动tomcat的时候出来的那些严重信息是怎么回事!!!谢谢
2009-11-12 23:42:33 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\Java\jdk1.6.0_14\jre\bin;D:\Program Files\tomcat-6.0.18\apache-tomcat-6.0.18\bin
2009-11-12 23:42:33 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-11-12 23:42:33 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1066 ms
2009-11-12 23:42:33 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-11-12 23:42:33 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2009-11-12 23:42:34 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2009-11-12 23:42:34 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2009-11-12 23:42:34 org.apache.tomcat.util.digester.Digester fatalError
严重: Parse Fatal Error at line 2 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at com.(ErrorHandlerWrapper.java:195)
    at com.(ErrorHandlerWrapper.java:174)
    at com.(XMLErrorReporter.java:388)
    at com.(XMLScanner.java:1411)
    at com.(XMLDocumentScannerImpl.java:1039)
    at com.(XMLDocumentScannerImpl.java:648)
    at com.(XMLDocumentFragmentScannerImpl.java:510)
    at com.(XML11Configuration.java:807)
    at com.(XML11Configuration.java:737)
    at com.(XMLParser.java:107)
    at com.(AbstractSAXParser.java:1205)
    at com.(SAXParserImpl.java:522)
    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
    at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    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:525)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    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:578)
    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)
2009-11-12 23:42:34 org.apache.catalina.startup.ContextConfig applicationWebConfig
严重: Parse error in application web.xml file at jndi:/localhost/myapp/WEB-INF/web.xml
org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at com.(AbstractSAXParser.java:1231)
    at com.(SAXParserImpl.java:522)
    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
    at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
    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:525)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    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:578)
    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)
2009-11-12 23:42:34 org.apache.catalina.startup.ContextConfig applicationWebConfig
严重: Occurred at line 2 column 1
2009-11-12 23:42:34 org.apache.catalina.startup.ContextConfig start
严重: Marking this application unavailable due to previous error(s)
2009-11-12 23:42:34 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2009-11-12 23:42:34 org.apache.catalina.core.StandardContext start
严重: Context [/myapp] startup failed due to previous errors
2009-11-12 23:42:35 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-11-12 23:42:35 org.apache. init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-11-12 23:42:35 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/62  config=null
2009-11-12 23:42:35 org.apache.catalina.startup.Catalina start
信息: Server startup in 1947 ms
搜索更多相关主题的帖子: tomcat 
2009-11-13 00:01
cuipan0122
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2009-11-12
收藏
得分:0 
恩!!!谢谢你们了!!我试试看!!重新配置一下
2009-11-13 08:25
快速回复:新手请教一下问题!!启动tomcat的时候出来的那些严重信息是怎么回事! ...
数据加载中...
 
   



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

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