Hi, How have you configured Load-Balancing in Tomcat+Apache environment? I have multiple Tomcat Instances on my tomcat server and an Apache server with SiteMinder enabled for every url on tomcat instance. How do i configure load balancing in this environment with mod_jk connector at apache front?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 3:39 PM To: tomcat-user@jakarta.apache.org Subject: jkstatus fails in Load Balanced Worker Configuration - BUG? Hi - I'm posting details of this failure here, before I report as a Bug, just in case I am missing something.... Environment: Tomcat 5.5.12 Apache Web Server 2.0.54 JK Connector 1.2.13 and 1.2.14.1 Solaris 5.8 Problem Summary: Configuring Tomcat 5.5.12 to have two instances within an install, front end with Apache 2.0.54, configure JK Connector, workers.properties set to use balance_workers directive. Jkstatus works fine with JK 1.2.13 and fails with JK1.2.14 using exactly the same configuration. However, JK 1.2.14 can be made to work with a non load-balanced configuration. Problem Detail: With this configuration, JK 1.2.13 displays jkstatus, but jkstatus fails with JK 1.2.14: Apache.conf - LoadModule jk_module <path_to>/mod_jk.so-jk1.2.14.1 #LoadModule jk_module <path_to>/mod_jk.so-jk1.2.13 JkWorkersFile <path_to>/workers.properties JkLogFile <log_file> JkLogLevel debug JkMount /*.jsp group1 JkMount /jkmanager/* jkstatus Workers.properties - worker.list=group1,jkstatus #Settings for machine0 worker worker.machine0.port=<port_no> #worker.machine0.host=<hostname> worker.machine0.host=<ip_addr> worker.machine0.type=ajp13 worker.machine0.lbfactor=1 #Settings for machine1 worker worker.machine1.port=<port_no> #worker.machine1.host=<hostname> worker.machine1.host=<ip_addr> worker.machine1.type=ajp13 worker.machine1.lbfactor=1 worker.jkstatus.type=status #Define LB Worker worker.group1.type=lb worker.group1.balance_workers=machine0,machine1 worker.group1.sticky_session=0 With this configuration, both JK 1.2.13 and 1.2.14 both display jkstatus succesfully: Apache.conf - LoadModule jk_module <path_to>/mod_jk.so-jk1.2.14.1 #LoadModule jk_module <path_to>/mod_jk.so-jk1.2.13 JkWorkersFile <path_to>/workers.properties JkLogFile <log_file> JkLogLevel debug JkMount /*.jsp machine0 JkMount /jkmanager/* jkstatus Workers.properties - worker.list=machine0,jkstatus #Settings for machine0 worker worker.machine0.port=<port_no> #worker.machine0.host=<hostname> worker.machine0.host=<ip_addr> worker.machine0.type=ajp13 worker.machine0.lbfactor=1 worker.jkstatus.type=status Thank you, Mervyn Sands Global Technology Infrastructure - Application Server Engineering : http://emis.chase.com/groups/appServer/ JPMorganChase & Co., 1 Chaseside Solent Building, Mail Point 511B, Bournemouth, BH7 7DA ( desk: 44-(0)1202 342426 GDP 731 2426 ( mob: 44-(0)77 141 00764 * email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]