Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2CB72106E2 for ; Wed, 26 Jun 2013 17:45:40 +0000 (UTC) Received: (qmail 4250 invoked by uid 500); 26 Jun 2013 17:45:39 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 4151 invoked by uid 500); 26 Jun 2013 17:45:39 -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 4142 invoked by uid 99); 26 Jun 2013 17:45:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 17:45:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of henri.gomez@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-we0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 17:45:33 +0000 Received: by mail-we0-f171.google.com with SMTP id m46so10645045wev.30 for ; Wed, 26 Jun 2013 10:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=EAHUwj4fiBjyJOSN7e7SSZ/SJphxqF+Z1N7fttuRE7U=; b=EadHluF0ru2VeN74hkvqvF4GA0fClzBC5QQiJSZi+x7fig6Hsf7OYb54/T8xeDP3MT oae2GWvZmG12DtR5BIJCHpm9uzdjvesUlJ07tYeTJws1GrErkqYbH/Xzx8zHY18NzRC+ KKwuTlqxE+EFwDf5H8VdWchW288dfAWgDYq/VZEpaMlfMoKC6osn9JmkdBJC93phcjn0 /R9HByDGchw6xdP1CV8joW6p5o9yJQBypTciEcaIKHqOYUWLtnpGKXniGzhN1hxAIKzM eJM3RpX5HOimHH4fUdzoBP6h5FWbS5xjvEUMzTr96mS4eSkIpGWrmjrMj1HdgKVbEaUk iN1w== X-Received: by 10.181.13.75 with SMTP id ew11mr3521424wid.2.1372268704977; Wed, 26 Jun 2013 10:45:04 -0700 (PDT) Received: from [10.105.56.19] ([37.161.174.201]) by mx.google.com with ESMTPSA id w4sm12270615wia.9.2013.06.26.10.45.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Jun 2013 10:45:04 -0700 (PDT) References: <51C87E28.8010407@christopherschultz.net> <51C98AF2.7070403@christopherschultz.net> <51CAD016.2040709@kippdata.de> <51CB27F5.6080007@kippdata.de> Mime-Version: 1.0 (1.0) In-Reply-To: <51CB27F5.6080007@kippdata.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: Cc: "dev@tomcat.apache.org" X-Mailer: iPhone Mail (10B329) From: Henri Gomez Subject: Re: mod_jk, JSESSION_ID and load-balancing Date: Wed, 26 Jun 2013 19:45:00 +0200 To: Tomcat Developers List X-Virus-Checked: Checked by ClamAV on apache.org I'll try it as soon as available.=20 Thanks Rainer, "Prince of Jk" :-) Le 26 juin 2013 =C3=A0 19:42, Rainer Jung a =C3=A9= crit : > On 26.06.2013 16:54, Henri Gomez wrote: >>> You can configure the name of the session cookie in TC 6 and 7. >>=20 >> I see sessionCookieName in >> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html ... >>=20 >>> So if in your case Tomcat would also set a cookie (in addition to the >>> app) we wouldn't need anything else. Just switch TC to MYCOOKIE and >>> configure mod_jk to look for MYCOOKIE. >>=20 >> It may works but Nexus is hacking JSESSIONID in extjs side also ;( >> I'll try BTW >>=20 >>> But it could well be, that Nexus actually replaces the session >>> management of Tomcat in which case TC would not set a cookie on its own.= >>> Can you check that? >>=20 >> Nexus/Shiro is removing JESSIONID by its own ;( >>=20 >>> I started to hack on mod_jk to let it set cookies, but there are some >>> subtleties which make it not that easy (e.g. deriving the correct path >>> for the cookie form a JKMount). So probably there's a bit mor of >>> configuration and wiring necessary. >>=20 >> Rainer, you're "king of jk". >=20 > Naa, that's still Mladen. Blame him if something is not working ;) >=20 >> I think it will bring more values to many uses cases and act as >> mod_proxy/http so not too bad >=20 > Basic hack is done, will do some basic testing, then commit and provide > you with a snapshot tarball to do your own testing. >=20 > Regards, >=20 > Rainer >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org