tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thielen" <d...@thielen.com>
Subject Stuck & desperate - Tomcat on IIS
Date Wed, 26 Jun 2002 20:24:58 GMT
Hi;

I have Tomcat 4.0 installed with IIS.

What I want to do is when IIS is given a .jsp page, that it looks for that page under c:/Inetpub/wwwroot,
feeds the page to Tomcat, and tomcat returns the response.

1) The filter is installed and has a green arrow.

2) http://localhost:8080/examples/jsp/cal/cal2.jsp works. (This is the file installed by tomcat
at tomcat/webapps/examples/jsp/cal/cal2.jsp).

3) When I try to do http://localhost/store/5.jsp (which is the file c:/Inetpub/wwwroot/store/5.jsp)
I get:

Apache Tomcat/4.0.4 - HTTP Status 404 - /store/5.jsp

--------------------------------------------------------------------------------

type Status report

message /store/5.jsp

description The requested resource (/store/5.jsp) is not available.

4) When I try to load 5.jsp, this is what I get in isapi.log:

[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (626)]: HttpFilterProc started
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (672)]: In HttpFilterProc Virtual Host redirection
of /jasmine.windward.net/store/5.jsp
[Wed Jun 26 14:22:33 2002]  [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Wed Jun 26 14:22:33 2002]  [jk_uri_worker_map.c (368)]: Attempting to map URI '/jasmine.windward.net/store/5.jsp'
[Wed Jun 26 14:22:33 2002]  [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker,
Found a suffix match ajp13 -> *.jsp
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (688)]: HttpFilterProc [/store/5.jsp] is a
servlet url - should redirect to ajp13
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (737)]: HttpFilterProc check if [/store/5.jsp]
is points to the web-inf directory
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (777)]: HttpExtensionProc started
[Wed Jun 26 14:22:33 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
[Wed Jun 26 14:22:33 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (799)]: HttpExtensionProc got a worker for
name ajp13
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Wed Jun 26 14:22:33 2002]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Wed Jun 26 14:22:33 2002]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (206)]: sending to ajp13 #357
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (645)]: send_request 2: request body to send
0 - request body to resend 0
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (258)]: received from ajp13 #31
[Wed Jun 26 14:22:33 2002]  [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 404
[Wed Jun 26 14:22:33 2002]  [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of headers
is = 1
[Wed Jun 26 14:22:33 2002]  [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0] [Content-Type]
= [text/html]
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (415)]: Into jk_ws_service_t::start_response
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (258)]: received from ajp13 #613
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (549)]: Into jk_ws_service_t::write
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Wed Jun 26 14:22:33 2002]  [jk_isapi_plugin.c (811)]: HttpExtensionProc service() returned
OK
[Wed Jun 26 14:22:33 2002]  [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done

5) My IIS log gives (note the return of 200):

2002-06-26 20:22:33 199.45.247.105 - 199.45.247.107 80 GET /jakarta/isapi_redirect.dll - 200
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705)

I have set the registry and have tried a workers.properties, uriworkermap.properties, and
server.xml from two people who are doing this same thing successfully.

Is there something else I need to do? Another file/setting I need to do/change? Or something
I need to check?

thanks - dave
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message