Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D17F617D3C for ; Tue, 1 Sep 2015 07:53:40 +0000 (UTC) Received: (qmail 18420 invoked by uid 500); 1 Sep 2015 07:53:38 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 18362 invoked by uid 500); 1 Sep 2015 07:53: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 18351 invoked by uid 99); 1 Sep 2015 07:53:38 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 07:53:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 91083C0FA1 for ; Tue, 1 Sep 2015 07:53:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.981 X-Spam-Level: *** X-Spam-Status: No, score=3.981 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id QuZDVRxiqDHC for ; Tue, 1 Sep 2015 07:53:31 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [207.82.80.151]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 40788255D3 for ; Tue, 1 Sep 2015 07:53:31 +0000 (UTC) Received: from amlnotes02.airmiles.co.uk (mailhostMTB.airmiles.co.uk [83.244.225.144]) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-36-f2BbvkQhR2CxOjvAC2ZOpg-1; Tue, 01 Sep 2015 08:53:22 +0100 In-Reply-To: <55E0A4D4.7070807@apache.org> References: <55E0A4D4.7070807@apache.org> To: "Tomcat Users List" MIME-Version: 1.0 Subject: Re: Tomcat 8 Session Timeout X-KeepSent: 0F914C1B:CA120A56-80257EB3:002B24BB; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 March 28, 2013 Message-ID: From: Theo.Sweeny@avios.com Date: Tue, 1 Sep 2015 08:53:22 +0100 X-MIMETrack: Serialize by Router on AMLNOTES02/LGW/MILEAGE(Release 8.5.3FP1|March 07, 2012) at 01/09/2015 08:53:22, Serialize complete at 01/09/2015 08:53:22 X-MC-Unique: f2BbvkQhR2CxOjvAC2ZOpg-1 Content-Type: multipart/alternative; boundary="=_alternative 002B56E180257EB3_=" --=_alternative 002B56E180257EB3_= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Mark=20 Tomcat version? v8.0.21 The usual causes are: - something unexpected accessing the session - the background processing thread is crashed / busy doing something else Is there a command line mechanism to gracefully terminate sessions? Theo From: Mark Thomas To: Tomcat Users List ,=20 Date: 28/08/2015 19:13 Subject: Re: Tomcat 8 Session Timeout On 28/08/2015 12:08, Theo.Sweeny@avios.com wrote: > Hello - currently HTTP sessions are configured to timeout after 120=20 > seconds, in $CATALINA_BASE/conf/web.xml >=20 > > 2 > >=20 > However this is not being honoured by the web services, where many=20 session=20 > are lasting longer. >=20 > From what I understand - the order for session timeouts is -=20 >=20 > HttpSession.setMaxInactiveInterval(int)=20 > $WebApplication/webapp/WEB-INF/web.xml=20 > $TOMCAT_BASE/conf/web.xml >=20 > Is there something that I'm missing? Tomcat version? The usual causes are: - something unexpected accessing the session - the background processing thread is crashed / busy doing something else Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org ---------------------------------------------------------------------------= -------------------------------------------------------------- The Mileage Company Limited is a limited company registered in England unde= r company number 2260073 whose registered office address is at Astral Towers, Betts Way, London Road, Crawley, West Sussex, RH10 9XY. This email and any files transmitted with it are confidential and intended = solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the s= ystem manager. This footnote also confirms that this email message has been swept by Mimec= ast for the presence of computer viruses.=20 ---------------------------------------------------------------------------= -------------------------------------------------------------- --=_alternative 002B56E180257EB3_=--