tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: Tomcat Problems - Any help is appreciated
Date Thu, 16 Sep 2004 15:56:12 GMT
Suddenly? ;)

The error message tends to imply there is no DOCTYPE (at all) in one of 
your web.xml files. The parser fails when validating the doc with this 
rather strange error message.

HTH,

Jon

Wilson, Allen wrote:
> Hello...
> 
> I am running 4.1.18 and I suddenly started having problems with Tomcat.
> Here is the information that is in the catalina.out file (as added it as
> an attachment)...if someone can point me in the right direction to fix
> this...I would appreciate it....
> 
> Thanks you....
> 
> Allen
> 
> ****** Information in file *************
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.18
> org.xml.sax.SAXParseException: Document root element "web-app", must
> match DOCTYPE root "null".
> 	at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Error
> HandlerWrapper.java:232)
> 	at
> org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.jav
> a:173)
> 	at
> org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
> a:371)
> 	at
> org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
> a:305)
> 	at
> org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDVa
> lidator.java:1526)
> 	at
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVali
> dator.java:1804)
> 	at
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.
> java:724)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(X
> MLDocumentFragmentScannerImpl.java:759)
> 	at
> org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRoot
> ElementHook(XMLDocumentScannerImpl.java:957)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
> patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo
> cumentFragmentScannerImpl.java:329)
> 	at
> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
> 25)
> 	at
> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
> 81)
> 	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
> 	at
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
> :1175)
> 	at
> org.apache.commons.digester.Digester.parse(Digester.java:1495)
> 	at
> org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi
> g.java:282)
> 	at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
> 	at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
> ava:243)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:166)
> 	at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3567
> )
> 	at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
> va:821)
> 	at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> 	at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
> 	at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
> er.java:257)
> 	at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
> 	at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
> :569)
> 	at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
> 	at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
> 	at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36
> 8)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:166)
> 	at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
> 	at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> 	at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> 	at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> 	at
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
> 	at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> 	at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> [ERROR] Digester - -Parse Error at line 1 column 10: Document root
> element "web-app", must match DOCTYPE root "null".
> <org.xml.sax.SAXParseException: Document root element "web-app", must
> match DOCTYPE root "null".>
> org.xml.sax.SAXParseException: Document is invalid: no grammar found.
> 	at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Error
> HandlerWrapper.java:232)
> 	at
> org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.jav
> a:173)
> 	at
> org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
> a:371)
> 	at
> org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav
> a:305)
> 	at
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVali
> dator.java:1816)
> 	at
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.
> java:724)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(X
> MLDocumentFragmentScannerImpl.java:759)
> 	at
> org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRoot
> ElementHook(XMLDocumentScannerImpl.java:957)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
> patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo
> cumentFragmentScannerImpl.java:329)
> 	at
> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
> 25)
> 	at
> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
> 81)
> 	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
> 	at
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
> :1175)
> 	at
> org.apache.commons.digester.Digester.parse(Digester.java:1495)
> 	at
> org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi
> g.java:282)
> 	at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
> 	at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
> ava:243)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:166)
> 	at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3567
> )
> 	at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
> va:821)
> 	at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> 	at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
> 	at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy
> er.java:257)
> 	at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
> 	at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
> :569)
> 	at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
> 	at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
> 	at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:36
> 8)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:166)
> 	at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
> 	at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> 	at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> 	at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> 	at
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
> 	at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> 	at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> [ERROR] Digester - -Parse Error at line 1 column 10: Document is
> invalid: no grammar found. <org.xml.sax.SAXParseException: Document is
> invalid: no grammar found.>
> Stopping service Tomcat-Standalone
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message