2011/4/1 Marco Sarti <marco.sa...@plangroup.it>: > Hi, > > I'm working with mod_jk 1.2.31 for Apache 2.2.3 under RedHat Linux and I'm > trying to configure a simple two JBoss nodes load balancer. > No virtualhost are used. > Workers are configured as follow: > ------------- > worker.lnxstagjboss1_staging3.port=8009 > worker.lnxstagjboss1_staging3.host=172.16.133.117 > worker.lnxstagjboss1_staging3.type=ajp13 > worker.lnxstagjboss1_staging3.lbfactor=1 > > worker.lnxstagjboss2_staging3.port=8009 > worker.lnxstagjboss2_staging3.host=172.16.133.118 > worker.lnxstagjboss2_staging3.type=ajp13 > worker.lnxstagjboss2_staging3.lbfactor=1
How the above names (with "staging" in them) match to the ones below (with "partition" in them)? > > worker.loadbalancer3.type=lb > worker.loadbalancer3.sticky_session=1 > worker.loadbalancer3.balance_workers=lnxstagjboss1_partition3,lnxstagjboss2_partition3 > ------------ > > The two JBoss bind to the addresses 172.16.133.117 and 172.16.133.118, not > localhost. > When running Apache, the worker try to connect to localhost instead of the > two hosts and obviously does not work. This is the relevant part of log: > > [Fri Apr 01 15:14:29 2011][6809:4864] [debug] ajp_validate::jk_ajp_common.c > (1996): worker lnxstagjboss1_partition3 contact is 'localhost:8009' > ... > [Fri Apr 01 15:14:29 2011][6809:4864] [debug] ajp_validate::jk_ajp_common.c > (1996): worker lnxstagjboss2_partition3 contact is 'localhost:8009' > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org