Thanks,<servlet> tag in wrong order...

>>> "Shapira, Yoav" <[EMAIL PROTECTED]> 13/10/2004 10:55:19 pm >>> 

Hi, 
There should be a message in the (normal, not error) log like
"deploying 
web application at /path" -- that's how you can tell what web.xml
caused 
the error. 

An alternative approach (which should be done anyways as a matter of 
habit) is to independently (that is, outside of Tomcat) validate your 
web.xml file using a tool like XMLSpy or one of the free online 
alternatives. 

Yoav Shapira http://www.yoavshapira.com 


>-----Original Message----- 
>From: Aziz Yacoub [ mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, October 13, 2004 8:17 AM 
>To: [EMAIL PROTECTED] 
>Subject: Error on Tomcat startup 
> 
>I notice the following error on starting TC 4.1.30 on WinXP in 
>stderr.log. What file is it parsing? I assume it's one of the web.xml

>files, but is there a quick way of finding out which one without
having 
>to go through each of them? 
> 
>Thanks for any help. 
> 
>13/10/2004 21:30:42 org.apache.commons.digester.Digester error 
>SEVERE: Parse Error at line 59 column 11: The content of element type

>"web-app" must match 
>"(icon?,display-name?,description?,distributable?,context- 
>param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,sess

ion- 
>config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-e

nv- 
>ref*,resource-ref*,security-constraint*,login-config?,security-role*,en

v- 
>entry*,ejb-ref*,ejb-local-ref*)". 
>org.xml.sax.SAXParseException: The content of element type "web-app" 
>must match 
>"(icon?,display-name?,description?,distributable?,context- 
>param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,sess

ion- 
>config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-e

nv- 
>ref*,resource-ref*,security-constraint*,login-config?,security-role*,en

v- 
>entry*,ejb-ref*,ejb-local-ref*)". 
> at 
>org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkn

own 
>Source) 
>etc 
> 



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. 

Reply via email to