Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 33560 invoked from network); 20 Apr 2010 23:46:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 23:46:42 -0000 Received: (qmail 29108 invoked by uid 500); 20 Apr 2010 23:46:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 28978 invoked by uid 500); 20 Apr 2010 23:46:39 -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 28969 invoked by uid 99); 20 Apr 2010 23:46:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 23:46:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of knst.kolinko@gmail.com designates 209.85.218.213 as permitted sender) Received: from [209.85.218.213] (HELO mail-bw0-f213.google.com) (209.85.218.213) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 23:46:31 +0000 Received: by bwz5 with SMTP id 5so6365670bwz.0 for ; Tue, 20 Apr 2010 16:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+unzI5OCAIwnB2EqxWPJpjONU1Dk0uZBP661i+NdS/E=; b=wAoVCLDBztwwTBgj0wOCr2NsmRH732/ipJXl40Njb4IWPgGvqvFtIpLlodTHnJHxWp +hEFU3+tLHgQQab9a5ZrI6yo89K3YEf9IA/FPhGLM8bE8GgthHfLJi7DcZx5WE3fwvEo ubFu5xDhxG/ak4QogWD09CswLuar2gRYJvYjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=F1AvDAJPhAEJCWJxaPU20BKQWC7fZBYyU6+RFhlIBqSUsnSo/s9ag4Ss1NHUmBWv5R R7YdSpAmfjTHgk9HXOgoaVKNiBrjqmuk43GBnZ3dyKN+dhPKlaOdHjo0kJGC3WW+vWsw hQ2Ky0mYKkn/pym8F6hfcaEUCcpGvTq2Vyu1o= MIME-Version: 1.0 Received: by 10.103.249.20 with HTTP; Tue, 20 Apr 2010 16:46:11 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Apr 2010 03:46:11 +0400 Received: by 10.102.242.10 with SMTP id p10mr807149muh.22.1271807171116; Tue, 20 Apr 2010 16:46:11 -0700 (PDT) Message-ID: Subject: Re: JSESSIONID being lost From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2010/4/21 Jim Goodspeed : > Our current setup is two hardware load balancers (layer 4) in front of tw= o > Apache servers (2.2.14) which sit in front of two tomcat servers (6.0.20)= . > The hardware load balancers load balance apache and apache load balances > tomcat using AJP via mod_proxy. =A0Apache and Tomcat are running on RHEL4 > 32-bit. =A0The JVM is 1.6. > 1. Note that there can be https://issues.apache.org/bugzilla/show_bug.cgi?id=3D48345 "Session does time-out shorter than setting in web.xml when PersistentManager is used. " 2. Maybe implementing a javax.servlet.http.HttpSessionListener will allow you to catch the circumstances when your issue happens. Note, that if you add it to ${catalina.base}/conf/web.xml, it will be present in all the web applications deployed on your server. That is, if the session actually expires on the server. > We have a situation where the JSESSIONID seems to get lost > somewhere in a users transaction - the result is they get kicked back to = the > applications login page (no sessionid so the app thinks they haven't logg= ed > in). Do you have any evidences on what actually happens? E.g., you can iterate over request headers to see if the cookie is actually present, and what path it contains, etc. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org