Round Robin
Hi all We are currently trying to setup load balancing in our environment and as after testing the Load Balancing it would appear to be working. I have run up two applications sessions, one of which went to the 'A' tomcat worker and the other to the 'C' tomcat worker. The status page suggests that the workers are load balanced, although as yet the 'B' worker has only ever appeared with a status of 'N/A' (Unknown). Other workers have appeared with a status of 'OK'. I suspect that this load balancer is not using a 'Round Robin' algorithm. I also cannot see any way of setting this as a Load Balancer method. Below is our workers.properties file, could anyone please advise why a round robin approach may not be working pls ? thanks in advance # == # JK configuration directives # == ps=/ # == # list the workers required as entry points from apache by name # == worker.list= ajp13, loadbalancer , status # == # Single worker to handle all non load balanced requests # (Esri IMS) # == worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # == # Balanced set of workers to handle all load balanced requests # (IMF Easimap) # == # --- # 1st Balanced worker Tomcat1 # --- worker.tomcat1.port=8109 worker.tomcat1.host=localhost worker.tomcat1.type=ajp13 worker.tomcat1.socket_keepalive=1 worker.tomcat1.socket_timeout=600 worker.tomcat1.lbfactor=100 worker.tomcat1.route=tomcat5_A worker.tomcat1.connection_pool_timeout=300 # --- # 2nd Balanced worker Tomcat2 # --- worker.tomcat2.port=8209 worker.tomcat2.host=localhost worker.tomcat2.type=ajp13 worker.tomcat2.socket_keepalive=1 worker.tomcat2.socket_timeout=600 worker.tomcat2.lbfactor=100 worker.tomcat2.route=tomcat5_B worker.tomcat2.connection_pool_timeout=300 # --- # 3rd Balanced worker Tomcat3 # --- worker.tomcat3.port=8309 worker.tomcat3.host=localhost worker.tomcat3.type=ajp13 worker.tomcat3.socket_keepalive=1 worker.tomcat3.socket_timeout=600 worker.tomcat3.lbfactor=100 worker.tomcat3.route=tomcat5_C worker.tomcat3.connection_pool_timeout=300 #-- # Tomcat balancer #-- worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tomcat1, tomcat2, tomcat3 # == # Tomcat status worker - gives status information on connected # instances # == worker.status.type=status Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Load Balancing Any Experts Out There Please :-)
All We have built a workers.properties file with load balancing capability however would appreciate peoples thoughts on its structure as when we import this and attempt to run the application it knocks the app over. :-( Any help greatly appreciated Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU image/gif- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Load Balancing Any Experts Out There Please :-)
Forgot to add the properties file my apologies Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Dean Lonsdale/UK/[EMAIL PROTECTED] 15/08/2007 15:04 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Barry k Blackhall/UK/[EMAIL PROTECTED] Subject Load Balancing Any Experts Out There Please :-) All We have built a workers.properties file with load balancing capability however would appreciate peoples thoughts on its structure as when we import this and attempt to run the application it knocks the app over. :-( Any help greatly appreciated Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU image/gifimage/gif- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Load Balancing
Resend of the last mail removing signature attachments, We have built a workers.properties file to incorporate load balancing however when we use this file it would appear that it prevents the application from functioning correctly, please can anyone comment on whether the load balancing parameters are set correctly. Many thanks Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Load Balancing
=$(workers.tomcat_home) # # The JVM that we are about to use # # This is for Java2 # # Windows #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll # IBM JDK1.3 #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so # Unix - Sun VM or blackdown #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so # # And this is for jdk1.1.X # #worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll # # Setting the place for the stdout and stderr of tomcat # worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr # # Setting the tomcat.home Java property # #worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home) # # Java system properties # # worker.inprocess.sysprops=java.compiler=NONE # worker.inprocess.sysprops=myprop=mypropvalue # # Additional path components. # # worker.inprocess.ld_path=d:$(ps)SQLLIB$(ps)bin # worker.server1.type=ajp13 worker.server1.port=8109 worker.server1.socket_timeout=60 worker.server1.socket_keepalive=true worker.server1.lbfactor=1 # worker.status.type=status Dean Lonsdale/UK/[EMAIL PROTECTED] 15/08/2007 15:28 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Load Balancing Resend of the last mail removing signature attachments, We have built a workers.properties file to incorporate load balancing however when we use this file it would appear that it prevents the application from functioning correctly, please can anyone comment on whether the load balancing parameters are set correctly. Many thanks Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Error in access_log when launching an application GUI
Hi all I am trying to launch the ArcIMS ADmin Utility GUI (GIS Application) and receiving the following error in the access_log [info] jk_handler::mod_jk.c (2254): No body with status=404 for worker=ajp13 MY mod_jk file looks as follows. Any help much appreciated loadmodule jk_module modules/mod_jk.so jkworkersfile /usr/local/apache/conf/workers2.properties jklogfile logs/mod_jk.log jkloglevel info jklogstampformat [%a %b %d %H:%M:%S %Y] JkMount /*.jsp ajp13 JkMount /*.java ajp13 JkMount /*.class ajp13 JkMount /servlet* ajp13 JkMount /imf/* ajp13 JkMount /manager/* ajp13 JkMount /admin/* ajp13 JkMount /jkstatus/* ajp13 JkMount /scripts* ajp13 JkMount /.esri* ajp13 Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Converting workers2.properties file to workers.properties
All We are moving from JK2 to JK and would like some information/help on how to convert a workers2.properties file (JK2) to workers.properties (JK) any help greatly appreciated..apols but this question comes from an Apache novice.. Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Testing Tomcat - HELP
Does anyone know how to verify whether Tomcat is operational using a browser or other wise !!! Help appreciated ...many thanks Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
MOD_JK TEST
Hi guys Can anyone let me know of a test to prove whether the mod_jk is working between Apache and Tomcat please ? many thanks Regards / Cordialement / Mit freundlichen Grüßen -- Dean Lonsdale Dean Lonsdale/UK/IBM [EMAIL PROTECTED] Systems Architect IBM Systems Technology Group Senior Accredited IT Specialist Tivoli Certified Consultant IBM UK Ltd, Washway Road, Manchester Ext: 07834 252463 Mobex: 264328 +44 (0)1253 731299 View the Systems Group website at http://w3-03.ibm.com/systemstechnology/index.html Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU