tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert" <a_kas...@yahoo.com>
Subject Tomcat with IIS: errno = 61
Date Tue, 11 Sep 2001 02:49:41 GMT
Hi All,

I'm new in this mail list and I would ask for help. My problem is that I
installed Tomcat on Win2K Prof. with IIS5 for testing some servlet programs.
I followed the instructions in "Tomcat IIS HowTo" to let IIS cooperate with
Tomcat. After finishing all steps stated in "Tomcat IIS HowTo" and
restarting IIS, jakarta filter is marked with a green up-pointing arrow.
Then I added a virtual directory "servlet" which maps to
"D:\Tomcat\webapps\examples\servlets" under the default Web site where
D:\Tomcat is the TOMCAT_HOME. Afterwards, I restarted IIS again and tried to
open http://localhost/servlet/index.html in the browser, but no page was
displayed. I found that there was an error from isapi.log. The following is
a fragment of the log:

[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 (711)]: Into ajp23_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13
[jk_ajp13_worker.c (386)]: Into jk_worker_t::validate
[jk_ajp13_worker.c (399)]: In jk_worker_t::validate for worker ajp13 contact
is localhost:8009
[jk_ajp13_worker.c (425)]: 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
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/servlet/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 [/servlet/index.html] is a servlet
url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/servlet/index.html] 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 = 1268
[jk_connect.c (124)]: jk_open_socket, after connect ret = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
[jk_isapi_plugin.c (408)]: HttpFilterProc started

I heard that the problem is connection refusion due to unmatched ports
between Tomcat and IIS. However, I didn't modify any ports in
workers.properties, uriworkermap.properties and server.xml. I just used the
default settings. The port for ajp12 is 8007.

I really have no idea to solve the problem. If you want to examine my conf
files or have more information, please let me know. Thanks in advance!!

Albert


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message