Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 66936 invoked from network); 1 Apr 2002 08:40:08 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 08:40:08 -0000 Received: (qmail 3755 invoked by uid 97); 1 Apr 2002 08:40:03 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 3736 invoked by uid 97); 1 Apr 2002 08:40:02 -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 3719 invoked from network); 1 Apr 2002 08:40:01 -0000 Date: Mon, 1 Apr 2002 00:40:01 -0800 From: Jakarta Tomcat Newsgroup (@Basebeans.com) Message-Id: <200204010840.g318e1Y11395@basebeans.com> To: tomcat-user@jakarta.apache.org Subject: HELP!! Container managed authentication problem with Apache 1.3 + Tomcat 4 + Warp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: HELP!! Container managed authentication problem with Apache 1.3 + Tomcat 4 + Warp From: "Hyunjin Kim" === Hi, I have recently set up TOMCAT 4 + Apache 1.3 with "***Warp connector***". Although I have failed to have Apache forward *.do calls to jakarta correctly (for struts Action servlet calls), everything else seems to work fine(it's kinda outta subject, but my struts is now configured to be called when /execute is seen). My problem is: - I have set up my app with default JDBC realm container managed security, and it works fine when called from :8080... but when I try to access the security constrained folder (/admin in my case) through Apache(port :80), it forwards me to the correct page(login.jsp page). However, when I put in the correct username/password(that works find in :8080), it ALWAYS forwards me to error page. Strange thing is, my login attempt through apache doesn't even get logged... When I try to log in from :8080, all my attemps are logged, like following: 2002-04-01 16:11:41 JDBCRealm[/adsf]: Username hyunjin has role administrator 2002-04-01 16:13:12 JDBCRealm[/asdf]: Username hyunjin NOT successfully authenticated ... Stranger thing?? after failing the login, apache will forward me to correct login error page.... Any help would be really appreciated. Thank you! (following is the web.xml file for my webapp, although I don't think this problem is got to do with this file..) Nano-enc Administrator /admin administrator Intranet Security Constraint /intranet employee administrator FORM default /login.jsp /loginerror.jsp -- To unsubscribe: For additional commands: Troubles with the list: