tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendell Holmes <whol...@edulog.com>
Subject RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector
Date Tue, 25 Nov 2003 20:34:10 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message