tomcat-users mailing list archives

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

Hi,
I posted this a couple of days ago:
http://marc.theaimsgroup.com/?l=tomcat-user&m=110184784714876&w=2.

Yoav Shapira http://www.yoavshapira.com
 

>-----Original Message-----
>From: D. Stimits [mailto:stimits@comcast.net]
>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:
>>>   "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"
>>>
>>> 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
>>>
>org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkn
own
>>> 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
this
>> 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
did
>> 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
dtd.
>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
and
>the network has full access to this file?
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message