You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by TI...@aol.com on 2001/07/10 14:29:23 UTC

Urgent help with tomcat 4.0 b5

Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works 
fine but for some reason i get the following error on the MS DOS window when 
i start it:

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b5
PARSE error at line 77 column -1
org.xml.sax.SAXParseException: Element "description" does not allow 
"servlet-map
ping" -- (#PCDATA)
Starting service Tomcat-Apache
Apache Tomcat/4.0-b5

i get this error ONLY when i add my context to the server.xml... i cant see 
whats wrong as i used the same context with tomcat 3.2.2 and it was 
fine...here is the context i added:

<Context path="/wap" 
                 docBase="c:/wapfolder"
                 debug="0" 
                 reloadable="true" >
</Context>

please advise... i give up :-)
thanx 
Tim


RE: Urgent help with tomcat 4.0 b5

Posted by Greg Trasuk <tr...@stratuscom.ca>.
The parser error is saying that it is finding a "servlet-mapping" element
inside a "description" element, which is not valid according to the DTD.
Offhand, I suspect you have an unclosed "description" element.  Look for a
very subtle typographical error or spelling mistake in your web.xml.
Unfortunately, I find you can look at those things for hours and still miss
minor errors.

Greg Trasuk, President
StratusCom Manufacturing Systems Inc. - We use technology to turn
information into profits on your plant floor.
http://stratuscom.ca

-----Original Message-----
From: TIMBMS@aol.com [mailto:TIMBMS@aol.com]
Sent: Tuesday, July 10, 2001 8:29 AM
To: tomcat-user@jakarta.apache.org
Subject: Urgent help with tomcat 4.0 b5


Hi there
i downloaded Tomcat 4.0 b5 and installed it on my PC running win98. it works
fine but for some reason i get the following error on the MS DOS window when
i start it:

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b5
PARSE error at line 77 column -1
org.xml.sax.SAXParseException: Element "description" does not allow
"servlet-map
ping" -- (#PCDATA)
Starting service Tomcat-Apache
Apache Tomcat/4.0-b5

i get this error ONLY when i add my context to the server.xml... i cant see
whats wrong as i used the same context with tomcat 3.2.2 and it was
fine...here is the context i added:

<Context path="/wap"
                docBase="c:/wapfolder"
                debug="0"
                reloadable="true" >
</Context>

please advise... i give up :-)
thanx
Tim