tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dant...@yorku.ca>
Subject Re: mod_jk as a load balancer - Am I missing something obvious?
Date Wed, 04 Feb 2004 23:34:39 GMT

Hi,

You can try out these step-by-step instructions:

http://www.yorku.ca/dkha/tomcat/docs/apache-tomcat-modjk.htm

Regards,
Daniel

On Wed, 4 Feb 2004, [ISO-8859-1] Antonio Fiol Bonnín wrote:

> Hello,
>
> I have tried to configure mod_jk as a load balancer WITH sticky sessions.
>
> I get the load balancing to work perfectly, but NOT the sticky sessions.
>
> This is what I tried:
>
> I set up 4 "ajp13" workers and 2 "lb" workers.
>
> Worker names are "t1_a", "t1_b", "t2_a" and "t2_b".
> Load balancer names are "a" and "b", and they point to:
> "a" --> "t1_a", "t2_a"
> "b" --> "t1_b", "t2_b"
>
> t1_a --> tomcat 1 port X
> t1_b --> tomcat 1 port Y
> t2_a --> tomcat 2 port X
> t2_b --> tomcat 2 port Y
>
> On Tomcat 1, jvmRoute is "t1".
> On Tomcat 2, jvmRoute is "t2". (So, jvmRoutes are set-up).
>
> Am I missing something very obvious?
>
> Do jvmRoutes need to have the same name as the workers? I find that
> strange, but I can't come up with something more logical...
>
> Thank you for any tip.
>
> Yours,
>
>
> Antonio Fiol
>
>
> P.S.: I am using two connectors on each Tomcat because one is configured
> with scheme="http" secure="false", and the other is scheme="https"
> secure="true". Our app relies upon that.
>

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


Mime
View raw message