|[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
|"extension_uri"="/jakarta/isapi_redirect.dll "
You should probably remove the space after the .dll in your registry. That's
what would cause the +.

-----Original Message-----
From: Christopher Biow [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 16:59
To: [EMAIL PROTECTED]
Subject: Win2K isapi_redirect.dll+ 404, jk_ajp12_worker.c never called

I've followed
<http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html> to
the letter, triple-checked each step, rebooted twice, and still get 404s on
localhost:80. Here are the symptoms:

- <http://localhost:8080/examples/jsp/index.html> works, as do the servlets
- green arrow on the jakarta filter, which I've added to Default Web Site
- jakarta virtual directory is present with execute permission for scripts
  and executables
- request for <http://localhost/examples/jsp/index.html> is 404
- IIS log shows a rather curious "+" sign after the DLL name and 404
  result. The only instances that I can find on the Web of the plus sign
  in IIS logs relate to others who have had this problem, none of whom
  report a solution.
- tomcat-isapi.log indicates that jk_isapi_plugin.c HttpFilterProc is
  parsing the path "should redirect to ajp12"
- jk_ajp12_worker.c is never called in isapi_redirect.dll (so Tomcat never
  gets the task).

TIA for any suggestions.

IIS log:
|#Software: Microsoft Internet Information Services 5.0
|#Version: 1.0
|#Date: 2001-09-10 15:17:55
|#Fields: time c-ip cs-method cs-uri-stem sc-status
|15:17:55 127.0.0.1 GET /jakarta/isapi_redirect.dll+ 404


jakarta.reg:
|Windows Registry Editor Version 5.00
|
|[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]
|
|[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]
|
|[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
|"extension_uri"="/jakarta/isapi_redirect.dll "
|"log_file"="e:\\temp\\tomcat-isapi.log"
|"log_level"="debug"
|"worker_file"="E:\\jdk1.3\\jakarta-tomcat-3.2.3\\conf\\workers.properties"
|"worker_mount_file"="E:\\jdk1.3\\jakarta-tomcat-3.2.3\\conf\\uriworkermap.p
roperties"
|

tomcat-isapi.log:
|[jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
|[jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open
|[jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 2
|[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /servlet/=ajp12 was added
|[jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp12 was added
|[jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 2 rules
|[jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open, done
|[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
/examples/jsp/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 [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
|[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory

workers.properties (comments stripped):

|workers.tomcat_home=E:\jdk1.3\jakarta-tomcat-3.2.3
|workers.java_home=E:\jdk1.3
|ps=\
|
|worker.list=ajp12, ajp13
|
|worker.ajp12.port=8007
|worker.ajp12.host=localhost
|worker.ajp12.type=ajp12
|worker.ajp12.lbfactor=1
|
|worker.ajp13.port=8009
|worker.ajp13.host=localhost
|worker.ajp13.type=ajp13
|worker.ajp13.lbfactor=1
|
|worker.loadbalancer.type=lb
|worker.loadbalancer.balanced_workers=ajp12, ajp13
|
|worker.inprocess.type=jni
|
|worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
|worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
|worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
|worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
|worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
|worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.ja
r
|worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar
|worker.inprocess.cmd_line=-config
|worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
|worker.inprocess.cmd_line=-home
|worker.inprocess.cmd_line=$(workers.tomcat_home)
|worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(
ps)jvm.dll
|
|worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
|worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
|worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)

uriworkermap.properties:
|/servlet/*=ajp12
|
|/examples/*=ajp12

Reply via email to