Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 43913 invoked from network); 25 Nov 2003 20:45:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Nov 2003 20:45:34 -0000 Received: (qmail 22348 invoked by uid 500); 25 Nov 2003 20:34:11 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 22329 invoked by uid 500); 25 Nov 2003 20:34:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22306 invoked from network); 25 Nov 2003 20:34:11 -0000 Received: from unknown (HELO rearadmiral.logistics.int) (208.32.7.18) by daedalus.apache.org with SMTP; 25 Nov 2003 20:34:11 -0000 Received: by rearadmiral.edulog.com with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Nov 2003 13:34:12 -0700 Message-ID: From: Wendell Holmes To: 'Tomcat Users List' Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector Date: Tue, 25 Nov 2003 13:34:10 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3B393.7AF05100" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3B393.7AF05100 Content-Type: text/plain; charset="iso-8859-1" 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:bhsharma@quark.co.in] 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: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org ------_=_NextPart_001_01C3B393.7AF05100--