tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustad, Aaron" <ARus...@Online-can.com>
Subject Problem reconfiguring AJP13 to add another context/worker.
Date Wed, 01 Oct 2003 17:45:56 GMT


I am having a strange problem with Tomcat(4.x) and AJP13 on IIS. For the
most part, everything is working correctly, the ISAPI filter redirects as
expected when I ask for a specific context.

I have recently added a couple new contexts to redirect, and for the life of
me, I can't get it to redirect to the new context. In my error log, I am
getting an errno = 60.

When I try the /connect and /edi context, ISAPI filter redirects correctly.
When I try /editest or /connecttest, it just hangs(the browser) and I get an
errno = 60 in the log file.


Could someone have a quick look at my config files and the log. Thanks!
Aaron.

uriworkermap.properties
-----------------------

#/connect=$(default.worker)
#/connect/*=$(default.worker)
# WINS related redirects
/connect=ajp13
/connect/*=ajp13
/connecttest=connecttest
/connecttest/*=connecttest
# EDI related redirects
/editest=editest
/editest/*=editest
/edi=edi
/edi/*=edi





workers.properties
------------------

# workers.properties -
#
# This file provides IIS filter with the needed information to
# connect to the different tomcat workers.


#------ ENVIRONMENT Settings -----------------------------------------
#---------------------------------------------------------------------
#
# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=D:\Projects\bcgas\sdk\JBoss-2.4.6_Tomcat-4.0.3\catalina

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=D:\Projects\bcgas\sdk\j2sdk1.4.0

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


#
#------ DEFAULT worket list ------------------------------------------
#---------------------------------------------------------------------
#
#
# The workers that your plugins should create and work with
#
worker.list=ajp13, connecttest, editest, edi

worker.editest.port=8009
worker.editest.host=Blackcomb 
worker.editest.type=ajp13

worker.edi.port=8009
worker.edi.host=fvair2
worker.edi.type=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=fvair2
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 connecttest WORKER DEFINITION ------------------------------
#---------------------------------------------------------------------
#

#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the type do not have to match.
#
worker.connecttest.port=8009
worker.connecttest.host=blackcomb
worker.connecttest.type=ajp13


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

#
# The loadbalancer (type lb) workers perform wighted 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
#        workers.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers= ajp13



iis_redirect.log
----------------

[Tue Sep 30 13:08:15 2003]  [jk_isapi_plugin.c (806)]: Using registry.
[Tue Sep 30 13:08:15 2003]  [jk_isapi_plugin.c (808)]: Using log file
C:\wins\logs\iis_redirect.log.
[Tue Sep 30 13:08:15 2003]  [jk_isapi_plugin.c (809)]: Using log level 0.
[Tue Sep 30 13:08:15 2003]  [jk_isapi_plugin.c (810)]: Using extension uri
/wins/isapi_redirect.dll.
[Tue Sep 30 13:08:15 2003]  [jk_isapi_plugin.c (811)]: Using worker file
C:\wins\conf\workers.properties.
[Tue Sep 30 13:08:15 2003]  [jk_isapi_plugin.c (812)]: Using worker mount
file C:\wins\conf\uriworkermap.properties.
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (159)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (199)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (217)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 9
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule /connect=ajp13 was
added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /connect/=ajp13 was
added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule
/connecttest=connecttest was added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule
/connecttest/=connecttest was added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule /editest=editest was
added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /editest/=editest was
added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule /edi=edi was added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /edi/=edi was added
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (302)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 8 rules
[Tue Sep 30 13:08:15 2003]  [jk_uri_worker_map.c (324)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (82)]: Into wc_open
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (207)]: Into build_worker_map,
creating 4 workers
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (138)]: Into wc_create_worker
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp13 of ajp13
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp13
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker ajp13 contact is fvair2:8009
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (177)]: wc_create_worker, done
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (223)]: build_worker_map, removing
old ajp13 worker 
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (213)]: build_worker_map, creating
worker connecttest
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (138)]: Into wc_create_worker
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (152)]: wc_create_worker, about to
create instance connecttest of ajp13
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init connecttest
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker connecttest contact is blackcomb:8009
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (177)]: wc_create_worker, done
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (223)]: build_worker_map, removing
old connecttest worker 
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (213)]: build_worker_map, creating
worker editest
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (138)]: Into wc_create_worker
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (152)]: wc_create_worker, about to
create instance editest of ajp13
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init editest
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker editest contact is Blackcomb:8009
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (177)]: wc_create_worker, done
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (223)]: build_worker_map, removing
old editest worker 
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (213)]: build_worker_map, creating
worker edi
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (138)]: Into wc_create_worker
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (152)]: wc_create_worker, about to
create instance edi of ajp13
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init edi
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker edi contact is fvair2:8009
[Tue Sep 30 13:08:15 2003]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (177)]: wc_create_worker, done
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (223)]: build_worker_map, removing
old edi worker 
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (235)]: build_worker_map, done
[Tue Sep 30 13:08:15 2003]  [jk_worker.c (102)]: wc_open, done
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /nominations.terasen.com/editest/
[Tue Sep 30 13:08:29 2003]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Sep 30 13:08:29 2003]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/nominations.terasen.com/editest/'
[Tue Sep 30 13:08:29 2003]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /editest/
[Tue Sep 30 13:08:29 2003]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Sep 30 13:08:29 2003]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/editest/'
[Tue Sep 30 13:08:29 2003]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match editest ->
/editest/
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (617)]: HttpFilterProc
[/editest/] is a servlet url - should redirect to editest
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (639)]: HttpFilterProc check
if [/editest/] is points to the web-inf directory
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (679)]: HttpExtensionProc
started
[Tue Sep 30 13:08:29 2003]  [jk_worker.c (123)]: Into wc_get_worker_for_name
editest
[Tue Sep 30 13:08:29 2003]  [jk_worker.c (127)]: wc_get_worker_for_name,
done  found a worker
[Tue Sep 30 13:08:29 2003]  [jk_isapi_plugin.c (701)]: HttpExtensionProc got
a worker for name editest
[Tue Sep 30 13:08:29 2003]  [jk_ajp13_worker.c (865)]: Into
jk_worker_t::get_endpoint
[Tue Sep 30 13:08:29 2003]  [jk_ajp13_worker.c (775)]: Into
jk_endpoint_t::service
[Tue Sep 30 13:08:29 2003]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Tue Sep 30 13:08:29 2003]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb -
Done
[Tue Sep 30 13:08:29 2003]  [jk_connect.c (108)]: Into jk_open_socket
[Tue Sep 30 13:08:29 2003]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 896
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (555)]: HttpFilterProc
started
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (600)]: In HttpFilterProc
Virtual Host redirection of /nominations.terasen.com/connect/
[Tue Sep 30 13:08:43 2003]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Sep 30 13:08:43 2003]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/nominations.terasen.com/connect/'
[Tue Sep 30 13:08:43 2003]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (606)]: In HttpFilterProc
test Default redirection of /connect/
[Tue Sep 30 13:08:43 2003]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Sep 30 13:08:43 2003]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/connect/'
[Tue Sep 30 13:08:43 2003]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 ->
/connect/
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (617)]: HttpFilterProc
[/connect/] is a servlet url - should redirect to ajp13
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (639)]: HttpFilterProc check
if [/connect/] is points to the web-inf directory
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (679)]: HttpExtensionProc
started
[Tue Sep 30 13:08:43 2003]  [jk_worker.c (123)]: Into wc_get_worker_for_name
ajp13
[Tue Sep 30 13:08:43 2003]  [jk_worker.c (127)]: wc_get_worker_for_name,
done  found a worker
[Tue Sep 30 13:08:43 2003]  [jk_isapi_plugin.c (701)]: HttpExtensionProc got
a worker for name ajp13
[Tue Sep 30 13:08:43 2003]  [jk_ajp13_worker.c (865)]: Into
jk_worker_t::get_endpoint
[Tue Sep 30 13:08:43 2003]  [jk_ajp13_worker.c (775)]: Into
jk_endpoint_t::service
[Tue Sep 30 13:08:43 2003]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Tue Sep 30 13:08:43 2003]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb -
Done



Thanks for your help!!!!!!
Aaron.

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


Mime
View raw message