Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 86609 invoked from network); 16 Mar 2005 20:39:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Mar 2005 20:39:25 -0000 Received: (qmail 72652 invoked by uid 500); 16 Mar 2005 20:39:18 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 72631 invoked by uid 500); 16 Mar 2005 20:39:18 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 72617 invoked by uid 99); 16 Mar 2005 20:39:18 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 16 Mar 2005 12:39:18 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j2GKdFpE017798 for ; Wed, 16 Mar 2005 21:39:15 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j2GKdF1Q017796; Wed, 16 Mar 2005 21:39:15 +0100 Date: Wed, 16 Mar 2005 21:39:15 +0100 Message-Id: <200503162039.j2GKdF1Q017796@ajax.apache.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 34036] - uriworkermap not redirecting requests to workers properly. X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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