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 0738217E0C for ; Tue, 1 Sep 2015 08:02:54 +0000 (UTC) Received: (qmail 48846 invoked by uid 500); 1 Sep 2015 08:02:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 48788 invoked by uid 500); 1 Sep 2015 08:02:48 -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 48778 invoked by uid 99); 1 Sep 2015 08:02:47 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 08:02:47 +0000 Received: from s2laptop.dev.local (host81-156-41-163.range81-156.btcentralplus.com [81.156.41.163]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 8CEC31A0040 for ; Tue, 1 Sep 2015 08:02:47 +0000 (UTC) Subject: Re: Tomcat 8 Session Timeout To: Tomcat Users List References: <55E0A4D4.7070807@apache.org> From: Mark Thomas Message-ID: <55E55BA4.3090501@apache.org> Date: Tue, 1 Sep 2015 09:02:44 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 01/09/2015 08:53, Theo.Sweeny@avios.com wrote: > Hi Mark > > Tomcat version? > > v8.0.21 OK. Fairly recent and no known issues. I'll add session expiration is testing as part of the 'unit' tests we run after every commit and I don't ever remember it failing. The same tests are also run before every release and must pass on multiple platforms before the release is started. > 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? No, but you can use the Manager app to view session contents and expire the sessions. Mark > > Theo > > > > > From: Mark Thomas > To: Tomcat Users List , > 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 >> seconds, in $CATALINA_BASE/conf/web.xml >> >> >> 2 >> >> >> However this is not being honoured by the web services, where many > session >> are lasting longer. >> >> From what I understand - the order for session timeouts is - >> >> HttpSession.setMaxInactiveInterval(int) >> $WebApplication/webapp/WEB-INF/web.xml >> $TOMCAT_BASE/conf/web.xml >> >> 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 under 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 system manager. > > This footnote also confirms that this email message has been swept by Mimecast for the presence of computer viruses. > ----------------------------------------------------------------------------------------------------------------------------------------- > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org