Hi All

I have been trying to integrate IIS 5.0 with tomcat 4.0.3. I have primarily used the following URL to configure and install every thing

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

I have also looked at other IIS howto docs on the website. Every thing installed properly ( I think ). However i am getting the following error in iis_redirect.log ( Sorry for such a long text ).

Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/index.html
[Fri Nov 08 17:41:15 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 08 17:41:15 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/jsp/index.html'
[Fri Nov 08 17:41:15 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/jsp/index.html
[Fri Nov 08 17:41:15 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Nov 08 17:41:15 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/index.html'
[Fri Nov 08 17:41:15 2002] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/
[Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/index.html] is a servlet url - should redirect to ajp13
[Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/index.html] is points to the web-inf directory
[Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (878)]: HttpExtensionProc started
[Fri Nov 08 17:41:15 2002] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
[Fri Nov 08 17:41:15 2002] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker
[Fri Nov 08 17:41:15 2002] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13
[Fri Nov 08 17:41:15 2002] [jk_ajp_common.c (1391)]: Into jk_worker_t::get_endpoint
[Fri Nov 08 17:41:15 2002] [jk_ajp_common.c (1107)]: Into jk_endpoint_t::service
[Fri Nov 08 17:41:15 2002] [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb
[Fri Nov 08 17:41:15 2002] [jk_ajp_common.c (432)]: ajp_marshal_into_msgb - Done
[Fri Nov 08 17:41:15 2002] [jk_connect.c (132)]: Into jk_open_socket
[Fri Nov 08 17:41:15 2002] [jk_connect.c (139)]: jk_open_socket, try to connect socket = 2660
[Fri Nov 08 17:41:16 2002] [jk_connect.c (148)]: jk_open_socket, after connect ret = -1
[Fri Nov 08 17:41:16 2002] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61
[Fri Nov 08 17:41:16 2002] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Fri Nov 08 17:41:16 2002] [jk_ajp_common.c (872)]: Error connecting to the Tomcat process.
[Fri Nov 08 17:41:16 2002] [jk_ajp_common.c (1181)]: In jk_endpoint_t::service, ajp_send_request failed in send loop 0
[Fri Nov 08 17:41:16 2002] [jk_connect.c (132)]: Into jk_open_socket
[Fri Nov 08 17:41:16 2002] [jk_connect.c (139)]: jk_open_socket, try to connect socket = 2660
[Fri Nov 08 17:41:17 2002] [jk_connect.c (148)]: jk_open_socket, after connect ret = -1
[Fri Nov 08 17:41:17 2002] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61
[Fri Nov 08 17:41:17 2002] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Fri Nov 08 17:41:17 2002] [jk_ajp_common.c (872)]: Error connecting to the Tomcat process.
[Fri Nov 08 17:41:17 2002] [jk_ajp_common.c (1181)]: In jk_endpoint_t::service, ajp_send_request failed in send loop 1
[Fri Nov 08 17:41:17 2002] [jk_connect.c (132)]: Into jk_open_socket
[Fri Nov 08 17:41:17 2002] [jk_connect.c (139)]: jk_open_socket, try to connect socket = 2660
[Fri Nov 08 17:41:18 2002] [jk_connect.c (148)]: jk_open_socket, after connect ret = -1
[Fri Nov 08 17:41:18 2002] [jk_connect.c (177)]: jk_open_socket, connect() failed errno = 61
[Fri Nov 08 17:41:18 2002] [jk_ajp_common.c (626)]: In jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Fri Nov 08 17:41:18 2002] [jk_ajp_common.c (872)]: Error connecting to the Tomcat process.
[Fri Nov 08 17:41:18 2002] [jk_ajp_common.c (1181)]: In jk_endpoint_t::service, ajp_send_request failed in send loop 2
[Fri Nov 08 17:41:18 2002] [jk_isapi_plugin.c (928)]: HttpExtensionProc error, service() failed
[Fri Nov 08 17:41:18 2002] [jk_ajp_common.c (1375)]: Into jk_endpoint_t::done, closing connection 0
[Fri Nov 08 17:41:18 2002] [jk_ajp_common.c (561)]: In jk_endpoint_t::ajp_close_endpoint

I do not know what is causing it. Here are the the Config files

iis_redirect.reg
===========

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirector.dll"
"log_file"="E:\\Tomcat-Bow\\logs\\iis_redirect.log"
"log_level"="debug"
"worker_file"="E:\\Tomcat-Bow\\conf\\workers.properties"
"worker_mount_file"="E:\\Tomcat-Bow\\conf\\uriworkermap.properties"

workers.properties
=============

# ************ Begin worker.properties **************
worker.ajp13.type=ajp13

#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1

#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize

#
#------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
#---------------------------------------------------------------------
#

#
# The loadbalancer (type lb) worker perform weighted round-robin
# load balancing with sticky sessions.
# Note:
# ----> If a worker dies, the load balancer will check its state
# once in a while. Until then all work is redirected to peer
# worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13

#
# worker.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
worker.tomcat_home=E:\Tomcat-Bow

#
# worker.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
worker.java_home=E:\jdk1.3.1

#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\

#
#------ ADVANCED MODE ------------------------------------------------
#---------------------------------------------------------------------
#

#
#------ DEFAULT worker list ------------------------------------------
#---------------------------------------------------------------------
#
# The worker that your plugins should create and work with
worker.list=ajp13

#
#------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
#---------------------------------------------------------------------
#

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=bow-rtp-005-s.cisco.com
#worker.ajp13.host=localhost
# ************ End worker.properties **************


uriworkermap.properties
==================

# *********** Begin uriworkermap.properties ***
#
# Simple worker configuration file
#

# Mount the Servlet context to the ajp13 worker
/servlet/*=ajp13

# Mount the examples context to the ajp13 worker
/examples/*=ajp13

# Advanced mount of the examples context
# /examples/servlet/*=ajp13

# ************* End uriworkermap.properties ****

Thanks
Narayan



--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to