Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 11649 invoked from network); 17 Jan 2003 18:58:37 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jan 2003 18:58:37 -0000 Received: (qmail 4372 invoked by uid 97); 17 Jan 2003 18:59:30 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 4355 invoked by uid 97); 17 Jan 2003 18:59:28 -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 4342 invoked by uid 98); 17 Jan 2003 18:59:27 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: "Lott, Carey" To: "'Tomcat Users List'" Cc: "Mann, Ivan H" Subject: RE: Parse error in application web.xml Date: Fri, 17 Jan 2003 12:57:49 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.51) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That was it. Thanks I placed welcome-file-list element at the bottom and then grouped all of the servlet elements together and underneath it all of the servlet-mapping elements. It finally started up with out an error. Thanks Again. If anybody is interested below is my corrected version. web.xml file: DDSMenu DDSMenu DDSHome DDSHome DDSLogin DDSLogin DDSLog DDSLog DDSMenu /DDSMenu DDSHome /DDSHome DDSLogin /DDSLogin DDSLog /DDSLog index.html index.htm index.jsp -----Original Message----- From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] Sent: Friday, January 17, 2003 1:37 PM To: Tomcat Users List Subject: RE: Parse error in application web.xml Hi, >Instead of depending on the invoker servlet, I have added our servlets to Good. >2003-01-17 13:07:51 ContextConfig[/esd] Parse error in application web.xml >org.xml.sax.SAXParseException: The content of element type "web-app" must >match >"(icon?,display-name?,description?,distributable?,context- >param*,filter*,fil >ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- >mappin >g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- >ref*,se >curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb - >loca >l-ref*)". > >I have validated the web.xml file using IE. No errors are apparent. The You may have viewed the file using IE, not validated it ;) ;) IE would not check against the scheme. The error reported suggests you have elements in the wrong order. It tells you what the right order is. For example, cannot come before . Reorganize your web.xml file according to the spec, i.e. in the order shown above, and the error will go away. Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: