Just one note. Because of the way that lb_factor works, having a factor as high as yours is absurd and a bit self defeating. You also might want to look into the level parameter instead of the lb_factor parameter. Check out the jk2 docs on the web page for psuedo code explaining my comments. --Angus
> -----Original Message----- > From: keita elhadji [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 05, 2004 11:30 AM > To: [EMAIL PROTECTED] > Subject: mod_jk2 tomcat > > > > Hi, > > I have two tomcat server one in Machine1 and another > to machine2 their name is www.xxxx.biz and i want to > do work clustering : > in machine1 tomcat5.0.19 apache2 mod_jk2 > in machine2 tomcat5.0.19 apache2 mod_jk2 > > my workers2.properties on machine1 is : > --------------------------------------- > > [logger] > level=DEBUG > > [config:] > file=/usr/local/apache2/conf/workers2.properties > 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 serve > rs > file=/var/run/jk2.shm > size=1048576 > debug=0 > disabled=0 > > [workerEnv:] > info=Global server options > timing=1 > debug=0 > > [lb:lb] > info=Default load balancer. > debug=0 > > > [channel.socket:localhost:8009] > info=Ajp13 forwarding to localhost 8009 > debug=10 > tomcatId=tomcat > lb_factor=99 > group=lb > ver=1 > graceful=0 > disabled=0 > [channel.socket:192.168.0.68:8009] > info=Ajp13 forwarding to 192.168.0.68 8009 > debug=10 > tomcatId=tomcat > lb_factor=33 > group=lb > ver=1 > graceful=0 > disabled=0 > [status:] > info=Status worker, displays runtime informations > > [uri:/jkstatus/*] > info=Display status information and checks the config > file for changes. > group=status: > > [uri:/pro/*.jsp] > info=Prefix mapping > > [uri:/pro/*.jsp] > info=Extension mapping > > [uri:/pro/*] > info=The pro webapp. > debug=0 > > the server.xml : > ---------------- > > <!-- Define a Coyote/JK2 AJP 1.3 Connector on port > 8009 --> > <Connector port="8009" > enableLookups="false" > redirectPort="8443" debug="0" > protocol="AJP/1.3" /> > > > <Engine jvmRoute="tomcat1" name="Standalone" > defaultHost="localhost" debug=" > 0"> > > when i start apache: > -------------------- > > [Wed May 05 16:58:52 2004] [notice] config.update(): > done logger > [Wed May 05 16:58:52 2004] [notice] config.update(): > done config: > [Wed May 05 16:58:52 2004] [notice] config.update(): > done uriMap: > [Wed May 05 16:58:52 2004] ( info ) [jk_logger_file.c > (176)] Level DEBUG 0 > [Wed May 05 16:58:52 2004] [notice] config.update(): > done logger.file:0 > [Wed May 05 16:58:52 2004] [notice] config.update(): > done shm: > [Wed May 05 16:58:52 2004] [notice] config.update(): > done workerEnv: > [Wed May 05 16:58:52 2004] [notice] config.update(): > done lb:lb > [Wed May 05 16:58:52 2004] [notice] config.update(): > done channel.socket:localhost:8009 > [Wed May 05 16:58:52 2004] [notice] config.update(): > done channel.socket:192.168.0.68:8009 > [Wed May 05 16:58:52 2004] [notice] config.update(): > done status: > [Wed May 05 16:58:52 2004] [notice] config.update(): > done uri:/jkstatus/* > [Wed May 05 16:58:52 2004] [notice] config.update(): > done uri:/pro/*.jsp > [Wed May 05 16:58:52 2004] [notice] config.update(): > done uri:/pro/*.jsp > [Wed May 05 16:58:52 2004] [notice] config.update(): > done uri:/pro/* > > When i send a request only the server who i send the > request answer ...... > > can someone help me > thanks for answer. > > > > > > > > Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit > partout ! > Cr�ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ > > Dialoguez en direct avec vos amis gr�ce � Yahoo! Messenger > !T�l�chargez Yahoo! Messenger sur http://fr.messenger.yahoo.com > > --------------------------------------------------------------------- > 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]
