AW: isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found
Hi Bruno, and others! In the end I was successfull. In summaray, I've checked my config (from HOWTO) tripple and more, but nothing. I've transfered my config on a test machine and surprise, it works! But reinstalling the IIS on the original machine was not an option. And in last distress I've switched from configuring isapi_redirect by MS Registry to configure by isapi_redirect.properties file. And with the same settings it works :-) Isapi_redirect Filter is installed only on the virtual web instance and _not_ global. May others find usefull tips in here, too. Huge thanks to Bruno for his ideas. Regards Martin A few other things that just came to my mind: 1- Where I use the registry for the settings, I don't double the backslashes - just use (for instance) D:\Tomcat\logs etc. 2- IMHO, with the latest JKs it's better to clean the registry entries and use the isapi_redirect.properties configuration file, especially if you install it on a single site (http://tomcat.apache.org/connectors-doc/reference/iis.html Using a properties file.. - this might also help debugging.. 3- Try on different computers.. despite the procedure was correct, once I had to remove and add IIS again to get everything to work. -Ursprüngliche Nachricht- Von: myrealbruno [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Juli 2007 12:52 An: Tomcat Users List Betreff: Re: isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found Hi Martin, As far as I can tell everything is ok in your setup - I tried to replicate the error you get without success. You might want to check the IIS logs, the file permissions on the isapi dll, check if the /jakarta alias on IIS has execute permissions, try to set it as a global filter.. what else? And as a last resort use one of the old versions installers and then upgrade the files afterwards - version 1.2.15 had an msi installer for instance: http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15/ - this might work. - Original Message - From: Kirst Martin Wolfgang [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 16, 2007 8:40 AM Subject: isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found Hi, I'm trying to use IIS v5.00.3700.1000 with Tomcat 5.5.17 using isapi_redirect 1.2.23 and AJP13. But in the end I always see an error page from tomcat: HTTP Status 404 - /jakarta/isapi_redirect.dll ... The requested resource (/jakarta/isapi_redirect.dll) is not available ... Apache Tomcat/5.5.17 . Setup: OS: Windows 2000 SP4. JAVA: v 1.6.0_u1 (jdk from SUN) There are multiple IPs on this mashine for one ethernet card. One IP is mapped to DNS portoweb.portolancs.com (195.127.36.18). There are multiple web sites hosted on this IIS, each mapped configured to one IP. The isapi_redirect.dll is only installed on this single IIS web site under properties - isapi filters, that means _not global_ for all. I was following this howto: http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html I googled around and found others with the same problem, but no solution. I've checked all settings at least twice. There was a hint, the the uri is mapped twice. When reading the redirect-log.txt, it seems to be all fine, mapping is working, AJP is working, but still an error page. Whats wrong with this setup/configs? My configs: Registry: - [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=D:\\Tomcat\\logs\\isapi.log log_level=debug worker_file=D:\\Tomcat\\conf\\workers.properties worker_mount_file=D:\\Tomcat\\conf\\uriworkermap.properties uriworkermap.properties: /portoweb.portolancs.com/*=portoweb workers.properties: --- worker.list = portoweb worker.portoweb.type = ajp13 worker.portoweb.host = 127.0.0.1 worker.portoweb.port = 8009 Best regards Martin - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found
Thanks for reporting back your findings! Kirst Martin Wolfgang schrieb: Hi Bruno, and others! In the end I was successfull. In summaray, I've checked my config (from HOWTO) tripple and more, but nothing. I've transfered my config on a test machine and surprise, it works! But reinstalling the IIS on the original machine was not an option. And in last distress I've switched from configuring isapi_redirect by MS Registry to configure by isapi_redirect.properties file. And with the same settings it works :-) Isapi_redirect Filter is installed only on the virtual web instance and _not_ global. May others find usefull tips in here, too. Huge thanks to Bruno for his ideas. Regards Martin - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found
Hi Martin, As far as I can tell everything is ok in your setup - I tried to replicate the error you get without success. You might want to check the IIS logs, the file permissions on the isapi dll, check if the /jakarta alias on IIS has execute permissions, try to set it as a global filter.. what else? And as a last resort use one of the old versions installers and then upgrade the files afterwards - version 1.2.15 had an msi installer for instance: http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15/ - this might work. Hope it helps, b. - Original Message - From: Kirst Martin Wolfgang [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, July 16, 2007 8:40 AM Subject: isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found Hi, I'm trying to use IIS v5.00.3700.1000 with Tomcat 5.5.17 using isapi_redirect 1.2.23 and AJP13. But in the end I always see an error page from tomcat: HTTP Status 404 - /jakarta/isapi_redirect.dll ... The requested resource (/jakarta/isapi_redirect.dll) is not available ... Apache Tomcat/5.5.17 . Setup: OS: Windows 2000 SP4. JAVA: v 1.6.0_u1 (jdk from SUN) There are multiple IPs on this mashine for one ethernet card. One IP is mapped to DNS portoweb.portolancs.com (195.127.36.18). There are multiple web sites hosted on this IIS, each mapped configured to one IP. The isapi_redirect.dll is only installed on this single IIS web site under properties - isapi filters, that means _not global_ for all. I was following this howto: http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html I googled around and found others with the same problem, but no solution. I've checked all settings at least twice. There was a hint, the the uri is mapped twice. When reading the redirect-log.txt, it seems to be all fine, mapping is working, AJP is working, but still an error page. Whats wrong with this setup/configs? My configs: Registry: - [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=D:\\Tomcat\\logs\\isapi.log log_level=debug worker_file=D:\\Tomcat\\conf\\workers.properties worker_mount_file=D:\\Tomcat\\conf\\uriworkermap.properties uriworkermap.properties: /portoweb.portolancs.com/*=portoweb workers.properties: --- worker.list = portoweb worker.portoweb.type = ajp13 worker.portoweb.host = 127.0.0.1 worker.portoweb.port = 8009 Best regards Martin --- Scanned by M+ Guardian Messaging Firewall --- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
isapi_redirect from IIS5 to tomcat 5.5 brings HTTP 404 - isapi_redirect.dll not found
Hi, I'm trying to use IIS v5.00.3700.1000 with Tomcat 5.5.17 using isapi_redirect 1.2.23 and AJP13. But in the end I always see an error page from tomcat: HTTP Status 404 - /jakarta/isapi_redirect.dll ... The requested resource (/jakarta/isapi_redirect.dll) is not available ... Apache Tomcat/5.5.17 . Setup: OS: Windows 2000 SP4. JAVA: v 1.6.0_u1 (jdk from SUN) There are multiple IPs on this mashine for one ethernet card. One IP is mapped to DNS portoweb.portolancs.com (195.127.36.18). There are multiple web sites hosted on this IIS, each mapped configured to one IP. The isapi_redirect.dll is only installed on this single IIS web site under properties - isapi filters, that means _not global_ for all. I was following this howto: http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html I googled around and found others with the same problem, but no solution. I've checked all settings at least twice. There was a hint, the the uri is mapped twice. When reading the redirect-log.txt, it seems to be all fine, mapping is working, AJP is working, but still an error page. Whats wrong with this setup/configs? My configs: Registry: - [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=D:\\Tomcat\\logs\\isapi.log log_level=debug worker_file=D:\\Tomcat\\conf\\workers.properties worker_mount_file=D:\\Tomcat\\conf\\uriworkermap.properties uriworkermap.properties: /portoweb.portolancs.com/*=portoweb workers.properties: --- worker.list = portoweb worker.portoweb.type = ajp13 worker.portoweb.host = 127.0.0.1 worker.portoweb.port = 8009 Best regards Martin ... [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file D:\Tomcat\logs\isapi.log. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file D:\Tomcat\conf\workers.properties. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file D:\Tomcat\conf\uriworkermap.properties. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /portoweb.portolancs.com/=portoweb was added [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] build_worker_map::jk_worker.c (196): creating worker ajp13 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] wc_create_worker::jk_worker.c (120): about to create instance ajp13 of ajp13 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] wc_create_worker::jk_worker.c (133): about to validate and init ajp13 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_validate::jk_ajp_common.c (1721): worker ajp13 contact is localhost:8009 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] build_worker_map::jk_worker.c (208): removing old ajp13 worker [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] jk_shm.c (169): Initialized shared memory size=28800 free=28672 addr=0x1fe [Fri Jun 08 11:36:24 2007] [2108:1692] [debug] jk_isapi_plugin.c (1658): Using registry. [Fri