Dear all,
I succeed to config apache + tomcat + mod_jk + loadbalance.  But when replace mok_jk 
with mod_jk2, the load balance not work. Anyone can help me ? 
Here are my config file:

*****************************
/* workers2.properties*/

[logger]
file=${serverRoot}/logs/jk2.log 
level=info

[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=${serverRoot}/logs/jk2.shm
size=1000000
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0

[lb:]
info=Default load balancer.
debug=1

[lb:lb_1]
info=Second load balancer.
debug=0


[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=tomcat1
lb_factor=1
group=lb_1
disabled=0

[channel.socket:localhost:8019]
info=A second tomcat instance. 
debug=0
tomcatId=tomcat2
lb_factor=1
group=lb_1
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:127.0.0.1:100]
alias=127.0.0.1:100

[uri:/*.jsp]
context=/
group=lb_1
debug=0

********************
/*jk2.properties for tomcat1*/
handler.list=request,container,channelSocket
secure=false
soTimeout=20000
port=8009
channelSocket.port=8009
jkHome=..
maxThreads=75
channelSocket.address=127.0.0.1
backlog=10
timeout=20000
channelSocket.maxPort=port+10 
tcpNoDelay=true


********************
/*jk2.properties for tomcat2*/
handler.list=request,container,channelSocket
secure=false
soTimeout=20000
port=8019
channelSocket.port=8019
jkHome=..
maxThreads=75
channelSocket.address=127.0.0.1
backlog=10
timeout=20000
channelSocket.maxPort=port+10 
tcpNoDelay=true

*********************************

Best Regards!
Jmeng


_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to