Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 72025 invoked from network); 11 Feb 2002 20:01:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Feb 2002 20:01:27 -0000 Received: (qmail 27910 invoked by uid 97); 11 Feb 2002 20:01:09 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 27890 invoked by uid 97); 11 Feb 2002 20:01:08 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 27879 invoked from network); 11 Feb 2002 20:01:08 -0000 Date: Tue, 12 Feb 2002 09:01:05 +1300 To: Tomcat Users List Subject: Re: Load balancing app context ? Message-ID: <20020211200105.GA26774@abjuro.opencloud.co.nz> Mail-Followup-To: Tomcat Users List References: <20020210213500.GB24840@abjuro.opencloud.co.nz> <002f01c1b2ba$736aba00$4845cad5@Vjeran> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002f01c1b2ba$736aba00$4845cad5@Vjeran> User-Agent: Mutt/1.3.25i From: jonathan@opencloud.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, Feb 11, 2002 at 06:10:39AM +0100, Vjeran Marcinko wrote: > > What you describe is what TC4.0.2 + mod_jk + apache does. You assign a unique > > jvmRoute to each of you tomcats and mod_jk does the rest. > > > > Also note that any attributes assigned to a session can only be > > available in one VM. > > OK, but mod_jk will take care that client is redirect to exact JVM > where the right session object resides, right ? Spot on. > But is this whole web-app context thing funny ? I mean, let's say you > are developer who read JSP user guide, and you learnt that you should > use 'application' (ServletContext) object if you want to store data > available to all servlet in that web-app ...And let's say you spent > few months developing some web-app based on that assumption, and > suddenly, suprise, it doesn't work in load-balancing case, which is > normally used for every serious level trafic site ? Welcome to the wonderful world of servlets and JSP. Aren't the Specs wonderful. You gotta love those guys. :) Jonathan. -- To unsubscribe: For additional commands: Troubles with the list: