Hi
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.list=lb

worker.ajp12.host=host1
worker.ajp12.port=8007
worker.ajp12.type=ajp12

worker.ajp13.host=host1
worker.ajp13.port=8009
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.Xajp13.host=host2
worker.Xajp13.port=8009
worker.Xajp13.type=ajp13
worker.Xajp13.lbfactor=1

worker.loadbalancer.type=lb
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 workers.properties 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 workers.properties 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 http://ww.mysite.com/*.jsp to be load balanced by 4 worker
> threads.
>
> I am currently using 4 JkMount Directives, and the server is up and
running.
> 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
start
> 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 ?
Or
> should I run multiple tomcat/JVM
>     instances on the same / different servers ?

Reply via email to