tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladyslav Kosulin <kosu...@yahoo.com>
Subject Re: Load Balancing with MOD_JK and MOD_JK2 on windows.
Date Thu, 11 Sep 2003 13:09:05 GMT
Joe Harmon wrote:

> Please, please, please, can someone help.
> 
> MOd_JK2 issue:  If I am using mod_jk2.dll (tried several builds) I get
> the round robin to function, but not the stick sessions.  All three
> instances of Tomcat are running on the same box using the same files
> with different ports. Here is the configuration.
> 
> 
> 
> ## This is for the first Tomcat instance ##  uses SERVER.XML
> [channel.socket:lab49.provo.novell.com:9009] 
> port=9009
> host=127.0.0.1 

Change the names to remove dots everywhere, i.e. use:
[channel.socket:lab49:9009]
port=9009
host=127.0.0.1

mod_jk2 daes not support dots in names. it is a known bug for a long time.

> 
> ## This is for the second Tomcat instance ##  uses SERVER2.XML
> [channel.socket:lab49.provo.novell.com:9019] 
> port=9019
> host=127.0.0.1 
> 
> ## This is for the third Tomcat instance ## uses SERVER3.XML
> [channel.socket:lab49.provo.novell.com:9029] 
> port=9029
> host=127.0.0.1 
> 
> ## This is defining the worker over the AJP13 protocol. This will need
> to be done for each instance. ##
> [ajp13:lab49.provo.novell.com:9009]
> [ajp13:lab49.provo.novell.com:9019]
> [ajp13:lab49.provo.novell.com:9029]
> 
> [lb:lb]
> worker=ajp13:lab49.provo.novell.com:9009
> worker=ajp13:lab49.provo.novell.com:9019
> worker=ajp13:lab49.provo.novell.com:9029
> #tickySession=1
> 
> [shm:]
> info=Scoreboard. Required for reconfiguration and status with
> multiprocess servers
> file=c:/apache/Apache2/conf/xx/jk2.shm
> size=1000000
> debug=0
> disabled=0
> 
> [uri:/examples/*]
> worker=lb:lb
> worker=ajp13:localhost9009
> 
> [status:status]
> 
> [uri:/jkstatus/*]
> worker=status:status
> 
> [uri:/admin/*]
> worker=ajp13:lab49.provo.novell.com:9009
> 
> [uri:/nps/*] 
> group=lb
> stickySession=1
> ###End of workers2.properties###### 
> 
> Joe Harmon
> Web Services Support 
> Novell Inc.  -  The leading provider of Information Solutions.
> (801) 861-9163
> jharmon@novell.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 



Mime
View raw message