You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Boris Folgmann <mi...@folgmann.com> on 2003/05/06 23:26:24 UTC

Load-balancing in mod_jk2

Hi!

When using load-balancing with mod_jk2 (or mod_jk) what happens with
consecutive requests that belong to the same session? Is there something
like a session migration? And how can each tomcat access the JavaBeans in
the application context?

Any info welcome,
	boris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Load-balancing in mod_jk2

Posted by Bill Barker <wb...@wilshire.com>.
You need to set the "jvmRoute" attribute on the Engine to the worker name.
This will cause all requests to go back to the Tomcat that first established
the session.  Session migration is supposed to be a standard feature of TC
5.x.

"Boris Folgmann" <mi...@folgmann.com> wrote in message
news:3EB82880.6000404@folgmann.com...
> Hi!
>
> When using load-balancing with mod_jk2 (or mod_jk) what happens with
> consecutive requests that belong to the same session? Is there something
> like a session migration? And how can each tomcat access the JavaBeans in
> the application context?
>
> Any info welcome,
> boris




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org