You probably haven't told the isapi plugin what URLs to match. You need to
put them in (I think) $TOMCAT_HOME/conf/uriworkermap.properties. Sorry,
can't remember more than that but it is documented in the Tomcat-IIS HOWTO.

Cheers, Matt
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 5:08 PM
Subject: error 404 not found


>
> hi all,
>
>
> i'm running Win2K & using IIS (i can't use apache). tomcat is setup
> correctly. i can use tomcat's server to go to a jsp page, but if i go
> through IIS i get a 404 no found error.
>  for example, i can go to localhost:8080/examples/myexample.jsp but i
CAN'T
> go to localhost/examples/myexample.jsp
> does anyone have any ideas why i can't go through IIS? my green arrow is
> 'up', my logs are running, i have a jakarta virtual directory (with
execute
> access), my registry appears ok, my tomcat_home & java_home env vars are
ok.
>
> The Tomcat 3.2.1 shell window shows the following message:
>
>  > 2001-07-09 09:00:58 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll = +
> null) null
>
>  The server.log of the IIS 5 has the following entries:
>
> #Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port
> cs-method cs-uri-stem cs-uri-query sc-status cs-version cs-host
> cs(User-Agent)
> 2001-07-09 09:00:58 127.0.0.1 - W3SVC1 GALILEE 127.0.0.1 80 GET
> /jakarta/isapi_redirect.dll - 200 HTTP/1.1 localhost
> Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
>
> and the isapi.log is:
>
> > [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 = 2020
> > [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 = 2020
> > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2020
> > [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.1 (JSP 1.1; Servlet 2.2; Java 1.3.0;
> > Windows 2000 5.0
> > x86; java.vendor=Sun Microsystems Inc.)
> > [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
> > Servlet-Engine=Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2;
> > Java 1.3.0;
> > Windows 2000 5.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
>
>  Have you got an idea what the problem could be and do you need more
> Thanks any help you can offer, I'm stuck!
>
> Herv..
>
>

Reply via email to