tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <>
Subject RE: Load Balancing and JkMount
Date Wed, 21 Mar 2001 22:03:22 GMT
you need to indicate all the workers =>

worker.list=ajp12, ajp13, Xajp13

worker.loadbalancer.balanced_workers= ajp13, Xajp13

Si la fortune vient en dormant, ?a n'emp?che pas les emmerdements de venir
au r?veil.
-- Pierre Dac

>-----Original Message-----
>From: Amir Nuri []
>Sent: Wednesday, March 21, 2001 2:06 PM
>To: Tomcat-User
>Subject: Re: Load Balancing and JkMount
>Thanks for your response,
>I can't activate the load balancing yet, Do you have any more ideas ??
>I use the following configuration:
>My worker configuration file:
>worker.loadbalancer.balanced_workers= ajp13, Xajp13
>In My Tomcat.conf file:
>JkMount /*.jsp lb
>JkMount /servlet/* lb
>>>I've not tried this, but don't you replace the workers in the in the
>>>workers list in the file with the "lb"
>worker, and then
>>>add all of the workers you want load-balanced to the
>load-balancer list?
>>>email me back if you don't understand my suggestion and I'll
>look into the
>>>files a bit and give you a more exact answer.
>>>On Tue, 20 Mar 2001, Amir Nuri wrote:
>> All the examples and archive messages that I have seen so
>far talk about
>> load balancing
>> using either multiple JVM's or Multiple <Connector> Directives with
>> different port numbers
>> and corrosponding workers in the file.
>> But they all use different Mount Points for each worker !
>> However my need is to Load Balance a *SINGLE MOUNT POINT*
>> ( A single Virtual Apache Host corrosponding to a <Host> (context) in
>> server.xml )
>> i.e I want*.jsp to be load balanced by 4 worker
>> threads.
>> I am currently using 4 JkMount Directives, and the server is up and
>> i.e
>> JkMount /*.jsp ajp13
>> JkMount /*.jsp Xajp13
>> JkMount /*.jsp Yajp13
>> JkMount /*.jsp Zajp13
>> Also if I name the workers ajp13a , ajp13b and ajp13c,
>apache does not
>> and gives me an error
>> saying that it cannot find the workers file !!!
>> Anyway, my question are :-
>> 1. Is this the right way to have a single mount point load balanced ?
>> 2. If so, is it a good idea to run the tomcat instances in
>the same JVM ?
>> should I run multiple tomcat/JVM
>>     instances on the same / different servers ?

View raw message