RE: IIS and Tomcat 3.3
I have setup Tomcat to work with Apache and it is fine. I try to use IIS and it does not work. The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors. But from what I see in logs I'll be for a configuration mistake. Could you send the IIS config files ?) 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)]:
RE: IIS and Tomcat 3.3
Here is the registry settings for ISAPI rediector from a .reg file: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server\1.3.14] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=C:\\tomcat\\logs\\isapi.log log_level=debug worker_file=C:\\tomcat\\conf\\jk\\workers.properties worker_mount_file=C:\\tomcat\\conf\\jk\\uriworkermap.properties Regards, -Ruairi Ruairi O'Donnell Rutland Systems www.rutlands.com Alcalde Lorenzo 16 2A Tel +34 981 884108 15220 Bertamirans, Ames Fax +34 981 884108 Spain Mobile +44 7801141801 The contents of this message should be read in conjunction with the document found at: http://www.rutlands.com/signature.htm -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 12:47 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat 3.3 I have setup Tomcat to work with Apache and it is fine. I try to use IIS and it does not work. The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors. But from what I see in logs I'll be for a configuration mistake. Could you send the IIS config files ?) 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
Re: IIS and Tomcat 3.3
Hi, Toward the bottom of your isapi.log it says ajp23 did you make a typo when changing between ajp12/ajp13? Adam. On Thursday 12 July 2001 12:50, you wrote: Here is the registry settings for ISAPI rediector from a .reg file: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Apache Web Server\1.3.14] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector] [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=C:\\tomcat\\logs\\isapi.log log_level=debug worker_file=C:\\tomcat\\conf\\jk\\workers.properties worker_mount_file=C:\\tomcat\\conf\\jk\\uriworkermap.properties Regards, -Ruairi Ruairi O'Donnell Rutland Systems www.rutlands.com Alcalde Lorenzo 16 2A Tel +34 981 884108 15220 Bertamirans, Ames Fax +34 981 884108 Spain Mobile +44 7801141801 The contents of this message should be read in conjunction with the document found at: http://www.rutlands.com/signature.htm -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 12:47 To: [EMAIL PROTECTED] Subject: RE: IIS and Tomcat 3.3 I have setup Tomcat to work with Apache and it is fine. I try to use IIS and it does not work. The latest millenium (M4) get its IIS code from jakarta-tomcat-connectors. But from what I see in logs I'll be for a configuration mistake. Could you send the IIS config files ?) 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