I've followed the IIS howto and now I'm at the point where although IIS does
talk to Tomcat via the isapi_redirect.dll,  tomcat doesnt seem able to locate
the requested documents.

When i use the ff URL:
http://localhost/examples/jsp/index.html

I get the ff on the DOS window that Tomcat brongs up on start-up

Ctx(  ): 404  R(/jakarta/isapi_redirect.dll + null) null

I also get the ff in the IIS logs

GET /jakarta/isapi_redirect.dll - 200 -

In the server.xml, the examples context is defined thus

<Context
     path="/examples"
     docBase="webapps/examples"
     crossContext="false"
     debug="0"
     reloadable="true" >
</Context>



The settings in the uriworkermap.properties file file relating to the examples
webapp are
/examples/*=ajp12
/examples=ajp12
Note the attached worker ajp12.

>From the isapi_redirect log file i get the ff after i send the above mentioned
request
This is after resetting IIS but b4 any request has been sent to it. Note that
the 'examples' webapp has been regietered without any issues and the workers,
esp. ajp12, have also been attached to the 'examples' webapp.

[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule map
size is 4
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/=ajp12 was added
[jk_uri_worker_map.c (284)]: Into jk_uri_worker_map_t::uri_worker_map_open,
exact rule /examples=ajp12 was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /test/=ajp13 was added
[jk_uri_worker_map.c (284)]: Into jk_uri_worker_map_t::uri_worker_map_open,
exact rule /test=ajp13 was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 4 rules
[jk_uri_worker_map.c (316)]: 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 (708)]: Into ajp23_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13
[jk_ajp13_worker.c (383)]: Into jk_worker_t::validate
[jk_ajp13_worker.c (396)]: In jk_worker_t::validate for worker ajp13 contact is
localhost:8009
[jk_ajp13_worker.c (422)]: 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

...and the ff comes after the said request has been made. The request is the
first one to be sent after IIS has been reset.

[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 (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: 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
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a
 servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll]
 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 = 676
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 676
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 676
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
sequence
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark
[jk_ajp12_worker.c (472)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (488)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Status: 404 Not Found
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Type: text/html
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Content-Type=text/html
[jk_ajp12_worker.c (542)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Length: 201
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Content-Length=201
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Servlet-Engine: Tomcat
Web Server/3.2 (final) (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Servlet-Engine=Tomcat
Web Server/3.2 (final) (JSP 1.1; Servlet 2.2; Java 1.2.2; Windows NT 4.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read
[jk_ajp12_worker.c (504)]: ajpv12_handle_response, headers are done
[jk_ajp12_worker.c (563)]: ajpv12_handle_response, starting response
[jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response
[jk_ajp12_worker.c (574)]: ajpv12_handle_response, reading response body
[jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write
[jk_ajp12_worker.c (590)]: ajpv12_handle_response, response body is done
[jk_ajp12_worker.c (602)]: ajpv12_handle_response done
[jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done


>From the entries in the log files, especially the IIS logging, we can see that
IIS *is* calling out to isapi_redirect dll when it should. However, the request
is not being handles as one would expect.

The reason i'm placing all this info is 'cuase i really need some help on this
one.  I should mention that when i send the request direct to Tomcat bypassing
IIS, i.e. using the URL http://localhost:8080/examples/jsp/index.html , I
connect without any problems.

Any help would be really welcomed.

Clifford

______________________________________________________________________


   This communication and any files transmitted with it are confidential and
   intended solely for the use of the individual or entity to whom they are
   addressed. If you have received it in error please notify the sender or
   [EMAIL PROTECTED] or telephone +44 (0)20 8868 8899. The unauthorised
   use, disclosure, copying or alteration of this message is forbidden.
   Ladbrokes Limited will not be liable for direct, special, indirect or
   consequential damage as a result of any virus being passed on, or arising
   from alteration of the contents of this message by a third party. Please note
   that in replying to this mail, you are granting the right for that reply to
   be forwarded to any other individual and to be read by a surrogate in the
   event that the intended recipient is out of the office or is no longer
   employed by the company.
   Any views expressed by an individual within this message do not necessarily
   reflect the views of the firm.



Reply via email to