Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 97918 invoked from network); 3 May 2006 16:51:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2006 16:51:12 -0000 Received: (qmail 82718 invoked by uid 500); 3 May 2006 16:51:07 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 82435 invoked by uid 500); 3 May 2006 16:51:05 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 82424 invoked by uid 500); 3 May 2006 16:51:05 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 82418 invoked by uid 99); 3 May 2006 16:51:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 09:51:05 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 09:51:05 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 1F491410005; Wed, 3 May 2006 16:50:31 +0000 (GMT) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 39473] New: - Session timeout much shorter than setting in web.xml in cluster envirement Message-ID: X-Bugzilla-Reason: AssignedTo Date: Wed, 3 May 2006 16:50:31 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39473 Summary: Session timeout much shorter than setting in web.xml in cluster envirement Product: Tomcat 5 Version: 5.5.7 Platform: Sun OS/Version: Solaris Status: NEW Severity: normal Priority: P2 Component: Catalina:Cluster AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: jjiang@nbstech.com We have a tow nodes Tomcat cluster server on production. The session timeout is set to 20 minutes. The costomers complained their session timeout much shorter than 20 minutes, sometimes within 5 minutes. I did a test: T1 -> access the page T2 -> access the page T3 -> access the page The session would timeout if T3 - T1 > 20 minutes. I compare the source for Non-cluster session and Cluster session, found they are calculate the idle time in different way. In DeltaSession.java: int timeIdle = (int) ((timeNow - lastAccessedTime) / 1000L); In StandardSession.java: int timeIdle = (int) ((timeNow - thisAccessedTime) / 1000L); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org