Yes! to tomcat/conf/server.xmlI have already added<Engine name="Catalina" defaultHost="localhost" jvmRoute="node1">to 172.16.100.122<Engine name="Catalina" defaultHost="localhost" jvmRoute="node2">to 172.16.100.121<Engine name="Catalina" defaultHost="localhost" jvmRoute="node3">to localhost--
On Fri, Jan 28, 2011 at 10:40 AM, Igor Cicimov <icicimov@xxxxxxxxx> wrote:
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.badshah@xxxxxxxxx> wrote:
Dear allFollowing 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,statusworker.node1.local_worker=1
# 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=100worker.node2.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# Define Node3worker.node3.local_worker=1
worker.node3.port=8009
worker.node3.host=localhost
worker.node3.type=ajp13
worker.node3.lbfactor=1
worker.node3.socket_timeout=100
# 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
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