Did you configure the Tomcats though? Make sure that jvmRoute attribute is
set at your Engine so for the first one you need to have

<Engine name="Catalina" jvmRoute="node1">

for second one

<Engine name="Catalina" jvmRoute="node2">

etc.

On Fri, Jan 28, 2011 at 3:20 PM, Jehan Badshah <jehan.bads...@nu.edu.pk>wrote:

>
>  Dear all
>
> Following is the configuration of *worker.properties* file,
> using that configuration my browser (or apache) goes in endless loop.
>
> please help.
>
>
> ---------------------------------------------
> --------*worker.properties* --------
> --------------------------------------------
>
>
> worker.list=loadbalancer,status
>
> # Define Node1
> worker.node1.port=8009
> worker.node1.host=172.16.100.122
> worker.node1.type=ajp13
> *worker.node1.lbfactor=1*
> worker.node1.socket_timeout=100
> worker.node1.local_worker=*1*
>
> # Define Node2
> worker.node2.port=8009
> worker.node2.host=172.16.100.121
> worker.node2.type=ajp13
> *worker.node2.lbfactor=1*
> worker.node2.socket_timeout=100
> worker.node2.local_worker=*1*
>
>  # Define Node3
> worker.node3.port=8009
> worker.node3.host=localhost
> worker.node3.type=ajp13
> *worker.node3.lbfactor=1*
> worker.node3.socket_timeout=100
> worker.node3.local_worker=*1*
>
> # Status worker for managing load balancer
> worker.status.type=status
>
> # Load-balancing behaviour
> worker.loadbalancer.type=lb
> worker.loadbalancer.balance_workers=node1,node2,node3
> worker.loadbalancer.sticky_session=1
> *worker.loadbalancer.local_worker_only=1*
>
>
>  -----------------------
> --------end--------
> -----------------------
>
>
> Regards
> ----------------------------------------------------
> Jehan Badshah | Software Engineer
> MS (Computer Science)
> FAST - National University of Computer and Emerging Sciences
> A.K. Brohi Road, H-11/4, Islamabad
> UAN: +92 (0)51 - 111 128 128 ext 263
> Cell: 0300-5847471
>
>
>
>

Reply via email to