Forum Moderators: phranque

Message Too Old, No Replies

identifying one node in Apache Web Server2.2

         

nirmala

1:07 pm on Oct 24, 2011 (gmt 0)

10+ Year Member



hi,
I have 2 tomcat instances. And I have tried to configure the Apache HTTP 2.2 web Server. following are the my worker.properties file

workers.java_home=C:\Java\jdk1.5.0_22
# Worker list
worker.list=loadBalancer
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcat1, tomcat2
############ Define Node1 ###################
worker.tomcat1.port=8009
worker.tomcat1.host=tomcat1_ip
worker.tomcat1.type=ajp13
worker.tomcat1.lbfactor=1
worker.loadBalancer.tomcat1.sticky_session=true

############ Define Node2 ###################
worker.tomcat2.port=11009
worker.tomcat2.host=tomcat2_ip
worker.tomcat2.type=ajp13
worker.tomcat2.lbfactor=2
worker.loadBalancer.tomcat2.sticky_session=true

# Load-balancer
#worker.loadbalancer.type=lb
#worker.loadbalancer.balanced_workers=tomcat2


My problem is if you configure one node it is working but when you try to configure 2 nodes in balanced_workers, it is not working. Could some help me to identify the problem in the workers.properties.

Nothing there in the mod_jk.log file. If you want I will upload it also

Any help would be appriciated.

regards,
Nirmala Vijaya Sekhar Varre