I have setup Tomcat to work with Apache and it is fine.  I try to use IIS
and it does not work.

Does anyone have any suggestion? (The Registry entriesare 100% correct!)



I have read the How-To many times trying to figure out where I am wrong.  I
have looked at the logs for any meaning.  As far as I can see the ISAPI
redircetor starts and picks up all the uri_worker_maps but then when I try
to bwoser a Tomcat page through IIS it gives me a 404 error.  Again I have
looked at the ISAPI Redirector logs and it seems to pick up that it is a
Servlet directory and sends the request to ajp12.  But the ajp12 does not
find the file.

Here is an example for this request:
http://localhost/examples/jsp/index.html

-Ruairi

ISAPI.log for the above request:
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is
not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/jakarta/isapi_redirect.dll] is points to the web-inf directory
[jk_isapi_plugin.c (517)]: HttpExtensionProc started
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 2680
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 2680
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2680
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
sequence
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating
mark
[jk_ajp12_worker.c (477)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (493)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 404 Not
Found
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Type:
text/html
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read
Content-Type=text/html
[jk_ajp12_worker.c (547)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Length: 198
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Length=198
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Servlet-Engine:
Tomcat Web Server/3.3 Milestone 4 ( JSP 1.1; Servlet 2.2 )
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read
Servlet-Engine=Tomcat Web Server/3.3 Milestone 4 ( JSP 1.1; Servlet 2.2 )
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read
[jk_ajp12_worker.c (509)]: ajpv12_handle_response, headers are done
[jk_ajp12_worker.c (568)]: ajpv12_handle_response, starting response
[jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response
[jk_ajp12_worker.c (579)]: ajpv12_handle_response, reading response body
[jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write
[jk_ajp12_worker.c (595)]: ajpv12_handle_response, response body is done
[jk_ajp12_worker.c (607)]: ajpv12_handle_response done
[jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done[jk_ajp12_worker.c
(163)]: Into jk_endpoint_t::done
____________________________________________________________________________
_____________

ISAPI.log entry at start:
[jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 4
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /servlet/=ajp12 was added
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp12 was added
[jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /examples/.jsp=ajp12 was added
[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/servlet/=ajp12 was added
[jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 4 rules
[jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 2 workers
[jk_worker.c (213)]: build_worker_map, creating worker ajp12
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of
ajp12
[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact
is localhost:8007
[jk_worker.c (177)]: wc_create_worker, done
[jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
[jk_worker.c (213)]: build_worker_map, creating worker ajp13
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance ajp13 of
ajp13
[jk_ajp13_worker.c (710)]: Into ajp23_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13
[jk_ajp13_worker.c (385)]: Into jk_worker_t::validate
[jk_ajp13_worker.c (398)]: In jk_worker_t::validate for worker ajp13 contact
is localhost:8009
[jk_ajp13_worker.c (424)]: Into jk_worker_t::init
[jk_worker.c (177)]: wc_create_worker, done
[jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
[jk_worker.c (235)]: build_worker_map, done
[jk_worker.c (102)]: wc_open, done


Reply via email to