Hello all,
I'm seeing some very odd behavior with isapi_redirect on IIS. I'm running
version 1.2.19. My uriworkermap.properties file is as follows:
/*.jsp=loadbalancer
/*.do=loadbalancer
/*.xml=loadbalancer
/healthcheck.txt=xitx001
/vgn-ext-templating/*=loadbalancer
/News/*=loadbalancer
/AppConsole*=loadbalancer
/custom_task_editor*=loadbalancer
!/servlets-examples/*.jpeg=loadbalancer
!/vgn-ext-templating/*.js=loadbalancer
!/vgn-ext-templating/*.css=loadbalancer
!/vgn-ext-templating/*.gif=loadbalancer
!/vgn-ext-templating/*.jpg=loadbalancer
!/StaticFiles/*.xml=loadbalancer
My expectation is that this means that XML files are served by Tomcat unless
they reside under the /StaticFiles virtual directory. However, what I see is
that all XML files are served from Tomcat. The debug log below seems to show
that the plugin stops processing when it finds the /*.xml rule and decides to
forward the request to Tomcat without checking the exclusions, so it sends a
/StaticFiles/abcd.xml to Tomcat.
[Wed Mar 12 04:05:14 2008] [0992:1208] [info] jk_uri_worker_map.c (648):
Reloaded urimaps from D:\Tools\Tomcat Connector\uriworkermap.properties
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_shm.c (135): Initialized
shared memory size=24704 free=24576 addr=0x2250000
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1203): Using
ini file D:\Tools\Tomcat Connector\isapi_redirect.properties.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1209): Using
log file D:\Tools\Tomcat Connector\isapi_redirect.log.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1210): Using
log level 1.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1211): Using
extension uri /jakarta/isapi_redirect.dll.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1212): Using
worker file D:\Tools\Tomcat Connector\workers.properties.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1213): Using
worker mount file D:\Tools\Tomcat Connector\uriworkermap.properties.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1215): Using
rewrite rule file .
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (1217): Using
uri select 0.
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /*.jsp=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /*.do=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /*.xml=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (306): exact
rule /healthcheck.txt=xitx001 was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (306): exact
rule /vgn-ext-templating/*=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /News/*=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /AppConsole*=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /custom_task_editor*=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /servlets-examples/*.jpeg=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /vgn-ext-templating/*.js=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /vgn-ext-templating/*.css=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /vgn-ext-templating/*.gif=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /vgn-ext-templating/*.jpg=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (298):
wildchar rule /StaticFiles/*.xml=loadbalancer was added
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (236): creating
worker loadbalancer
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to
create instance loadbalancer of lb
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to
validate and init loadbalancer
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to
create instance xitx001 of ajp13
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to
validate and init xitx001
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1922): worker
xitx001 contact is 'localhost:8009'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2047): setting
endpoint options:
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2050):
keepalive: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2054): timeout:
5
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2058): buffer
size: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2062): pool
timeout: 300
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2066): connect
timeout: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2070): reply
timeout: 45000
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2074): prepost
timeout: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2078): recovery
options: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2082): retries:
2
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2086): max
packet size: 8192
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1959): setting
connection pool size to 100 with min 5
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to
create instance xitx002 of ajp13
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to
validate and init xitx002
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1922): worker
xitx002 contact is 'xitx002.utc.com:8009'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2047): setting
endpoint options:
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2050):
keepalive: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2054): timeout:
7
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2058): buffer
size: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2062): pool
timeout: 300
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2066): connect
timeout: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2070): reply
timeout: 45000
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2074): prepost
timeout: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2078): recovery
options: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2082): retries:
2
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2086): max
packet size: 8192
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1959): setting
connection pool size to 100 with min 5
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_lb_worker.c (1167): Balanced
worker 0 has name xitx001 and jvm_route xitx001 in domain
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_lb_worker.c (1167): Balanced
worker 1 has name xitx002 and jvm_route xitx002 in domain
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_lb_worker.c (147): worker
xitx001 gets multiplicity 1
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_lb_worker.c (147): worker
xitx002 gets multiplicity 2
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (236): creating
worker xitx001
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (141): about to
create instance xitx001 of ajp13
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_worker.c (154): about to
validate and init xitx001
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1922): worker
xitx001 contact is 'localhost:8009'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2047): setting
endpoint options:
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2050):
keepalive: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2054): timeout:
5
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2058): buffer
size: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2062): pool
timeout: 300
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2066): connect
timeout: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2070): reply
timeout: 45000
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2074): prepost
timeout: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2078): recovery
options: 0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2082): retries:
2
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (2086): max
packet size: 8192
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_ajp_common.c (1959): setting
connection pool size to 100 with min 5
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (733):
Detected IIS >= 5.0
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (785): Filter
started
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (852): Virtual
Host redirection of /www.domain.com/StaticFiles/abcd.xml
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (513):
Attempting to map URI '/www.domain.com/StaticFiles/abcd.xml' from 22 maps
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (525):
Attempting to map context URI '/vgn-ext-templating/*'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (525):
Attempting to map context URI '/News/*'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (525):
Attempting to map context URI '/custom_task_editor*'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (525):
Attempting to map context URI '/healthcheck.txt'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (525):
Attempting to map context URI '/AppConsole*'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (525):
Attempting to map context URI '/*.xml'
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_uri_worker_map.c (539): Found
a wildchar match loadbalancer -> /*.xml
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (869): check
if [/StaticFiles/abcd.xml] is points to the web-inf directory
[Wed Mar 12 04:25:06 2008] [2840:1328] [debug] jk_isapi_plugin.c (887):
[/StaticFiles/abcd.xml] is a servlet url - should redirect to loadbalancer
Can someone help please?
Regards,
Karim
-------------------------------------------------------------------------------
"Although the moon is smaller than the earth, it is farther away."
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]