You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hans-Erik Skyttberg <Ha...@boxer.se> on 2001/09/21 09:31:18 UTC
Loadbalancing with mod_jk and stickiness ?
Hi!
We just encontered a problem, when a session is started on one tomcat
and then through a load balancer it ends up on the another webserver
that webserver dosen't direct the session to correct tomcat ?
Is this a bug or isn't mod_jk supposed to work that way ?
This is working with mod_jserv.......
JkMount /*.jsp p
JkMount /html/admin/* ba
If the client requests /html/admin/login.jsp will this request be sent
to worker p or worker ba ?
Regards!
Hans - Erik Skyttberg
Boxer TV Access AB
Tegluddsv. 64
115 28 Stockholm
+46 (0)8 587 899 64
+46 (0)733 35 70 64
-----Ursprungligt meddelande-----
Från: tomcat-user-help@jakarta.apache.org
[mailto:tomcat-user-help@jakarta.apache.org]
Skickat: den 21 september 2001 09:12
Till: Hans-Erik Skyttberg
Ämne: WELCOME to tomcat-user@jakarta.apache.org
Hi! This is the ezmlm program. I'm managing the
tomcat-user@jakarta.apache.org mailing list.
I'm working for my owner, who can be reached
at tomcat-user-owner@jakarta.apache.org.
Acknowledgment: I have added the address
Hans-Erik.Skyttberg@boxer.se
to the tomcat-user mailing list.
Welcome to tomcat-user@jakarta.apache.org!
Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.
--- Administrative commands for the tomcat-user list ---
I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:
To subscribe to the list, send a message to:
<to...@jakarta.apache.org>
To remove your address from the list, send a message to:
<to...@jakarta.apache.org>
Send mail to the following for info and FAQ for this list:
<to...@jakarta.apache.org>
<to...@jakarta.apache.org>
Similar addresses exist for the digest list:
<to...@jakarta.apache.org>
<to...@jakarta.apache.org>
To get messages 123 through 145 (a maximum of 100 per request), mail:
<to...@jakarta.apache.org>
To get an index with subject and author for messages 123-456 , mail:
<to...@jakarta.apache.org>
They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.
To receive all messages with the same subject as message 12345,
send an empty message to:
<to...@jakarta.apache.org>
The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.
You can start a subscription for an alternate address,
for example "john@host.domain", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<to...@jakarta.apache.org>
To stop subscription for this address, mail:
<to...@jakarta.apache.org>
In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.
If despite following these instructions, you do not get the
desired results, please contact my owner at
tomcat-user-owner@jakarta.apache.org. Please be patient, my owner is a
lot slower than I am ;-)
--- Enclosed is a copy of the request I received.
Return-Path: <Ha...@boxer.se>
Received: (qmail 11788 invoked from network); 21 Sep 2001 07:11:57 -0000
Received: from unknown (HELO boxer-exch.ad.boxer.se) (195.163.10.171)
by daedalus.apache.org with SMTP; 21 Sep 2001 07:11:57 -0000
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Subject:
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Fri, 21 Sep 2001 09:13:14 +0200
Message-ID:
<BC...@boxer-exch.ad.boxer.se>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: confirm subscribe to tomcat-user@jakarta.apache.org
Thread-Index: AcFCbJSivjfi/3mIRViPUvx7Efj+nwAAA1NA
From: "Hans-Erik Skyttberg" <Ha...@boxer.se>
To:
<tomcat-user-sc.1001056157.bdincojdmngfhdojeppf-Hans-Erik.Skyttberg=boxe
r.se@jakarta.apache.org>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Re: Loadbalancing with mod_jk and stickiness ?
Posted by David Cassidy <dc...@hotgen.com>.
lets see your worker.properties file ;-)
David
Hans-Erik Skyttberg wrote:
>
> Hi!
>
> We just encontered a problem, when a session is started on one tomcat
> and then through a load balancer it ends up on the another webserver
> that webserver dosen't direct the session to correct tomcat ?
>
> Is this a bug or isn't mod_jk supposed to work that way ?
>
> This is working with mod_jserv.......
>
> JkMount /*.jsp p
>
> JkMount /html/admin/* ba
>
> If the client requests /html/admin/login.jsp will this request be sent
> to worker p or worker ba ?
>
> Regards!
> Hans - Erik Skyttberg
> Boxer TV Access AB
> Tegluddsv. 64
> 115 28 Stockholm
> +46 (0)8 587 899 64
> +46 (0)733 35 70 64
>
> -----Ursprungligt meddelande-----
> Från: tomcat-user-help@jakarta.apache.org
> [mailto:tomcat-user-help@jakarta.apache.org]
> Skickat: den 21 september 2001 09:12
> Till: Hans-Erik Skyttberg
> Ämne: WELCOME to tomcat-user@jakarta.apache.org
>
> Hi! This is the ezmlm program. I'm managing the
> tomcat-user@jakarta.apache.org mailing list.
>
> I'm working for my owner, who can be reached
> at tomcat-user-owner@jakarta.apache.org.
>
> Acknowledgment: I have added the address
>
> Hans-Erik.Skyttberg@boxer.se
>
> to the tomcat-user mailing list.
>
> Welcome to tomcat-user@jakarta.apache.org!
>
> Please save this message so that you know the address you are
> subscribed under, in case you later want to unsubscribe or change your
> subscription address.
>
> --- Administrative commands for the tomcat-user list ---
>
> I can handle administrative requests automatically. Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
>
> To subscribe to the list, send a message to:
> <to...@jakarta.apache.org>
>
> To remove your address from the list, send a message to:
> <to...@jakarta.apache.org>
>
> Send mail to the following for info and FAQ for this list:
> <to...@jakarta.apache.org>
> <to...@jakarta.apache.org>
>
> Similar addresses exist for the digest list:
> <to...@jakarta.apache.org>
> <to...@jakarta.apache.org>
>
> To get messages 123 through 145 (a maximum of 100 per request), mail:
> <to...@jakarta.apache.org>
>
> To get an index with subject and author for messages 123-456 , mail:
> <to...@jakarta.apache.org>
>
> They are always returned as sets of 100, max 2000 per request,
> so you'll actually get 100-499.
>
> To receive all messages with the same subject as message 12345,
> send an empty message to:
> <to...@jakarta.apache.org>
>
> The messages do not really need to be empty, but I will ignore
> their content. Only the ADDRESS you send to is important.
>
> You can start a subscription for an alternate address,
> for example "john@host.domain", just add a hyphen and your
> address (with '=' instead of '@') after the command word:
> <to...@jakarta.apache.org>
>
> To stop subscription for this address, mail:
> <to...@jakarta.apache.org>
>
> In both cases, I'll send a confirmation message to that address. When
> you receive it, simply reply to it to complete your subscription.
>
> If despite following these instructions, you do not get the
> desired results, please contact my owner at
> tomcat-user-owner@jakarta.apache.org. Please be patient, my owner is a
> lot slower than I am ;-)
>
> --- Enclosed is a copy of the request I received.
>
> Return-Path: <Ha...@boxer.se>
> Received: (qmail 11788 invoked from network); 21 Sep 2001 07:11:57 -0000
> Received: from unknown (HELO boxer-exch.ad.boxer.se) (195.163.10.171)
> by daedalus.apache.org with SMTP; 21 Sep 2001 07:11:57 -0000
> content-class: urn:content-classes:message
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Subject:
> Content-Transfer-Encoding: quoted-printable
> X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
> Date: Fri, 21 Sep 2001 09:13:14 +0200
> Message-ID:
> <BC...@boxer-exch.ad.boxer.se>
> X-MS-Has-Attach:
> X-MS-TNEF-Correlator:
> Thread-Topic: confirm subscribe to tomcat-user@jakarta.apache.org
> Thread-Index: AcFCbJSivjfi/3mIRViPUvx7Efj+nwAAA1NA
> From: "Hans-Erik Skyttberg" <Ha...@boxer.se>
> To:
> <tomcat-user-sc.1001056157.bdincojdmngfhdojeppf-Hans-Erik.Skyttberg=boxe
> r.se@jakarta.apache.org>
> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N