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 96F08D864 for ; Sat, 22 Sep 2012 03:56:42 +0000 (UTC) Received: (qmail 62889 invoked by uid 500); 22 Sep 2012 03:56:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 62820 invoked by uid 500); 22 Sep 2012 03:56:39 -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 62809 invoked by uid 99); 22 Sep 2012 03:56:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 03:56:38 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.62.32] (HELO qmta03.westchester.pa.mail.comcast.net) (76.96.62.32) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2012 03:56:32 +0000 Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12]) by qmta03.westchester.pa.mail.comcast.net with comcast id 23dk1k00B0Fqzac533wFoN; Sat, 22 Sep 2012 03:56:15 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.109.145]) by omta08.westchester.pa.mail.comcast.net with comcast id 23r51k00238FjT13U3r6Kl; Sat, 22 Sep 2012 03:51:06 +0000 Message-ID: <505D35AD.60904@christopherschultz.net> Date: Fri, 21 Sep 2012 23:51:09 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Sticky sessions not working References: In-Reply-To: X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nicolas, On 9/21/12 12:58 AM, Nicolas Sarazin wrote: > Add : worker.node1.route=node1 > > And : worker.node2.route=node2 > > To use sticky session. These directives attach name route at the > end of JSESSIONID. That shouldn't be necessary, as the worker's name is the default 'route', and the OP has them set up properly. I think this might be interfering with your setup: > Le vendredi 21 septembre 2012, Lou Henry a écrit : > >> worker.node1.domain=jvm1 worker.node2.domain=jvm2 Lou, do you need the "domain" for anything? The docs say that when sticky_session=true (which is the default, and you haven't overridden it), then the domain becomes the 'route'. Since you aren't explicitly specifying the route, then you are probably getting implicitly: worker.node1.route=jvm1 worker.node2.route=jvm2 when what you want is 'node1' and 'node2'. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBdNa0ACgkQ9CaO5/Lv0PBMFwCfQZdAuuEH+FNiwli6n7+dk22B 6/4AoIk1i4MnH3qglv8pah5xY47Jzos+ =EA2N -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org