Mail Archive Home | enhydra List | July 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi there, I'm having some difficulty configuring my mod_jk2 in Apache.I know that maybe this could go to Tomcat/Apache lists, but I didn't found any help in the Docs.
I have one Apache with mod_jk2 and 2 Tomcat/Enhydra 6.4 running.I want to configure mod_jk2 in Apache to do load balancing between the 2 Tomcat.
The problem is that I only get a round robbing distribution. Can any one help me? Here is my workers2.properties file: # Default channel [channel.socket:127.0.0.1:9009] port=9009 host=127.0.0.1 tomcatId=jvm1 # Add additional Enhydra instances that listen on differnet ports # [channel.socket:localhost:9019] # port=9019 # host=127.0.0.1 [channel.socket:192.168.0.251:9009] port=9009 host=192.168.0.251 tomcatId=jvm2 [shm] file=auto # define the worker [status:status] [ajp13:127.0.0.1:9009] channel=channel.socket:127.0.0.1:9009 # Add channels for the additional Enhydra instance # [ajp13:localhost:9019] # channel=channel.socket:localhost:9019 [ajp13:192.168.0.251:9009] channel=channel.socket:192.168.0.251:9009 # Load balancing worker [lb:balance] worker=ajp13:192.168.0.251:9009 worker=ajp13:127.0.0.1:9009 stickySession=1 # Uri mappings # JK status information [uri:/jkstatus/*] worker=status:status # Add uri mappings for your applications here [uri:/calculator/*] worker=lb:balance [uri:/discRack/*] worker=lb:balance [uri:/mkweb/*] worker=lb:balance Thanks, Rafael Torres
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.