I'm trying to get Tomcat 4.0 working with IIS, the ISAPI redirect has loaded correctly 
(green arrow) but still nothing. Works fine with 8080. I have checked the 
iis_redirect.log - it generates -

[Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (555)]: HttpFilterProc started
[Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host 
redirection of /localhost/examples/jsp/index.html
[Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (351)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (368)]: Attempting to map URI 
'/localhost/examples/jsp/index.html'
[Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (456)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default 
redirection of /examples/jsp/index.html
[Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (351)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (368)]: Attempting to map URI 
'/examples/jsp/index.html'
[Sun Feb 03 04:42:55 2002]  [jk_uri_worker_map.c (391)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/
[Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (625)]: HttpFilterProc 
[/examples/jsp/index.html] is a servlet url - should redirect to ajp13
[Sun Feb 03 04:42:55 2002]  [jk_isapi_plugin.c (647)]: HttpFilterProc check if 
[/examples/jsp/index.html] is points to the web-inf directory


every request. I have read that the existance of the line 'In HttpFilterProc Virtual 
Host redirection of /localhost/examples/jsp/index.html'
indicates that the 'Filter DLLs' registry key is incorrectly set (as this is a W2K 
server). But I have NOT set this, and I can't find anything like it in the registry.


As previously mentioned I'm running Tomcat4.0 on Windows 2000 server, I don't know 
what version of IIS - can't find this information, don't know which stinkin GUI panel 
will show this. Any help or advice anyone can offer would be much appreciated, as I 
have been thru all the docos and have searched the web. I have included my settings 
below. 

Thanks,
Scott.



Tomcat
worker.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=D:\Apache Tomcat 4.0

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

#
# 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=localhost

# ************ End worker.properties **************

Note : no other Tomcat files have been modified

registry - 

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="D:\\Apache Tomcat 4.0\\logs\\iis_redirect.log"
"log_level"="info"
"worker_file"="D:\\Apache Tomcat 4.0\\conf\\worker.properties"
"worker_mount_file"="D:\\Apache Tomcat 4.0\\conf\\uriworkermap.properties"

IIS - 

- virtual directory "jakarta" points to d:\Apache Tomcat 4.0\bin\
- isapi redirector loaded successfully (green arrow) from d:\Apache Tomcat 
4.0\bin\isapi_redirect.dll



Reply via email to