Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 16532 invoked by uid 500); 14 Oct 2001 17:16:25 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 16513 invoked from network); 14 Oct 2001 17:16:23 -0000 Message-ID: <80F5674514B4D311BAFC0040F6A45EEE1DA945@ntserver> From: "Ignacio J. Ortega" To: "'tomcat-user@jakarta.apache.org'" Subject: RE: IIS 5.0 and Tomcat/Win2000 Date: Sun, 14 Oct 2001 19:14:06 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > You are not going to believe this, but I did!!! The docs say=20 > that if you have PWS, you should add the redirect dll=20 > directly to the registry, so I did. Of course, I already had=20 > it working in the Internet Services Manager, so I wound up=20 > with it twice, I guess! Works great now. >=20 You are nominated as gatekeeper to this question, is the first time a come up with a solution, and we have learned ( both :) a lot in the way.., so your pay will be to answer this question in the list for ever..:)))) ( and you have a big work , i can assure you from = experience :) Nice to have your iis_redirector working.. to be near to perfection you will need to try tc3.3 :)) ANother advice try ajp13, is faster than ajp12, and works with isapi_redirector despite the lack of references in tc3.2 isapi docs..this is corrected in tc3.3.. > Next question while I have you - I want to use SSL - will=20 > this allow me to serve all my tomcat pages (including java=20 > http incorporation of other web pages from other servers) as ssl? >=20 No problem, simply install you certificate on iis and thats all.., with some caveats.. if you need to deal with client certificates gathered in iis in servklet code go to tc3.3, if you need to do noCookies sessions or redirect from a http url to a https one go to tc3.3,and install JSSE and activate SSL support.. > >>> nacho@siapi.es 10/14/01 09:36AM >>> > I have a wild idea about your problem, i found very strange=20 > that tomcat > receives the url for the extension, this truly strange, and=20 > in addition > the filter receives the dll url too, and is very strange too that = this > show up in log.. i can only imagine a way for that to occurs.., do = you > have 2 isapi_redirector filters?, if this is not true.., i cannot > imagine how you can get this logs.. you have some extension working., > because tomcat receive the request.., anyone with more ideas? >=20 > Some have reported that a reinstall of IIS may help..=20 >=20 > Saludos , > Ignacio J. Ortega >=20 >=20 > > -----Mensaje original----- > > De: Michael Risch [mailto:mrisch@computerlaw.com]=20 > > Enviado el: domingo 14 de octubre de 2001 6:34 > > Para: tomcat-user@jakarta.apache.org=20 > > Asunto: RE: IIS 5.0 and Tomcat/Win2000 > >=20 > >=20 > > Attached... > >=20 > > >>> nacho@siapi.es 10/13/01 07:00PM >>> > > Please post your uwm.p file.. > >=20 > > Saludos , > > Ignacio J. Ortega > >=20 > >=20 > > > -----Mensaje original----- > > > De: Michael Risch [mailto:mrisch@computerlaw.com]=20 > > > Enviado el: domingo 14 de octubre de 2001 3:50 > > > Para: tomcat-user@jakarta.apache.org=20 > > > Asunto: RE: IIS 5.0 and Tomcat/Win2000 > > >=20 > > >=20 > > > yep, though if there is a way to test that, let me know. > > >=20 > > > >>> nacho@siapi.es 10/13/01 06:39PM >>> > > > Do you have execute privs in the jakarta virtual dir? > > >=20 > > > Saludos , > > > Ignacio J. Ortega > > >=20 > > >=20 > > > > -----Mensaje original----- > > > > De: Michael Risch [mailto:mrisch@computerlaw.com]=20 > > > > Enviado el: s=E1bado 13 de octubre de 2001 21:55 > > > > Para: tomcat-user@jakarta.apache.org=20 > > > > Asunto: IIS 5.0 and Tomcat/Win2000 > > > >=20 > > > >=20 > > > > I have seen this question asked a lot, but have not found the=20 > > > > answer - hence, I am asking here with detail... Thanks for=20 > > > > any advice... > > > >=20 > > > > It seems that this problem only is happening to people with=20 > > > > Win2000/IIS5.0 > > > >=20 > > > > My redirector is working, but ajp12 keeps giving me a 403=20 > > > > error. Here are some logs.=20 > > > > Any ideas on how I can get this to process? It looks like I am > > > > getting passed to Tomcat, which is dropping the ball. =20 > These same > > > > directories work over the 8080 port. This is all standalone. > > > >=20 > > > > isapi.log: > > > > [jk_isapi_plugin.c (408)]: HttpFilterProc started > > > > [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection = of > > > > /examples/jsp/num/numguess.jsp > > > > [jk_uri_worker_map.c (345)]: Into > > > > jk_uri_worker_map_t::map_uri_to_worker > > > > [jk_uri_worker_map.c (407)]:=20 > > jk_uri_worker_map_t::map_uri_to_worker, > > > > Found a match ajp12 > > > > [jk_isapi_plugin.c (439)]: HttpFilterProc > > > > [/examples/jsp/num/numguess.jsp] is a servlet url - should=20 > > > redirect to > > > > ajp12 > > > > [jk_isapi_plugin.c (461)]: HttpFilterProc check if > > > > [/examples/jsp/num/numguess.jsp] is points to the web-inf=20 > > 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 (345)]: Into > > > > jk_uri_worker_map_t::map_uri_to_worker > > > > [jk_uri_worker_map.c (435)]:=20 > > 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 =20 > found a worker > > > > [jk_isapi_plugin.c (539)]: HttpExtensionProc got a=20 > 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=20 > socket =3D 312 > > > > [jk_connect.c (124)]: jk_open_socket, after connect ret =3D 0 > > > > [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on > > > > [jk_connect.c (140)]: jk_open_socket, return, sd =3D 312 > > > > [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd =3D = 312 > > > > [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request > > > > [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending=20 > > the ajp12 > > > > start sequence > > > > [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending=20 > > > the headers > > > > [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the > > > > terminating mark > > > > [jk_ajp12_worker.c (477)]: ajpv12_handle_request done > > > > [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service,=20 > sent request > > > > [jk_ajp12_worker.c (493)]: Into ajpv12_handle_response > > > > [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read=20 > > Status: 404 > > > > Not Found > > > > [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read=20 > > > Status=3D404 Not > > > > Found > > > > [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read=20 > > > Content-Type: > > > > text/html > > > > [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read > > > > Content-Type=3Dtext/html > > > > [jk_ajp12_worker.c (547)]: ajpv12_handle_response,=20 > > allocating header > > > > arrays > > > > [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read > > > > Content-Length: 201 > > > > [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read > > > > Content-Length=3D201 > > > > [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read > > > > Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet=20 > > 2.2; Java > > > > 1.3.0; Windows 2000 5.0 x86; java.vendor=3DSun Microsystems = Inc.) > > > > [jk_ajp12_worker.c (535)]: ajpv12_handle_response, read > > > > Servlet-Engine=3DTomcat Web Server/3.2.1 (JSP 1.1;=20 > Servlet 2.2; Java > > > > 1.3.0; Windows 2000 5.0 x86; java.vendor=3DSun Microsystems = Inc.) > > > > [jk_ajp12_worker.c (507)]: ajpv12_handle_response, read=20 > > > > [jk_ajp12_worker.c (509)]: ajpv12_handle_response,=20 > > headers are done > > > > [jk_ajp12_worker.c (568)]: ajpv12_handle_response,=20 > > starting response > > > > [jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response > > > > [jk_ajp12_worker.c (579)]: ajpv12_handle_response,=20 > > reading response > > > > body > > > > [jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write > > > > [jk_ajp12_worker.c (595)]: ajpv12_handle_response,=20 > > response body is > > > > done > > > > [jk_ajp12_worker.c (607)]: ajpv12_handle_response done > > > > [jk_isapi_plugin.c (551)]: HttpExtensionProc service()=20 > returned OK > > > > [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done > > > >=20 > > > > tomcat.log: > > > >=20 > > > > 2001-10-12 11:15:30 - ContextManager: No handler for=20 > request R( + > > > > /jakarta/isapi_redirect.dll + null) 404 > > > > 2001-10-12 11:15:30 - Ctx( ): 404 R( +=20 > > > /jakarta/isapi_redirect.dll + > > > > null) null > > > > 2001-10-12 11:15:30 - Ctx( ): Handler > > > > tomcat.notFoundHandler(null/null) tomcat.notFoundHandler > > > >=20 > > > > w3svc log: > > > > 06:15:30 127.0.0.1 GET /jakarta/isapi_redirect.dll 200 > > > >=20 > > > > My registry entries are right, and the ISAPI arrow is a green = up > > > > arrow. > > > >=20 > > > > Any ideas? Thanks in advance. > > > >=20 > > >=20 > >=20 >=20 Saludos , Ignacio J. Ortega