running Apache 2.0.47 / mod_jk2 2.0.2 / Tomcat 4.1.24 on RedHat Linux 8.0 with two instances of Tomcat having an identical webapps tree.
The "second" servlet engine never gets as many sessions as the "first" servlet engine. I wrote a script to record the session counter available from http://localhost:portno/manager/list.
How does mod_jk2 deliver the requests to the servlet engines?
==> /var/log/tomcat1/session_count.log <== Nov 18 14:29:00 58 Nov 18 14:30:00 65 Nov 18 14:31:00 65 Nov 18 14:32:00 84 Nov 18 14:33:01 88 Nov 18 14:34:00 86 Nov 18 14:35:00 83 Nov 18 14:36:00 77 Nov 18 14:37:01 60 Nov 18 14:38:00 62
==> /var/log/tomcat2/session_count.log <== Nov 18 14:29:00 17 Nov 18 14:30:00 16 Nov 18 14:31:00 19 Nov 18 14:32:00 27 Nov 18 14:33:01 25 Nov 18 14:34:00 25 Nov 18 14:35:00 27 Nov 18 14:36:00 28 Nov 18 14:37:01 20 Nov 18 14:38:00 21
==> /opt/apache/conf/workers2.properties <=== [config:] file=/opt/apache/conf/workers2.properties debug=0 debugEnv=0
[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=/opt/tomcat/work/jk2.shm
size=1000000
debug=0
disabled=0
[workerEnv:] info=Global server options timing=1 debug=0
[channel.socket:localhost:8001] info=Ajp13 forwarding over socket debug=0 tomcatId=tomcat1 lb_factor=1
[channel.socket:localhost:8002] info=Ajp13 forwarding over socket debug=0 tomcatId=tomcat2 lb_factor=1
[status:] info=Status worker, display runtime information
[uri:/jkstatus/*] info=Display status information and checks the config file for changes group=status:
[...some URI mappings...]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]