Hello Derek,
Thank you for your fruitfull answer.
It works.
Best regards Olivier.
-Original Message-
From: Derek Beauregard [mailto:dbeaureg...@vmware.com]
Sent: Thursday, April 26, 2012 5:59 PM
To: Tomcat Users List
Subject: Re: Load balancing & session affinity (QUERY)
Have
Have you defined the jvmRoute on your Engine element in tomcat's
server.xml?
E.g.,
The value for jvmRoute should match the route defined in your apache
balancer config.
-Derek
Derek Beauregard
On 4/26/12 9:37 AM, "GIORGI Olivier" wrote:
>Hello to all,
>
>I am using Apache 2.2.21 & Tomcat
Hello to all,
I am using Apache 2.2.21 & Tomcat 6.0.29
1) Schema: Load balancer (Apache.2.2.21) -> 1st appli (Tomcat 6.0.29)
-> 2nd appli. (Tomcat 6.0.29)
2) Using the following configuration, my load balancing is stateless instead of
statefull (having a look at the logs).
-
On 23/11/2010 23:34, André Warnier wrote:
> Andrew Hole wrote:
>> I'm reading about domain directive in worker properties. I can setup
>> different workers to be in the same domain (p.e. a machine) and have
>> "domain
>> affinity". Do you have some idea how it really works?
>>
>
> No, but it kind
On Tue, Nov 23, 2010 at 10:01 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> André,
>
> On 11/23/2010 10:27 AM, André Warnier wrote:
> > With the configuration below and your explanations, I suppose that there
> > is some kind o
Andrew Hole wrote:
I'm reading about domain directive in worker properties. I can setup
different workers to be in the same domain (p.e. a machine) and have "domain
affinity". Do you have some idea how it really works?
No, but it kind of sounds like what you want to achieve, doesn't it ?
You c
And regarding your question;
~Why can you not run all apps within one single JVM/Tomcat ?
Because we have a lot of web applications and we are using 32-bit JVM.
Thanks a lot
On Tue, Nov 23, 2010 at 10:59 PM, Andrew Hole wrote:
> I'm reading about domain directive in worker properties. I can set
I'm reading about domain directive in worker properties. I can setup
different workers to be in the same domain (p.e. a machine) and have "domain
affinity". Do you have some idea how it really works?
Thanks
On Tue, Nov 23, 2010 at 9:01 PM, Christopher Schultz <
ch...@christopherschultz.net> wro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 11/23/2010 10:27 AM, André Warnier wrote:
> With the configuration below and your explanations, I suppose that there
> is some kind of load-balancing going on between the two machines.
> What is used at the front-end to load-balance ?
>
> A
:
Machine 1:
Tomcat A
App1
App2
Tomcat B
App3
App4
Machine 2:
Tomcat C
App1
App2
Tomcat D
App3
App4
Using session affinity, if I make a request to App1 and the Tomcat A in
Machine 1 is selected. All the sequent requests will be redirected (within
the same session) to the same Tomcat (tomcat A
On 23/11/2010 14:41, Christopher Schultz wrote:
> Mark,
>
> On 11/23/2010 5:12 AM, Mark Thomas wrote:
>> On 23/11/2010 00:06, Andrew Hole wrote:
>>> There is a middleware-to-middleware connection between Tomcat A and Tomcat B
>>> using RMI (point-to-point protocol) and Tomcat A has in-memory data
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 11/23/2010 5:12 AM, Mark Thomas wrote:
> On 23/11/2010 00:06, Andrew Hole wrote:
>> There is a middleware-to-middleware connection between Tomcat A and Tomcat B
>> using RMI (point-to-point protocol) and Tomcat A has in-memory data useful
>>
On 23/11/2010 00:06, Andrew Hole wrote:
> There is a middleware-to-middleware connection between Tomcat A and Tomcat B
> using RMI (point-to-point protocol) and Tomcat A has in-memory data useful
> to App3.
> The same aproach in the second server: applications in tomcat d have RMI
> communication t
gt;> Machine 2:
>> Tomcat C
>> App1
>> App2
>> Tomcat D
>> App3
>> App4
>>
>> Using session affinity, if I make a request to App1 and the Tomcat A in
>> Machine 1 is selected. All the sequent requests will be redirected (within
>> the s
Andrew Hole wrote:
Sorry for the inconvenience. I sent the email with wrong content.
An example:
Machine 1:
Tomcat A
App1
App2
Tomcat B
App3
App4
Machine 2:
Tomcat C
App1
App2
Tomcat D
App3
App4
Using session affinity, if I make a request to App1 and the Tomcat A in
Machine 1
Sorry for the inconvenience. I sent the email with wrong content.
An example:
Machine 1:
Tomcat A
App1
App2
Tomcat B
App3
App4
Machine 2:
Tomcat C
App1
App2
Tomcat D
App3
App4
Using session affinity, if I make a request to App1 and the Tomcat A in
Machine 1 is selected. All the
An example:
Machine 1:
Tomcat A
Tomcat B
On Mon, Nov 22, 2010 at 11:05 PM, André Warnier wrote:
> Andrew Hole wrote:
>
>> No... Session affinity (jvmRoute in JSESSION ID) implies sending to the
>> same
>> tomcat instance (same JVM), not for the same machine.
>>
Andrew Hole wrote:
No... Session affinity (jvmRoute in JSESSION ID) implies sending to the same
tomcat instance (same JVM), not for the same machine.
I guess that I still don't get it.
The same Tomcat instance /is/, per definition, on the same machine.
Or do you want to send the request
No... Session affinity (jvmRoute in JSESSION ID) implies sending to the same
tomcat instance (same JVM), not for the same machine.
Some idea?
On Mon, Nov 22, 2010 at 9:10 PM, André Warnier wrote:
> Andrew Hole wrote:
>
>> Hi guys!
>>
>> There is any available config
Andrew Hole wrote:
Hi guys!
There is any available configuration to define server affinity instead of
session affinity? Our architecture setup is based on multiple JVMs (tomcat)
instances in each server (machine). The goal is to send all requests (within
a session) from a client browser to the
> From: Andrew Hole [mailto:andremailingl...@gmail.com]
> Subject: Server affinity instead of session affinity
> The goal is to send all requests (within a session) from a
> client browser to the same machine. Is it possible to
> perform it using jvmRoute?
Can't you just se
Hi guys!
There is any available configuration to define server affinity instead of
session affinity? Our architecture setup is based on multiple JVMs (tomcat)
instances in each server (machine). The goal is to send all requests (within
a session) from a client browser to the same machine. Is it
On 12.03.2009 10:43, Andrew Hole wrote:
Hi guys!
I can't find any documentation regarding session affinity using
mod_proxy_balancer (http protocol).
Anyone have or know where i cand find it?
Look for "route" and "stickysession" on the page
http://httpd.apache.org/do
Hi guys!
I can't find any documentation regarding session affinity using
mod_proxy_balancer (http protocol).
Anyone have or know where i cand find it?
Thanks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re:
>> Session affinity
>>
>> Is not very smart... There is some problem with that?
>
> I think so - without some intelligence
Caldarale, Charles R wrote:
>> From: Andrew Hole [mailto:[EMAIL PROTECTED]
>> Subject: Re: Session affinity
>>
>> Is not very smart... There is some problem with that?
>
> I think so - without some intelligence in the load balancer, I don't think
> From: Andrew Hole [mailto:[EMAIL PROTECTED]
> Subject: Re: Session affinity
>
> Is not very smart... There is some problem with that?
I think so - without some intelligence in the load balancer, I don't think you
can maintain session affinity.
- Chuck
THIS COMMUNIC
Is not very smart... There is some problem with that?
Thanks
On Fri, Nov 21, 2008 at 9:00 PM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Andrew Hole [mailto:[EMAIL PROTECTED]
> > Subject: Session affinity
> >
> > How it works when we have an
> From: Andrew Hole [mailto:[EMAIL PROTECTED]
> Subject: Session affinity
>
> How it works when we have an hardware load balancer in the
> first layer and 2 actives Apache HTTP Server?
How smart is your load balancer? Can it be configured to route requests based
on content of t
Hi guys!
The session affinity in Apache guarantee that all requests from a
specific browser will be redirected to the same instance of Tomcat (worker).
How it works when we have an hardware load balancer in the first layer and 2
actives Apache HTTP Server?
Thanks a lot
Fantastic! Thanks for the clarification.
On Tue, 06 Feb 2007 20:17:17 -0600, Tim Lucia <[EMAIL PROTECTED]> wrote:
>> -Original Message-
>> From: Rob Bugh [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, February 06, 2007 3:22 PM
>> To: Tomcat Users List
>&g
> -Original Message-
> From: Rob Bugh [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 06, 2007 3:22 PM
> To: Tomcat Users List
> Subject: Re: Session Affinity and Session Replication
>
>
> Thanks, for the information. My confusion in part stems from this com
On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote:
My confusion in part stems from this comment in the The Apache
Tomcat Connector - Reference Guide,
http://tomcat.apache.org/connectors-doc/reference/workers.html
Ah, OK -- perhaps that's JK-specific. As I said, I used mod_proxy_ajp
which has no "wo
t;Sent: Feb 6, 2007 2:00 PM
>To: Tomcat Users List , Rob Bugh <[EMAIL PROTECTED]>
>Subject: Re: Session Affinity and Session Replication
>
>On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote:
>
>> All the documentation I've read to date indicates not to use sticky
&g
On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote:
All the documentation I've read to date indicates not to use sticky
sessions and session replication together.
Can you cite where you saw that?
I've set up a similar config (using mod_proxy_ajp) with both sticky
sessions and session replication a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rob,
Rob Bugh wrote:
> So my question is, if I enable session affinity but not session
> replication, how can I failover a connection without losing the
> session data?
You can't, unless you are using some other mechanism to share th
Hello All,
I'm trying to get a better understanding when to use Session Affinity and
Session Replication and have a question. Let me set my question up by
describing my configuration. It consists of an Apache server with mod_jk and
two Tomcat servers, where the Apache server is configur
Sorry everybody, I misspelled jmvRoute with jvmroute in my server.xml!
Matteo
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: venerdì 29 dicembre 2006 16.42
To: 'Tomcat Users List'
Subject: RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session
-Original Message-
> From: Matteo Turra [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 29, 2006 10:04 AM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: RE: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session
> affini
(session
affinity lost)
Did you loose the jvmRoute attribute in server.xml during the upgrade
process?
Matteo Turra wrote:
> Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10
> and now my tomcat cluster doesn't work with sticky session (session
> affinity).
>
NO. I do not.
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: venerdì 29 dicembre 2006 13.36
To: Tomcat Users List
Subject: Re: Tomcat 5.5.20 - jvmRoute not appended at jsessionid (session
affinity lost)
Did you loose the jvmRoute attribute in server.xml during the
Did you loose the jvmRoute attribute in server.xml during the upgrade
process?
Matteo Turra wrote:
Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10
and now my tomcat cluster doesn't work with sticky session (session
affinity).
After a while I notice the jvm
Hi, I upgraded my tomcat 5.0 + jdk 1.4 to tomcat 5.5.20 + jdk 1.5.0_10
and now my tomcat cluster doesn't work with sticky session (session
affinity).
After a while I notice the jvmroute parameter is not appended to the
jsessionid anymore!
Does anyone had the same behaviours? Does a
I do now.
It's all working now.
Thanks a bunch
Sidd
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 2:06 PM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
so if you create a jsp(or servlet)
at and session affinity problem
My bad. Did not read documentation.
Thanks
-Original Message-
From: Sanjeev Kumar Bhat, Noida [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 12:31 PM
To: Tomcat Users List
Subject: RE: Apache with Tomcat and session affinity problem
The names o
-Original Message-
From: Sharma, Siddharth
Sent: Friday, June 16, 2006 1:28 PM
To: Tomcat Users List
Subject: RE: Apache with Tomcat and session affinity problem
My bad. Did not read documentation.
Thanks
-Original Message-
From: Sanjeev Kumar Bhat, Noida [mailto:[EMAIL PROTECTED
My bad. Did not read documentation.
Thanks
-Original Message-
From: Sanjeev Kumar Bhat, Noida [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 12:31 PM
To: Tomcat Users List
Subject: RE: Apache with Tomcat and session affinity problem
The names of your workers are not correct
Subject: RE: Apache with Tomcat and session affinity problem
Ok here's a little confusion:
In server.xml, there are two Engine tags, one of them is commented out by
default.
As can be seen I left the commented out 'standalone' engine as is and added
jvmRoute to engine named 'Ca
: Tomcat Users List
Subject: RE: Apache with Tomcat and session affinity problem
Ok here's a little confusion:
In server.xml, there are two Engine tags, one of them is commented out by
default.
As can be seen I left the commented out 'standalone' engine as is and added
jvmRoute
, June 16, 2006 10:59 AM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
is your webapplication creating a session? if not, then there wont be a
cookie, and mod_jk uses this cookie to determine server affinity.
and if you dont have sessions, you don't
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 10:59 AM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
is your webapplication creating a session? if not, then there wont be a
cookie, and mod_jk uses this
is your webapplication creating a session? if not, then there wont be a
cookie, and mod_jk uses this cookie to determine server affinity.
and if you dont have sessions, you don't need session affinity
Filip
Sharma, Siddharth wrote:
I have an http packet sniffer and it is reporting
June 16, 2006 10:40 AM
To: Tomcat Users List
Subject: RE: Apache with Tomcat and session affinity problem
I have an http packet sniffer and it is reporting that there are no cookies
returned by apache.
Just to recap what I have done:
1. IBM HttpServer 2.0 with mod_jk on redhat linux
2. worker.p
ty is set to True.
3. In the server.xml, the jvMRoute attribute of Engine (in both tomcat
instances) have their respective worker names (no case difference or silly
spelling mistakes).
There is no cookie. Is there another step that I am missing to enable
session affinity?
-Original Me
Users List
Subject: Re: Apache with Tomcat and session affinity problem
how do you verify that you don't have a cookie?
I suggest using LiveHttpHeaders (firefox/mozilla) or TCPMonitor
Filip
Sharma, Siddharth wrote:
> Yes I did
> jvmRoute is set to the worker name.
ailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 7:18 AM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
have you set jvmRoute in your engine element (server.xml)?
this is how mod_jk does session affinity
filipp
Sharma, Siddharth wrote:
I have IBM HttpServe
Yes I did
jvmRoute is set to the worker name.
still, no jsessionid cookie.
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 7:18 AM
To: Tomcat Users List
Subject: Re: Apache with Tomcat and session affinity problem
have you set
have you set jvmRoute in your engine element (server.xml)?
this is how mod_jk does session affinity
filipp
Sharma, Siddharth wrote:
I have IBM HttpServer 2.0 (it is an apache essentially) fronting two
tomcat instances (version 5.5.16) using mod_jk over ajp13.
I have configured a load
id cookie in the response, so I am not
sure if it is maintaining session affinity.
I have configured the load balancer worker for session affinity with this
directive in worker.properties:
worker.lb_worker.sticky_session=True
What am I missing?
What is the exact name of the cookie that mod_jk
59 matches
Mail list logo