You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pa...@bankone.com on 2002/12/05 22:19:20 UTC

IIS 5.0 and Tomcat 4.1.12 Configuration Issue

Just wondering if somebody can help me with the problem I am facing.

I am unable to access my web application that is hosted on tomcat. Accesing
directly thru tomcat (on port 8080)works fine but when I try to go thru IIS
5.0 (On windows 2000 prof), it fails. File extracts for your reference are
as follows -

1. workers.properties
workers.tomcat_home=C:\Program Files\Apache Group\Tomcat 4.1
workers.java_home=C:\J2SDK_Forte\jdk1.4.0
worker.list = ajp13
worker.ajp13.type=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009

#worker.worker2.type=ajp13
#worker.worker2.host=localhost
#worker.worker2.port=8010

2. uriworkermap.properties looks like this -
/examples/*=ajp13
/examples/*.jsp=ajp13
/examples/servlet/*=ajp13
/*.jsp=ajp13


3. isapi.log file looks like this -
(when I try to access http://localhost/examples/)
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1018)]: Using registry.
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1020)]: Using log file C:\Program Files\Apache Group\Tomcat 4.1\logs\isapi.log.
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1022)]: Using extension uri /jakarta/isapi_redirector.dll.
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1023)]: Using worker file C:\Program Files\Apache Group\Tomcat 4.1\conf\workers.properties.
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1024)]: Using worker mount file C:\Program Files\Apache Group\Tomcat 4.1\conf\uriworkermap.properties.
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 4
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=ajp13 was added
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (299)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/.jsp=ajp13 was added
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (299)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 4 rules
[Thu Dec 05 16:03:06 2002]  [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (88)]: Into wc_open
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (224)]: Into build_worker_map, creating 1 workers
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (230)]: build_worker_map, creating worker ajp12
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (260)]: Factory :ajp12
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (164)]: wc_create_worker, about to create instance ajp12 of ajp12
[Thu Dec 05 16:03:06 2002]  [jk_ajp12_worker.c (283)]: Into ajp12_worker_factory
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (173)]: wc_create_worker, about to validate and init ajp12
[Thu Dec 05 16:03:06 2002]  [jk_ajp12_worker.c (200)]: Into jk_worker_t::validate
[Thu Dec 05 16:03:06 2002]  [jk_ajp12_worker.c (212)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (189)]: wc_create_worker, done
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (240)]: build_worker_map, removing old ajp12 worker
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (252)]: build_worker_map, done
[Thu Dec 05 16:03:06 2002]  [jk_worker.c (111)]: wc_open, done 1
[Thu Dec 05 16:03:06 2002]  [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0
[Thu Dec 05 16:03:07 2002]  [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Thu Dec 05 16:03:07 2002]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/
[Thu Dec 05 16:03:07 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:07 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/'
[Thu Dec 05 16:03:07 2002]  [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Thu Dec 05 16:03:07 2002]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /
[Thu Dec 05 16:03:07 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:07 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/'
[Thu Dec 05 16:03:07 2002]  [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Thu Dec 05 16:03:07 2002]  [jk_isapi_plugin.c (829)]: HttpFilterProc [/] is not a servlet url
[Thu Dec 05 16:03:07 2002]  [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/] is points to the web-inf directory
[Thu Dec 05 16:03:12 2002]  [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Thu Dec 05 16:03:12 2002]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/
[Thu Dec 05 16:03:12 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:12 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/'
[Thu Dec 05 16:03:12 2002]  [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Thu Dec 05 16:03:12 2002]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/
[Thu Dec 05 16:03:12 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:12 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/'
[Thu Dec 05 16:03:12 2002]  [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/
[Thu Dec 05 16:03:12 2002]  [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/] is a servlet url - should redirect to ajp13
[Thu Dec 05 16:03:12 2002]  [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/] is points to the web-inf directory
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started
[Thu Dec 05 16:03:16 2002]  [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (913)]: HttpExtensionProc could not get a worker for name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (934)]: HttpExtensionProc error, could not get a worker for name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/'
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/'
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/] is a servlet url - should redirect to ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/] is points to the web-inf directory
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started
[Thu Dec 05 16:03:16 2002]  [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (913)]: HttpExtensionProc could not get a worker for name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (934)]: HttpExtensionProc error, could not get a worker for name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/'
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/'
[Thu Dec 05 16:03:16 2002]  [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/] is a servlet url - should redirect to ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/] is points to the web-inf directory
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started
[Thu Dec 05 16:03:16 2002]  [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (913)]: HttpExtensionProc could not get a worker for name ajp13
[Thu Dec 05 16:03:16 2002]  [jk_isapi_plugin.c (934)]: HttpExtensionProc error, could not get a worker for name ajp13

It seems that IIS 5.0 is setup correctly as its forwarding the request to
tomcat. For some reason, tomcat is not responding back correctly. IIS log
contains these lines -

21:03:16 127.0.0.1 GET /jakarta/isapi_redirector.dll 500
21:03:16 127.0.0.1 GET /jakarta/isapi_redirector.dll 500

I tried to use newer isapi_redirector2.dll files that that doesn't load in IIS. (It shows red arrow pointing downward)

Any help will be highly appreciated.

/Pawan





This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>