tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: minor glitch struts-config.xml tomcat 5.0.30
Date Fri, 03 Dec 2004 14:01:22 GMT

I posted this a couple of days ago:

Yoav Shapira

>-----Original Message-----
>From: D. Stimits []
>Sent: Thursday, December 02, 2004 11:21 PM
>To: Tomcat Users List
>Subject: Re: minor glitch struts-config.xml tomcat 5.0.30
>>> The default server/webapps/admin/WEB-INF/struts-config.xml on tomcat
>>> 5.0.30 uses DOCTYPE that is incorrect. The DOCTYPE should use:
>>>   ""
>>> The config_1_0.dtd results in catalina.out:
>>> Dec 2, 2004 8:32:27 PM org.apache.commons.digester.Digester error
>>> SEVERE: Parse Error at line 1063 column 63: Element type
>>> "message-resources" must be declared.
>>> org.xml.sax.SAXParseException: Element type "message-resources" must
>>> be declared.
>>>         at
>>> Source)
>>> Using struts-config_1_2.dtd removes the catalina.out log message.
>> I take it back, apparently this does not fix it. Somehow I removed
>> error and in putting it back to get the log message for the email
>> report, it broke again...but changing the dtd back to 1_2.dtd again
>> not fix it this time.
>I went back and double and triple checked the URL to the
>struts-config_1_2.dtd is correct, and downloading the dtd, the
>message-resources tag IS declared in the 1_2 dtd but not in the 1_0
>So I began to think maybe there was a temp file that still had the old
>dtd listed, or there was a typo when I edited it again. I don't see it
>though. Why am I getting the
>"message-resources" must be declared
>error in catalina.out if I am using the 1_2 dtd and the URL is right
>the network has full access to this file?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message