tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Tomcat Problems - Any help is appreciated
Date Thu, 16 Sep 2004 15:49:01 GMT

Hi,
Usually problems don't start by themselves ;)  Your web.xml seems
invalid; can you validate using a tool like XMLSpy?  Look into what
changed in your web.xml file(s) recently.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Wilson, Allen [mailto:Allen.Wilson@marcresearch.com]
>Sent: Thursday, September 16, 2004 11:44 AM
>To: Tomcat Users List
>Subject: Tomcat Problems - Any help is appreciated
>
>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(Erro
r
>HandlerWrapper.java:232)
>	at
>org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.ja
v
>a:173)
>	at
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.ja
v
>a:371)
>	at
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.ja
v
>a:305)
>	at
>org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDV
a
>lidator.java:1526)
>	at
>org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVal
i
>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.scanRoo
t
>ElementHook(XMLDocumentScannerImpl.java:957)
>	at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
s
>patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
>	at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
o
>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.jav
a
>:1175)
>	at
>org.apache.commons.digester.Digester.parse(Digester.java:1495)
>	at
>org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConf
i
>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(LifecycleS
u
>pport.java:166)
>	at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:356
7
>)
>	at
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
a
>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(StandardHostDeplo
y
>er.java:257)
>	at
>org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>	at
>org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.jav
a
>: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:3
6
>8)
>	at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
u
>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(Erro
r
>HandlerWrapper.java:232)
>	at
>org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.ja
v
>a:173)
>	at
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.ja
v
>a:371)
>	at
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.ja
v
>a:305)
>	at
>org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVal
i
>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.scanRoo
t
>ElementHook(XMLDocumentScannerImpl.java:957)
>	at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
s
>patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
>	at
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD
o
>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.jav
a
>:1175)
>	at
>org.apache.commons.digester.Digester.parse(Digester.java:1495)
>	at
>org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConf
i
>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(LifecycleS
u
>pport.java:166)
>	at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:356
7
>)
>	at
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
a
>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(StandardHostDeplo
y
>er.java:257)
>	at
>org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>	at
>org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.jav
a
>: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:3
6
>8)
>	at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
u
>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




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
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