Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 28907 invoked from network); 29 Oct 2001 06:06:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Oct 2001 06:06:07 -0000 Received: (qmail 27654 invoked by uid 97); 29 Oct 2001 06:00:35 -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 25628 invoked from network); 29 Oct 2001 05:57:58 -0000 Message-ID: <95B2A8F844E8D41196D700D0B7B90C326669E8@mail.allentimber.com> From: Marek Dolgos To: 'Tomcat Users List' Subject: RE: login-config / security-constraint problem Date: Sun, 28 Oct 2001 21:41:01 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Just to answer my own question: Order matters! And its: Sorry for the wasted bandwidth -Marek -----Original Message----- From: Marek Dolgos [mailto:mdolgos@north-pacific.com] Sent: Sunday, October 28, 2001 1:37 AM To: Tomcat-User (E-mail) Subject: login-config / security-constraint problem I am getting the following error in my catalina.out file when I try to access any file/servlet in my webapp. I don't understand why this is happening. I don't believe that there are any syntax errors in my web.xml file. I have JSSE set up and working. I confirmed this by removing the and tags and accessed the server and various html file I have in this webapp just fine via https on port 8443. Stopping service Tomcat-Standalone Starting service Tomcat-Standalone Apache Tomcat/4.0 PARSE error at line 17 column -1 org.xml.sax.SAXParseException: Element "web-app" does not allow "login-config" here. I have the following and in the server.xml file: and And here is the actual web.xml file: GL Extract File Transfer webmaster webmaster@north-pacific.com filetransfer FORM /FileTransfer/Login.html /FileTransfer/Login.html FileTransfer com.northpacific.filetransfer.FileTransfer In this web.xml file the is commented out but I have tried with it uncommented and get a similar parse error for it too. I do have a user entry in tomcat-users.xml which belongs tot he filetransfer role. Does any one have ideas as to what I'm doing wrong? --Marek mailto:mdolgos@north-pacific.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: