tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: HELP!! Tomcat crashes on me!
Date Mon, 02 Dec 2002 08:35:25 GMT
In Tomcat's own (very verbose, but who said cats are quiet :) way, it's
saying that there are errors in your <Context> declarations.  In particular,
the XML is not well-formed (e.g. your elements aren't properly nested).
This is usually caused by forgetting a closing-tag, or writing <Tag> when
you meant <Tag />.  Without seeing your server.xml, I really can't tell you
much more.  However it looks like the error is somewhere around line 369.

"Steve R Burrus" <burrus21@yahoo.com> wrote in message
news:20021202072647.41947.qmail@web13001.mail.yahoo.com...
> Bill, I am about to go to bed, but I couldn't help but displaying the
"screen
> dump" to u from executing the "catalina run" command:
>
>  "C:\jakarta-tomcat-4.1.12\bin>catalina run
> Using CATALINA_BASE:   ..
> Using CATALINA_HOME:   ..
> Using CATALINA_TMPDIR: ..\temp
> Using JAVA_HOME:       C:\j2sdk1.4.1_01\
> Dec 2, 2002 1:21:41 AM org.apache.commons.modeler.Registry loadRegis
> INFO: Loading registry information
> Dec 2, 2002 1:21:42 AM org.apache.commons.modeler.Registry getRegist
> INFO: Creating new Registry instance
> Dec 2, 2002 1:21:43 AM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Dec 2, 2002 1:21:45 AM org.apache.commons.digester.Digester fatalErr
> SEVERE: Parse Fatal Error at line 369 column 14: The element type "C
>  be terminated by the matching end-tag "</Context>".
> org.xml.sax.SAXParseException: The element type "Context" must be te
> the matching end-tag "</Context>".
>         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParse
> rorHandlerWrapper.java:232)
>         at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Err
> pper.java:213)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLEr
> java:366)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLEr
> java:296)
>         at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLSca
> 69)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.han
> t(XMLDocumentFragmentScannerImpl.java:1133)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.sca
> XMLDocumentFragmentScannerImpl.java:987)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fra
> Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.sca
> LDocumentFragmentScannerImpl.java:333)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfi
> a:524)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfi
> a:580)
>         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Abstrac
> ava:1169)
>         at org.apache.commons.digester.Digester.parse(Digester.java:
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:
>         at org.apache.catalina.startup.Catalina.execute(Catalina.jav
>         at org.apache.catalina.startup.Catalina.process(Catalina.jav
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java
> Catalina.start: org.xml.sax.SAXParseException: The element type "Con
> e terminated by the matching end-tag "</Context>".
> org.xml.sax.SAXParseException: The element type "Context" must be te
> the matching end-tag "</Context>".
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Abstrac
> ava:1183)
>         at org.apache.commons.digester.Digester.parse(Digester.java:
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:
>         at org.apache.catalina.startup.Catalina.execute(Catalina.jav
>         at org.apache.catalina.startup.Catalina.process(Catalina.jav
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java
>
> C:\jakarta-tomcat-4.1.12\bin>"
>
> I DEFY you to make any kind of "rhyme or reason" out of this error
message! What
> does all of this mean?
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com





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


Mime
View raw message