tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonat...@opencloud.com
Subject Re: Load balancing app context ?
Date Mon, 11 Feb 2002 20:01:05 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message