Feb 12, 2004 2:41:59 PM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 360 column 9: The element type "Context"
must be terminated by the matching end-tag "</Context>".
org.xml.sax.SAXParseException: The element type "Context" must be terminated
by the matching end-tag "</Context>".

Judging by your error message, your webapp's context xml file or your server.xml file has an error. Check for case match and spelling errors in the <Context> begin and end tags as well as the immediate child elements of <Context>. Also be sure quotes opened in tag attributes are closed. I can't count the number of times where I forgot a quote, opened an element when I meant to close it, or just misspelled the element all together.

NetBeans IDE or some other xml highlighting text editor should be able to help find the problem.

--David


Hello,

I have Tomact installed on a W2K server.
When I start the Tomcat service the service stops after a short time and
wrote some messages in the stderr.log file.
This is a copy of the stderr.log file
---------------------
Feb 12, 2004 2:41:59 PM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 360 column 9: The element type "Context"
must be terminated by the matching end-tag "</Context>".
org.xml.sax.SAXParseException: The element type "Context" must be terminated
by the matching end-tag "</Context>".
        at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1548)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:532)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:570)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
--------------------------------

Who can tell me wich file is the syntax wrong?

Greetings

Jake DeVries

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to