tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject Re: Tomcat Problems - Any help is appreciated
Date Thu, 16 Sep 2004 15:48:51 GMT
On Thu, 2004-09-16 at 10:44 -0500, Wilson, Allen wrote:
> 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....

[...]
> org.xml.sax.SAXParseException: Document root element "web-app", must
> match DOCTYPE root "null".
[...]
> [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.>

It cannot find any dtd to validate the web.xml file against. Do you have
something like 

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

in web.xml? Tomcat should have a local copy of this file, but it might
have been corrupted.

-- 
Torgeir Veimo <torgeir@pobox.com>


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