You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Thutkawkorapin, Jessada" <JT...@exchange.Thailand.NCR.com> on 2003/08/14 13:12:50 UTC

something wrong in apache tomcat load balancing configuration

Hi
               I'm currently testing the Load-Balancing & Failover
possibilities of 
Tomcat and i came to the conclusion that something goes wrong with the 
Failback... 
 
I've installed tomcat#1, tomcat#2 and apache in the same server with this
environment
-          Win 2000 Pro OS
-          tomcat 4.1.27
-          Apache 1.3.26
-          mod_jk-1.3.26.dll
 
Talking about load-balancing, everthing is Ok. Requests to dynamic pages 
are processed by both Tomcat servers according to the lbFactor (50/50)
 
Then I stop server #2.
The next HTTP request takes a few seconds to be proceed. I guess this is 
normal, since the load-balancer has to analyse the situation and determine 
that server #2 is no more available.
 
The problem is that when I re-start the 2nd server, load-balancer ignore 
it and requests are still proceed 100% by server #1.
 
I have to re-start the Apache/HTTP server to make the load-balancing 
working again...
 
Do you think there is something else to configure to be sure that the load-
balancer determine servers availability on the fly ?
 
ps. I also attach the necessary configuration file with this email
 
thanx
 
Jessada
 

RE: something wrong in apache tomcat load balancing configuration

Posted by Mladen Turk <mt...@apache.org>.
From: Thutkawkorapin, Jessada
Sent: Thursday, August 14, 2003 1:13 PM
To: tomcat-dev@jakarta.apache.org
Subject: something wrong in apache tomcat load balancing configuration


The problem is that when I re-start the 2nd server, load-balancer ignore

it and requests are still proceed 100% by server #1.


Be patient!
After a few minutes you'll see the second instance operational too.

MT.


RE: something wrong in apache tomcat load balancing configuration

Posted by Mladen Turk <mt...@apache.org>.
From: Thutkawkorapin, Jessada
Sent: Thursday, August 14, 2003 1:13 PM
To: tomcat-dev@jakarta.apache.org
Subject: something wrong in apache tomcat load balancing configuration


The problem is that when I re-start the 2nd server, load-balancer ignore

it and requests are still proceed 100% by server #1.


Be patient!
After a few minutes you'll see the second instance operational too.

MT.


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