tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D. Stimits" <stim...@comcast.net>
Subject Re: minor glitch struts-config.xml tomcat 5.0.30
Date Fri, 03 Dec 2004 03:59:54 GMT
D. Stimits wrote:
> Just posting a note for people doing google searches.
> 
> 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(Unknown 
> 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.

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