Yes. I did a full stop and start of apache. There are no errors in the log files either. Do you, or anyone else, have a workers2.properties file of a working system that you are willing to share? I've gone through all the sections and properties in the latest jakarta jk2 document as well as other How-Tos and don't see what I've missed (I'm afraid I don't understand all of it either :). Does the shm section play a part? I interpretted it to be needed only if one wants to share session data between the differnet tomcat servers, and does not have anything to do with load balancing.
Thanks, -Tom --- Yang Xiao <[EMAIL PROTECTED]> wrote: > Hi, > Did you restart the Apache2 server? My understanding is JK only reloads it > only if the section you modified in workers.properties has "ver" defined. > Also, check your jk.log and Catalina.log files for errors. > Yang > > -----Original Message----- > From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 14, 2004 7:09 PM > To: Tomcat Users List > Subject: RE: Load balancing with apache2, mod_jk2 & tomcat 5.0 > > Thanks but it doesn't seem to make any difference. For each tomcat server I > added sections like the following: > > [ajp13:psahammerhead:8009] > channel=channel.socket:psahammerhead:8009 > group=lb > tomcatId=psahammerhead > > It still only wants to use one of the servers. There are other properties > that > could be used but they're not documented too well. Any other suggestions > would > be greatly appreciated. > > -Tom > > > --- Yang Xiao <[EMAIL PROTECTED]> wrote: > > Hi, > > I think you need to further define the workers with > > > > {ajp13:psahammerhead:8009] > > channel=channel.socket:psahammerhead:8009 > > group=lb > > ... > > etc > > > > hope this helps. > > Yang > > > > > > > > -----Original Message----- > > From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 14, 2004 10:17 AM > > To: [EMAIL PROTECTED] > > Subject: Load balancing with apache2, mod_jk2 & tomcat 5.0 > > > > Hi, > > > > I have set up four tomcat 5.0 servers for load balancing using an apache2 > > server and mod_jk2 on RedHat 9.0. The trouble that I am having is that > most > > of > > the user sessions are routed to only one of the tomcat servers even though > > the > > lb_factor for all is the same, 10. All tomcat servers seem to be working > > since > > I can disable all but one in the workers2.properties file to force that > > tomcat > > server to be used. Chnaging the lb_factor can also cause a different > tomcat > > server to be used most of the time, but I haven't figured out how to > control > > the balancing by lb_factor. > > > > Below is the workers2.properties file that I am using. > > > > Thanks for any help you can provide, > > -Tom > > > > # workers2.properties > > > > [logger] > > level=DEBUG > > > > [config:] > > debug=0 > > debugEnv=0 > > > > [uriMap:] > > info=Maps the requests. Options: debug > > debug=0 > > > > # Alternate file logger > > [logger.file:0] > > level=DEBUG > > file=/usr/local/apache2/logs/jk2.log > > > > #[shm:] > > #info=Scoreboard. Required for reconfiguration and status with > multiprocess > > servers > > #file=/usr/local/apache2/logs/jk2.shm > > #size=1000000 > > #debug=0 > > #disabled=0 > > > > [workerEnv:] > > info=Global server options > > debug=0 > > timing=1 > > # Default Native Logger (apache2 or win32 ) > > # can be overriden to a file logger, useful > > # when tracing win32 related issues > > #logger=logger.file:0 > > > > [lb:lb] > > ver=1 > > info=Default load balancer. > > debug=10 > > > > [channel.socket:psahammerhead:8009] > > ver=1 > > graceful=0 > > info=A tomcat instance - psahammerhead. > > debug=0 > > disabled=0 > > group=lb > > tomcatId=psahammerhead > > lb_factor=10 > > > > [channel.socket:psashovelhead:8009] > > ver=1 > > graceful=0 > > info=A tomcat instance - psashovelhead. > > debug=0 > > disabled=0 > > group=lb > > tomcatId=psashovelhead > > lb_factor=10 > > > > [channel.socket:psabonnethead:8009] > > ver=1 > > graceful=0 > > info=A tomcat instance - psabonnethead. > > debug=0 > > disabled=1 > > group=lb > > tomcatId=psabonnethead > > lb_factor=10 > > > > [channel.socket:psawinghead:8009] > > ver=1 > > graceful=0 > > info=A tomcat instance - psawinghead. > > debug=0 > > disabled=1 > > group=lb > > tomcatId=psawinghead > > lb_factor=10 > > > > [status:status] > > info=Status worker, displays runtime informations > > > > [uri:/jkstatus] > > group=status:status > > > > # Map the Tomcat examples webbapp > > [uri:/myapp/*] > > info=Map the whole webapp > > group=lb > > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Tax Center - File online by April 15th > > http://taxes.yahoo.com/filing.html > > > > --------------------------------------------------------------------- > > 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] > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > 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] > __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
