Jump to content

Apache web server 2.2 + 2 tomcat Nodes


nirmalav

Recommended Posts

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. i have done remaing configurations properly. if not it will not work at least one node also :showoff:

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

Link to comment
Share on other sites


  • Replies 1
  • Views 784
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...