# only at beginnin. In production uncomment it out
[logger.apache2]
level=DEBUG
[shm]
file=c:/jk2.shm
size=1048576
# Example socket channel, override port and host.
[channel.socket]
port=11009
host=127.0.0.1
lbfactor=150
tomcatId=tomcat1
[channel.socket]
port=12009
host=127.0.0.1
lbfactor=100
tomcatId=tomcat2
#define a load balancer work
[lb]
stickySession=0
attempts=5
# Uri mapping
[uri:/examples/*]
[uri:/*.jsp]
=================================================================================
错误
=================================================================================
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:2 lbfactor 150
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:2 lbfactor 100
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:5 lbfactor 150
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:5 lbfactor 100
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting lb:8 stickySession 0
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting lb:8 attempts 5
[Sat Nov 15 20:18:14 2003] [notice] Parent: Created child process 2864
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:2 lbfactor 150
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:2 lbfactor 100
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:5 lbfactor 150
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting channel.socket:5 lbfactor 100
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting lb:8 stickySession 0
[Sat Nov 15 20:18:14 2003] [notice] config.setAttribute() Error setting lb:8 attempts 5
[Sat Nov 15 20:18:14 2003] [notice] Child 2864: Child process is running
[Sat Nov 15 20:18:14 2003] [notice] jk2_init() Found child 2864 in scoreboard slot 0
[Sat Nov 15 20:18:14 2003] [notice] workerEnv.init() ok C:/Program Files/Apache Group/Apache2/conf/workers2.properties
[Sat Nov 15 20:18:14 2003] [error] mod_jk child init 1 0
[Sat Nov 15 20:18:15 2003] [notice] Child 2864: Acquired the start mutex.
[Sat Nov 15 20:18:15 2003] [notice] Child 2864: Starting 250 worker threads.