Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 49113 invoked from network); 10 Jun 2010 13:34:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 13:34:41 -0000 Received: (qmail 45355 invoked by uid 500); 10 Jun 2010 13:34:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45183 invoked by uid 500); 10 Jun 2010 13:34:38 -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 45174 invoked by uid 99); 10 Jun 2010 13:34:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 13:34:38 +0000 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=AWL,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.98 as permitted sender) Received: from [65.55.111.98] (HELO blu0-omc2-s23.blu0.hotmail.com) (65.55.111.98) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 13:34:31 +0000 Received: from BLU142-W37 ([65.55.111.72]) by blu0-omc2-s23.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 10 Jun 2010 06:34:11 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_672bb1f7-641d-4d69-96af-d2869a1395e6_" X-Originating-IP: [71.232.74.24] From: Martin Gainty To: Tomcat Users List Subject: RE: HTTP Status 408! Date: Thu, 10 Jun 2010 09:34:11 -0400 Importance: Normal In-Reply-To: <517268.47592.qm@web37605.mail.mud.yahoo.com> References: <984110.67307.qm@web37607.mail.mud.yahoo.com> <4C10ACBE.1050300@pidster.com> <214750.77002.qm@web37607.mail.mud.yahoo.com> <19175.99329.qm@web37607.mail.mud.yahoo.com> <4C10DDE6.5020207@pidster.com>,<517268.47592.qm@web37605.mail.mud.yahoo.com> MIME-Version: 1.0 X-OriginalArrivalTime: 10 Jun 2010 13:34:11.0242 (UTC) FILETIME=[9C21F8A0:01CB08A1] --_672bb1f7-641d-4d69-96af-d2869a1395e6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the form-login-page login.html *should* contain the j_security parameters f= or your login form e.g.:
is this the case? Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . =20 > Date: Thu=2C 10 Jun 2010 06:19:36 -0700 > From: neo21_zerro@yahoo.com > Subject: Re: HTTP Status 408! > To: users@tomcat.apache.org=3B pid@pidster.com >=20 >=20 >=20 > Yes every time I want to login! >=20 > > > User Application > /* > > > user > > >=20 > > FORM > user > > /forms/login.html > /forms/error.html > > =20 > > User Role for authentication > user > >=20 >=20 >=20 >=20 > ________________________________ > From: Pid > To: Tomcat Users List > Sent: Thu=2C June 10=2C 2010 3:43:18 PM > Subject: Re: HTTP Status 408! >=20 > On 10/06/2010 12:06=2C neo21 zerro wrote: > > Hello =2C > >=20 > >=20 > > Good news I found a way to get rid of the error with this code in my JA= SS: > > session =3D req.getSession(true)=3B > >=20 > >=20 > > But now I get another strage error : > >=20 > > HTTP Status 400 - Invalid direct reference to form login page > > ________________________________ > >=20 > > type Status report > > message Invalid direct reference to form login page > > description The request sent by the client was syntactically incorrect = (Invalid=20 > > direct reference to form login page). >=20 > Does this occur every time you try to log in? >=20 > Please post the login config from web.xml. >=20 >=20 > p >=20 >=20 >=20 >=20 > > ________________________________ > >=20 > >=20 > > The response header looks like this:=20 > >=20 > > Response Headersview source > > Server Apache-Coyote/1.1=20 > > Content-Type text/html=3Bcharset=3Dutf-8=20 > > Content-Length 1100=20 > > Date Thu=2C 10 Jun 2010 10:51:56=20 > > GMT=20 > > Connection close=20 > > Request Headersview source > > Host localhost:8080=20 > > User-Agent Mozilla/5.0 (Windows=3B U=3B=20 > > Windows NT 5.2=3B en-US=3B rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3=20 > > Accept text/html=2Capplication/xhtml+xml=2Capplication/xml=3Bq=3D0.9=2C= */*=3Bq=3D0.8=20 > > Accept-Language en-us=2Cen=3Bq=3D0.5=20 > > Accept-Encoding gzip=2Cdeflate=20 > > Accept-Charset ISO-8859-1=2Cutf-8=3Bq=3D0.7=2C*=3Bq=3D0.7=20 > > Keep-Alive 115=20 > > Connection keep-alive=20 > > Cookie JSESSIONID=3D3AFB0FC0977ABA49563E858035F02617=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > ________________________________ > > From: Pid > > To: Tomcat Users List > > Sent: Thu=2C June 10=2C 2010 12:13:34 PM > > Subject: Re: HTTP Status 408! > >=20 > > On 09/06/2010 21:52=2C neo21 zerro wrote: > >> Hello=2C=20 > >> > >> I'm using Tomcat 6.0.26 with java 1.5 JDK. > >> > >> > >> I've developed a JAAS login module for my application and when I try t= o login in my app a strange error occur's:=20 > >> HTTP Status 408:The time allowed for the login process has been exceed= ed. If you wish to continue you must either click back twice and re-click t= he link you=20 > >> requested or close and re-open your browser. > >> I've made a little research about the problem and everyone said that i= t goes away if you enable the cookies(made that and the error still occurs)= . Another thing is that the actual JAAS login module authenticate the user = but when it should display the protected resource the error occurs. > >> > >> So if anyone has some ideas please share! > >=20 > > What have you configured the session time to be? > >=20 > >=20 > > p > >=20 > >=20 > >=20 >=20 >=20 >=20 =20 _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your = inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:O= N:WL:en-US:WM_HMP:042010_2= --_672bb1f7-641d-4d69-96af-d2869a1395e6_--