Hi, Folks, I set up 2 instances in one machine with different port numbers. it works fine last week, 2 instances can handle the requests one by one. Today I restart my computer, the requests always go to the greater port number. Foe example:
I set worker.node1.port=8009 | | worker.node2.port=8109 so all queries always go to node2. (8109>8009) if I exchange the port, all queries will go to node1. Also I set worker.node1.port=8209 | | worker.node2.port=8109 the conclusion is the right, all queries go to node1 (because 8209>8109). Could you tell me what is wrong? Thank you. Chwang this is my workers.properties. workers.apache_log=/var/log/httpd/ | | # Define Node1 | worker.node1.port=8009 | worker.node1.host=localhost | worker.node1.type=ajp13 | worker.node1.lbfactor=1 | worker.node1.local_worker=1 | worker.node1.cachesize=10 | | | # Define Node2 | worker.node2.port=8109 | worker.node2.host=localhost | worker.node2.type=ajp13 | worker.node2.lbfactor=1 | worker.node2.local_worker=1 | worker.node2.cachesize=10 | | | # Load-balancing behaviour | worker.loadbalancer.type=lb | worker.loadbalancer.balanced_workers=node1, node2 | worker.loadbalancer.sticky_session=1 | worker.loadbalancer.local_worker_only=1 | worker.list=loadbalancer | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955121#3955121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955121 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user