[enhydra] Problem configuring mod_jk2
Rafael Torres <[email protected]> Wed, 27 Jul 2005 21:25:49 +0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1122495955-12365-223 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ------------=_1122495955-12365-223 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1122495955-12365-223--