liushuo

 

tomcat启动的时候老报错

tomcat启动的时候报错 配置文件一点都没有变动

2009-5-7 10:37:49 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\java
\jdk1.6.0_07\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;.;C:\P
rogram Files\java\jdk1.6.0_07\bin;C:\Program Files\Common Files\Adobe\AGL;C:\Pro
gram Files\StormII\Codec;C:\Program Files\StormII
2009-5-7 10:37:49 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-5-7 10:37:49 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 532 ms
2009-5-7 10:37:49 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-5-7 10:37:49 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.27
2009-5-7 10:37:49 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2009-5-7 10:37:50 org.apache.tomcat.util.digester.Digester endElement
严重: End event threw exception
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUt
ils.java:930)
        at org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.jav
a:579)
        at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
        at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:105
8)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:601)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:807)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
        at org.apache.catalina.startup.ContextConfig.applicationWebConfig(Contex
tConfig.java:348)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
48)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:261)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
148)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:927)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:890)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> lookHello i
n servlet mapping
        at org.apache.catalina.core.StandardContext.addServletMapping(StandardCo
ntext.java:2327)
        at org.apache.catalina.core.StandardContext.addServletMapping(StandardCo
ntext.java:2303)
        ... 45 more
2009-5-7 10:37:50 org.apache.catalina.startup.ContextConfig applicationWebConfig

严重: Parse error in application web.xml file at jndi:/localhost/ch7/WEB-INF/web
.xml
java.lang.IllegalArgumentException: Invalid <url-pattern> lookHello in servlet m
apping
        at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.
java:2726)
        at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.
java:2752)
        at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:106
1)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:601)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:807)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
        at org.apache.catalina.startup.ContextConfig.applicationWebConfig(Contex
tConfig.java:348)
        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
48)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:261)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
148)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:927)
        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:890)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
2009-5-7 10:37:50 org.apache.catalina.startup.ContextConfig applicationWebConfig

严重: Occurred at line 10 column 19
2009-5-7 10:37:50 org.apache.catalina.startup.ContextConfig start
严重: Marking this application unavailable due to previous error(s)
2009-5-7 10:37:50 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2009-5-7 10:37:50 org.apache.catalina.core.StandardContext start
严重: Context [/ch7] startup failed due to previous errors
2009-5-7 10:37:50 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-5-7 10:37:50 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-5-7 10:37:50 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/15  config=null
2009-5-7 10:37:50 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2009-5-7 10:37:50 org.apache.catalina.startup.Catalina start
信息: Server startup in 1125 ms

posted on 2009-05-07 10:48 刘硕 阅读(1320) 评论(2)  编辑  收藏

评论

# re: tomcat启动的时候老报错[未登录] 2009-05-13 08:35 sclsch

仔细检查web.xml
是不是有没结束的标记  回复  更多评论   

# re: tomcat启动的时候老报错 2009-06-05 16:58 高手--不要问我是谁!嗯

高手给你指点下........
看几个重要信息.
one : 严重: End event threw exception
two :严重: Parse error in application web.xml file at jndi:/localhost/ch7/WEB-INF/web
.xml
three :严重: Error getConfigured
2009-5-7 10:37:50 org.apache.catalina.core.StandardContext start
严重: Context [/ch7] startup failed due to previous errors

  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

常用链接

留言簿(2)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜