RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Hi, After not able to connect IIS5.0 on Win2K with Tomcat 4.0, JDK 1.4 using JK1.2 I tried to connect IIS 5 on Win2K with Tomcat 3.2, JDK 1.3. This configuration used to worked on my system in the past. But today I am not able run even this. The contents of my isapi.log are given below. Any clue will be helpful. P.S. Both Tomcat and IIS run fine and JSP page is served fine if run without IIS. Isapi.log: [Fri Nov 28 19:54:30 2003] [jk_uri_worker_map.c (464)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Fri Nov 28 19:54:30 2003] [jk_uri_worker_map.c (529)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp12 -> *.jsp [Fri Nov 28 19:54:30 2003] [jk_isapi_plugin.c (721)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp12 [Fri Nov 28 19:54:30 2003] [jk_isapi_plugin.c (784)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] 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 = 2440 [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 = 2440 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2440 [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: 201 [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Length=201 [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Servlet-Engine=Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) [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 Thanks Bhavdeep -Original Message- From: Wendell Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 2:04 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Looks like you've set up a worker for ajp12 instead of ajp13. >>[jk_ajp12_worker.c (242)]: Into >>jk_worker_t::get_endpoint Wendell -Original Message- From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:21 AM To: Tomcat Users List Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I
Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Hi Bhavdeep Sharma, I tested the sample given at the link http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm. I downloaded the zip file and configured IIS as specified in the docs. It works fine. But I dont know it is JK2 or JK. One thing to remember is you have to put the DLL in the bin directory. Putting it at other places wont work. After this I configured as per the docs in http://localhost/tomcat-docs/jk2/jk/iishowto.html. Again here you have to put the DLL in win32\i386 directory. Antony Paul - Original Message - From: "Bhavdeep Sharma" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 27, 2003 6:06 PM Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Thanks all (especially Walter do Valle, Wendell Holmes, Stéphane Brogi) for the help. I will check on the link and try what they suggest. Just an update that now I am getting the following error. /jakarta/isapi_redirect_1.2.5.dll type Status report message /jakarta/isapi_redirect_1.2.5.dll description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is not available. regards, Bhavdeep -Original Message- From: Stéphane Brogi [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:29 PM To: Tomcat Users List Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector You will find more infos here. http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Remember to restart iis and tomcat after modify properties files (workers.properties; uriworkermap.properties) Stéphane Brogi -Message d'origine- De : Walter do Valle [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26 novembre 2003 12:48 À : Tomcat Users List Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error "Page cannot be displayed" The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [T
RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Thanks all (especially Walter do Valle, Wendell Holmes, Stéphane Brogi) for the help. I will check on the link and try what they suggest. Just an update that now I am getting the following error. /jakarta/isapi_redirect_1.2.5.dll type Status report message /jakarta/isapi_redirect_1.2.5.dll description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is not available. regards, Bhavdeep -Original Message- From: Stéphane Brogi [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:29 PM To: Tomcat Users List Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector You will find more infos here. http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Remember to restart iis and tomcat after modify properties files (workers.properties; uriworkermap.properties) Stéphane Brogi -Message d'origine- De : Walter do Valle [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26 novembre 2003 12:48 À : Tomcat Users List Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error "Page cannot be displayed" The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on "jk_open_socket, connect() failed errno = 61". Got similarly faced problem but not able to
RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
You will find more infos here. http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Remember to restart iis and tomcat after modify properties files (workers.properties; uriworkermap.properties) Stéphane Brogi -Message d'origine- De : Walter do Valle [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26 novembre 2003 12:48 À : Tomcat Users List Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error "Page cannot be displayed" The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on "jk_open_socket, connect() failed errno = 61". Got similarly faced problem but not able to get/understand the solution that will work for me. Your help is highly appreciated. Thanks, Bhavdeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Try this It helps me a lot. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Bhavdeep Sharma To: Tomcat Users List Sent: Tuesday, November 25, 2003 11:21 AM Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error "Page cannot be displayed" The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on "jk_open_socket, connect() failed errno = 61". Got similarly faced problem but not able to get/understand the solution that will work for me. Your help is highly appreciated. Thanks, Bhavdeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Looks like you've set up a worker for ajp12 instead of ajp13. >>[jk_ajp12_worker.c (242)]: Into >>jk_worker_t::get_endpoint Wendell -Original Message- From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 7:21 AM To: Tomcat Users List Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Hi all, I am running tomcat 4.0 as service on Win 2K I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2 (isapi_redirect_1.2.5.dll) I try to access the sample JSP page using IIS and get the error "Page cannot be displayed" The same JSP page works fine if I access it directly from Tomcat. I have AJP 1.3 entry in server.xml file as un-commented. To verify that IIS is connecting to Tomcat or not I stopped the Tomcat service and then try to access the JSP page from IIS. I still get exactly the same error. Even the ISAPI log is also same irrespective of that Tomcat service is running or not. The content of the ISAPI log is pasted bellow. [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/bhsharma/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/num/numguess.jsp [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/num/numguess.jsp' [Tue Nov 25 17:21:18 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Nov 25 17:21:18 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Nov 25 17:21:18 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Nov 25 17:21:18 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (242)]: Into jk_worker_t::get_endpoint [Tue Nov 25 17:21:18 2003] [jk_ajp12_worker.c (137)]: Into jk_endpoint_t::service [Tue Nov 25 17:21:18 2003] [jk_connect.c (158)]: Into jk_open_socket [Tue Nov 25 17:21:18 2003] [jk_connect.c (165)]: jk_open_socket, try to connect socket = 2852 [Tue Nov 25 17:21:19 2003] [jk_connect.c (174)]: jk_open_socket, after connect ret = -1 [Tue Nov 25 17:21:19 2003] [jk_connect.c (203)]: jk_open_socket, connect() failed errno = 61 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (151)]: In jk_endpoint_t::service, sd = -1 [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (169)]: In jk_endpoint_t::service, Error sd = -1 [Tue Nov 25 17:21:19 2003] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed [Tue Nov 25 17:21:19 2003] [jk_ajp12_worker.c (180)]: Into jk_endpoint_t::done I searched the Google on "jk_open_socket, connect() failed errno = 61". Got similarly faced problem but not able to get/understand the solution that will work for me. Your help is highly appreciated. Thanks, Bhavdeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]