Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 81770 invoked from network); 3 Dec 2004 14:03:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Dec 2004 14:03:42 -0000 Received: (qmail 42570 invoked by uid 500); 3 Dec 2004 14:02:58 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 42544 invoked by uid 500); 3 Dec 2004 14:02:56 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 42521 invoked by uid 99); 3 Dec 2004 14:02:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from gate-us-1.mpi.com (HELO mustang.mpi.com) (63.244.250.132) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 06:02:54 -0800 Received: from thunderbolt.mpi.com (thunderbolt [63.244.253.70]) by mustang.mpi.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iB3E2DUL015331; Fri, 3 Dec 2004 09:02:13 -0500 (EST) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by thunderbolt.mpi.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id iB3E1eQH026077; Fri, 3 Dec 2004 09:02:02 -0500 (EST) X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: minor glitch struts-config.xml tomcat 5.0.30 Date: Fri, 3 Dec 2004 09:01:22 -0500 Message-ID: <9C5166762F311146951505C6790A9CF80229C7CF@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: minor glitch struts-config.xml tomcat 5.0.30 Thread-Index: AcTY74CtcsMAtNSSRIaodOZHIGAY0AAUQoWQ From: "Shapira, Yoav" To: "Tomcat Users List" , X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I posted this a couple of days ago: http://marc.theaimsgroup.com/?l=3Dtomcat-user&m=3D110184784714876&w=3D= 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 tomc= at >>> 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" mu= st >>> be declared. >>> at >>> >org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un= kn 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 ol= d >dtd listed, or there was a typo when I edited it again. I don't see i= t >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 com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, 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