nirmalav Posted October 24, 2011 Share Posted October 24, 2011 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 More sharing options...
ck_kent Posted October 24, 2011 Share Posted October 24, 2011 I don't have any experience about Tomcat but maybe these links would help:http://viralpatel.net/blogs/2009/08/running-multiple-instance-apache-tomcat-single-server.htmlhttp://kief.com/node/23http://www.linuxjournal.com/article/8561Good luck! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.