当前位置: 代码迷 >> Java Web开发 >> Tomcat启动为什么会出现太多严重
  详细解决方案

Tomcat启动为什么会出现太多严重

热度:243   发布时间:2007-11-08 15:47:34.0
Tomcat启动为什么会出现太多严重

Tomcat 启动为什么会出现如此多严重,有没有知道


2007-11-8 15:34:20 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: D:\jdk1.5.0_12\bin;.;
C:\WINDOWS\system32;C:\WINDOWS;D:\jdk1.5.0_12\bin;C:\WINDOWS\system32;C:\WINDOWS
;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Adobe\AGL;C:\Program Fil
es\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Common Files\Ulead System
s\MPEG;D:\Sun\AppServer\bin;;;D:\Visual Studio\Tools\WinNT;D:\Visual Studio\MSDe
v98\Bin;D:\Visual Studio\Tools;D:\Microsoft Visual Studio\VC98\bin;;C:\PROGRA~1\
COMMON~1\MUVEET~1\030625
2007-11-8 15:34:20 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2007-11-8 15:34:20 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 699 ms
2007-11-8 15:34:20 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-11-8 15:34:20 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
2007-11-8 15:34:21 org.apache.tomcat.util.digester.Digester endElement
严重: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUt
ils.java:930)
at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:7
94)
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:633)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(Contex
tConfig.java:369)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
62)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
236)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.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:5
16)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unkn
own servlet name OutputInfo
at org.apache.catalina.core.StandardContext.addServletMapping(StandardCo
ntext.java:2381)
at org.apache.catalina.core.StandardContext.addServletMapping(StandardCo
ntext.java:2361)
... 43 more
2007-11-8 15:34:22 org.apache.catalina.startup.ContextConfig applicationWebConfi
g
严重: Parse error in application web.xml file at jndi:/localhost/myapp/WEB-INF/w
eb.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet
name OutputInfo
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:633)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(Contex
tConfig.java:369)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
62)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
236)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.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:5
16)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2007-11-8 15:34:22 org.apache.catalina.startup.ContextConfig applicationWebConfi
g
严重: Occurred at line 28 column 20
2007-11-8 15:34:22 org.apache.catalina.startup.ContextConfig start
严重: Marking this application unavailable due to previous error(s)
2007-11-8 15:34:22 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2007-11-8 15:34:22 org.apache.catalina.core.StandardContext start
严重: Context [/myapp] startup failed due to previous errors
2007-11-8 15:34:22 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2007-11-8 15:34:22 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2007-11-8 15:34:22 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31 config=null
2007-11-8 15:34:22 org.apache.catalina.startup.Catalina start
信息: Server startup in 1348 ms

搜索更多相关主题的帖子: Tomcat  

----------------解决方案--------------------------------------------------------
  我有时候也会这样,至于什么问题 ,只要不影响tomcat的运行就可以了,我现在都有很多这样的问题,还会出错异常,但是tomcat照样可以启动,而且运行都没有出问题 。呵呵
----------------解决方案--------------------------------------------------------
呵呵
是啊,不知道什么原因,但是能启动Tomcat就好!!

----------------解决方案--------------------------------------------------------
应该是你的某个工程或者web应用里的某个页面里的标签没有结束标签.
你仔细检查一下.
----------------解决方案--------------------------------------------------------
  我也经常回碰到这样的问题,但重启就可以了。
----------------解决方案--------------------------------------------------------
一般是你的某个WEB工程的配置文件有错误!所以会出现暴多的严重,但是不影响别的工程的访问!
----------------解决方案--------------------------------------------------------
web.xml配置有问题
----------------解决方案--------------------------------------------------------
  相关解决方案