Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69689 invoked from network); 3 Jun 2010 14:30:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 14:30:11 -0000 Received: (qmail 66494 invoked by uid 500); 3 Jun 2010 14:30:08 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66285 invoked by uid 500); 3 Jun 2010 14:30:08 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66276 invoked by uid 99); 3 Jun 2010 14:30:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 14:30:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of george.pucea@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 14:30:00 +0000 Received: by yxk8 with SMTP id 8so59206yxk.18 for ; Thu, 03 Jun 2010 07:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=aOLN4LVVSwIoLD3SGeoz1z2vUlcZ0LOUT8qQvko6fW4=; b=k0vERZYKIGO8a2vi9kPqjNBcnX94w2HMyzMmGvZ7glsCN4/DV9vPIsL92Mv58ZSw9F ag3LXsYAfzRqlZWAZS0jppvRQ8nS9yuI+rZ7sibUNWTzWog9yOMCiFvS534O78Ye4ZZn nYYYRgc96sllP5ZIVbGrLfTlYxTetBSvHXfQU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pOORmxXG04vC8Ztij9o7ybNpSDQwlOSkptQRmF4ORd1Cptd+iZpMwFwSGtuvabHBUC PE1UpqMiKqcAf7u4zkAvwh0wL8H+mUqiuujHIbRr9N0b2P8l15YrvHbp4BX5n0/yl/Bx csDVo2YTT4Tl5lky2fNY9BMAhky+3FeAHRt/s= MIME-Version: 1.0 Received: by 10.101.204.38 with SMTP id g38mr11335584anq.223.1275575378980; Thu, 03 Jun 2010 07:29:38 -0700 (PDT) Received: by 10.100.226.7 with HTTP; Thu, 3 Jun 2010 07:29:38 -0700 (PDT) Date: Thu, 3 Jun 2010 17:29:38 +0300 Message-ID: Subject: HTTP Status 400 - Invalid direct reference to form login page! From: Gheorghe Pucea To: users@tomcat.apache.org Content-Type: multipart/alternative; boundary=0016e68ee1f3592ea2048821093e --0016e68ee1f3592ea2048821093e Content-Type: text/plain; charset=ISO-8859-1 Hello, I have a problem with my Tomcat instance, I'm using: Tomcat 6.0.26 Java jdk 1.5.0_17 Windows XP SP3 I have implemented a JAAS login module for my application and everything goes fine except from one thing. Here are the steps that I am doing: 1)Request a protected resource -> the login form show's up and I enter my username and password 2) I get into the application and everything looks fine but when I get back to the login page and enter my username/password again I get the message: (If I refresh the login page immediately when I hit the logout button everything goes weel) HTTP Status 400 - Invalid direct reference to form login page ------------------------------ *type* Status report *message* *Invalid direct reference to form login page* *description* *The request sent by the client was syntactically incorrect (Invalid direct reference to form login page)* * * * * * * *Thank you very much!* --0016e68ee1f3592ea2048821093e--