has anyone managed to get the greaceful shutdown feature working with mod_jk2 ?  

if so... what is the secret ?

I am incrementing the ver attribute when I alter the graceful setting for a given 
channel.socket and the jk2status page registeres to noted update... but it still 
directs new connections to the socket I am attempting to shutdown.

if I am missing something... or if I need an updated version of the mod_jk2 
connector... please let me know.

I am running: 
-apache2 version 2.0.48
-jakarta tomcat connectors version 2.0.4 source build

here is my current workers2.properties file:

-----------

[logger.file:0]
level=DEBUG
file=/usr/local/apache/logs/jk2.log

[workerEnv:]
info=Global Server Options
debug=0
logger=logger.file:0

##############################
## Load Balanced workers
##############################

[lb:lb]
debug=1
logger=logger.file:0
#balanced_workers=ajp13:10.10.1.52:12009,ajp13:10.10.1.91:11009
                   
[channel.socket:10.10.1.91:11009]
ver=2
debug=1
port=11009
host=10.10.1.91
tomcatId=tomcat1
lb_factor=0
group=lb
graceful=1
disabled=0

[channel.socket:10.10.1.52:12009]
ver=1
debug=1
port=12009
host=10.10.1.52
tomcatId=tomcat2
lb_factor=1
group=lb
graceful=0
disabled=0

[ajp13:10.10.1.91:11009]
channel=channel.socket:10.10.1.91:11009

[ajp13:10.10.1.52:12009]
channel=channel.socket:10.10.1.52:12009

###############################
## Box Specific ApManager workers
###############################

[channel.socket:10.10.1.91:11019]
port=11019
host=10.10.1.91
type=ajp13

[channel.socket:10.10.1.52:12019]
port=12019
host=10.10.1.52
type=ajp13

[ajp13:10.10.1.91:11019]
channel=channel.socket:10.10.1.91:11019

[ajp13:10.10.1.52:12019]
channel=channel.socket:10.10.1.52:12019

####################################
## JK2 Status
####################################
[status:status]

[uri:/jk2status/*]
worker=status:status

Reply via email to