Try this:
| # Define list of workers that will be used | # for mapping requests | # The configuration directives are valid | # for the mod_jk version 1.2.18 and later | | # Define Node1 | # modify the host as your host IP or DNS name. | worker.node1.port=8009 | worker.node1.host=node1._._._.209 | worker.node1.type=ajp13 | worker.node1.lbfactor=1 | # worker.node1.connection_pool_size=10 (1) | | # Define Node2 | # modify the host as your host IP or DNS name. | worker.node2.port=8009 | worker.node2.host= node2._._._.124 | worker.node2.type=ajp13 | worker.node2.lbfactor=1 | # worker.node1.connection_pool_size=10 (1) | | # 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 | And for worker.node1.host dont use node1 or node2, just put the IP address of the machine like this (but using your own subnet) | worker.node1.host=192.168.1.209 | worker.node2.host= 192.168.1.124 | Remove this anonymous wrote : However i have added the following lines of code with uriworkermap.properties as per hmesha's posting | | Code: | | # Test App | /TestApp=loadbalancer | /TestApp/*=loadbalancer The JkMount in the apache VirtualHost directive takes care of this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017076#4017076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017076 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
