tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34036] - uriworkermap not redirecting requests to workers properly.
Date Wed, 16 Mar 2005 20:39:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34036>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34036





------- Additional Comments From cssmith4@yahoo.com  2005-03-16 21:39 -------
Nags,
I also have issue using JK Connector 1.2.8 on Windows Server 2003 and Tomcat 
5.0.28 and JVM1.4.2_06.  

IIS appears to redirect correctly from IIS Log Files.  This is not the case 
with the JK Log Files.  I have attached a logical portion of the JK log files.

[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1040): Using registry.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1043): Using log file E:\Program Files\Apache Software Foundation\Jakarta 
Isapi Redirector\log\isapi_redirect.log.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1044): Using log level 1.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1045): Using extension uri /jakarta/isapi_redirect.dll.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1046): Using worker file E:\Program Files\Apache Software Foundation\Jakarta 
Isapi Redirector\conf\workers.properties.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1047): Using worker mount file E:\Program Files\Apache Software 
Foundation\Jakarta Isapi Redirector\conf\uriworkermap.properties.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] init_jk::jk_isapi_plugin.c 
(1049): Using uri select 0.
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 5
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (382): match rule /servlets-
examples/=ajp13w was added
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (382): match rule /jsp-
examples/=ajp13w1 was added
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (382): match rule /icf/=ajp13w2 was 
added
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /servlets-
examples/.jpeg=ajp13w was added
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /jsp-
examples/.jpeg=ajp13w1 was added
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
uri_worker_map_open::jk_uri_worker_map.c (478): there are 5 rules
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] build_worker_map::jk_worker.c 
(196): creating worker ajp13w
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] wc_create_worker::jk_worker.c 
(120): about to create instance ajp13w of ajp13
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] wc_create_worker::jk_worker.c 
(133): about to validate and init ajp13w
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_validate::jk_ajp_common.c 
(1721): worker ajp13w contact is localhost:8009
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1767): setting socket keepalive to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1806): setting socket timeout to -1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1810): setting connection recycle timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1814): setting cache timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1818): setting connect timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1822): setting reply timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1826): setting prepost timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1830): setting recovery opts to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1834): setting number of retries to 3
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1854): setting connection cache size to 1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] build_worker_map::jk_worker.c 
(208): removing old ajp13w worker 
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] build_worker_map::jk_worker.c 
(196): creating worker ajp13w1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] wc_create_worker::jk_worker.c 
(120): about to create instance ajp13w1 of ajp13
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] wc_create_worker::jk_worker.c 
(133): about to validate and init ajp13w1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_validate::jk_ajp_common.c 
(1721): worker ajp13w1 contact is localhost:8010
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1767): setting socket keepalive to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1806): setting socket timeout to -1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1810): setting connection recycle timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1814): setting cache timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1818): setting connect timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1822): setting reply timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1826): setting prepost timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1830): setting recovery opts to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1834): setting number of retries to 3
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1854): setting connection cache size to 1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] build_worker_map::jk_worker.c 
(208): removing old ajp13w1 worker 
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] build_worker_map::jk_worker.c 
(196): creating worker ajp13w2
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] wc_create_worker::jk_worker.c 
(120): about to create instance ajp13w2 of ajp13
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] wc_create_worker::jk_worker.c 
(133): about to validate and init ajp13w2
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_validate::jk_ajp_common.c 
(1721): worker ajp13w2 contact is localhost:8011
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1767): setting socket keepalive to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1806): setting socket timeout to -1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1810): setting connection recycle timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1814): setting cache timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1818): setting connect timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1822): setting reply timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1826): setting prepost timeout to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1830): setting recovery opts to 0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1834): setting number of retries to 3
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] ajp_init::jk_ajp_common.c 
(1854): setting connection cache size to 1
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] build_worker_map::jk_worker.c 
(208): removing old ajp13w2 worker 
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
HttpFilterProc::jk_isapi_plugin.c (687): Filter started
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection 
of /localhost/servlets-examples/
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map 
URI '/localhost/servlets-examples/' from 5 maps
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context 
URI '/servlets-examples/*'
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context 
URI '/jsp-examples/*'
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context 
URI '/icf/*'
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
HttpFilterProc::jk_isapi_plugin.c (760): Default redirection of /servlets-
examples/
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/servlets-
examples/' from 5 maps
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context 
URI '/servlets-examples/*'
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (755): Found a context match ajp13w -
> /servlets-examples/
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
HttpFilterProc::jk_isapi_plugin.c (770): check if [/servlets-examples/] is 
points to the web-inf directory
[Wed Mar 16 14:24:10 2005] [3584:2756] [debug] 
HttpFilterProc::jk_isapi_plugin.c (788): [/servlets-examples/] is a servlet 
url - should redirect to ajp13w

--------------------------------------------------------------End of Log
As you will notice in the last line, log states should redirect to ajp13w.  
The jk connector is retrieving the correct worker from uirworkermap for the 
requested context, however simply not successfully redirecting the request to 
the worker.

I hope this helps in resolving this issue.

== Shane

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message