Hi, I got this workers2.properties from wrox.com. It claims to support load balancing by using more than one tomcat jvms. In their setting, they have several startup scripts for each tomcat instance. Does it mean that I need to have a unique tomcat installation folder, and a unique server.xml for each instance? --- machine 1: startup.bat ------ set CATALINA_BASE=c:\cluster\machine1 call startup
--- machine 2: startup.bat ------ set CATALINA_BASE=c:\cluster\machine2 call startup ---------- workers2.properties ------------- # settings for logger of type Apache2 [logger.apache2] file="c:\cluster\apache\error.log" level=INFO debug=1 # Provide the basic config needed [config] file=conf/workers2.properties debug=0 [channel.socket:localhost:8009] host=localhost port=8009 tomcatId=machine1 group=balanced lb_factor=1 # route=tc1 [ajp13:localhost:8009] channel=channel.socket:machine1 [channel.socket:localhost:8109] host=localhost port=8109 tomcatId=machine2 group=balanced lb_factor=1 # route=tc2 [ajp13:localhost:8109] channel=channel.socket:machine2 [channel.socket:localhost:8209] host=localhost port=8209 tomcatId=machine3 group=balanced lb_factor=1 # route=tc3 [ajp13:localhost:8209] channel=channel.socket:machine3 [lb:balanced] worker=ajp13:localhost:8009 worker=ajp13:localhost:8109 worker=ajp13:localhost:8209 timeout=90 attempts=3 recovery=30 StickySession=0 noWorkersMsg=Server Busy please retry later noWorkerCodeMsg=503 # Shared Memory file settings [shm] file=c:\cluster\apache\jk2.shm size=1000000 # Map the Tomcat jsp-examples webapp to the Web server uri space [uri:/jsp-examples/*] info=mapping the jsp-examples context of Tomcat context=/jsp-examples group=balanced [status:] # Status URI mapping [uri:/jkstatus/*] group=status ------------- nyhgan <[EMAIL PROTECTED]> wrote: Hi, does anyone have a sample workers2.properties that can enable the load balancing between two tomat instances? Thanks! nyhgan --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!