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 ACFBF17CF9 for ; Tue, 1 Sep 2015 07:51:13 +0000 (UTC) Received: (qmail 7916 invoked by uid 500); 1 Sep 2015 07:51:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7853 invoked by uid 500); 1 Sep 2015 07:51:09 -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 7842 invoked by uid 99); 1 Sep 2015 07:51:09 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 07:51:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 248C8F028A for ; Tue, 1 Sep 2015 07:51:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FzE3ry1t34Jb for ; Tue, 1 Sep 2015 07:50:59 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [207.82.80.151]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 86CB324C10 for ; Tue, 1 Sep 2015 07:50:58 +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-30-PgIX6kySScq9hNojuOWt7Q-1; Tue, 01 Sep 2015 08:50:51 +0100 In-Reply-To: <55E0A3B7.6000301@christopherschultz.net> References: <55E0A3B7.6000301@christopherschultz.net> To: "Tomcat Users List" MIME-Version: 1.0 Subject: Re: Tomcat 8 Session Timeout X-KeepSent: E766A9AC:13F59DC2-80257EB3:002A619A; 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:50:51 +0100 X-MIMETrack: Serialize by Router on AMLNOTES02/LGW/MILEAGE(Release 8.5.3FP1|March 07, 2012) at 01/09/2015 08:50:51, Serialize complete at 01/09/2015 08:50:51 X-MC-Unique: PgIX6kySScq9hNojuOWt7Q-1 Content-Type: multipart/alternative; boundary="=_alternative 002B1BD680257EB3_=" --=_alternative 002B1BD680257EB3_= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Chris, That's pretty much it (except the path for the app's web.xml looks a little odd). We are running multi-instance environment and this is why the path is=20 $CATALINA_BASE/conf/web.xml Are the web services specifying their own session-timeout in the application-specific web.xml? No the web-apps are not specifying their own session-timeout. We want to=20 run with a stateless environment. Eventually the session-timeout will be=20 brought down to 0, but the current setting for 2 minutes doesn't work. The= =20 sessions do not timeout. Theo From: Christopher Schultz To: Tomcat Users List ,=20 Date: 28/08/2015 19:09 Subject: Re: Tomcat 8 Session Timeout -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Theo, On 8/28/15 12:08 PM, Theo.Sweeny@avios.com wrote: > Hello - currently HTTP sessions are configured to timeout after 120 > seconds, in $CATALINA_BASE/conf/web.xml >=20 > 2=20 > I'd highly recommend that you move that configuration from conf/web.xml to your own web application's web.xml. > However this is not being honoured by the web services, where many > session are lasting longer. >=20 >> From what I understand - the order for session timeouts is - >=20 > HttpSession.setMaxInactiveInterval(int)=20 > $WebApplication/webapp/WEB-INF/web.xml $TOMCAT_BASE/conf/web.xml >=20 > Is there something that I'm missing? That's pretty much it (except the path for the app's web.xml looks a little odd). Are the web services specifying their own session-timeout in the application-specific web.xml? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJV4KO3AAoJEBzwKT+lPKRYh8cQALjjzZ4glyywX4HrTpfAOtEJ Ck1LC/S82MgNfCfS1dOx8fUpuER6ZSJ+fkALjAMjAr5MmQX+/Z2nODvj/XWDLkRj 6Hyp/F+rEnExt4bS6idWz32hPtzDqxA4Ffxy9oCROihXXdvA0qGn6xGfKwtUaBH2 rviw3au4uD2W3iPffszUj3VnGQnWhK3QFQpFCLkpVu1lF/EiqBCL3XHIY+6cDzBO fpGWiFrk+9RSuP/uN3LEGzdZNvuHNiNu5OrlvBq9P8Q1zwya6fcuPGu0NvFD7ESl o0pCmcie9NUFXN1R0/RtT8uw7ZVELWrPx5C6zLR1tbwodMnarlQMazAdQFDDtiVK DLPjpKF0bPqAP3ORUzRAu3IfSaXhtgE77byAB8DLnPJjpKeyWEp4tCDP1CmI6NI1 5dVQmt5CJAo5pP5YAMM38GsJyY5NoQ2NI61tPJ/NFTJkV0pyCGlufiRMp6ySMvBP zY8CjhNEjhfEV35RB1hYzawhZ3hgV3oq78HLGLZ15eaYiBTBHyHyKgdbitRfawIP ICdvpuElYDPNKFI2SfSb3qQc64sm+kqN6B1DNWMALAWISNENB0ahu6D4a9UJTr0R FgFRCdpkkV8/3FfpoSpu2kzzBubYMA7XpMyuk9HWlABJvT99AJCwPeA2C5falShv j5HCHDLxsn1LzK8hl9mK =3D3HRA -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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 002B1BD680257EB3_=--