Re: Configuring Isapi Redirector with IIS
The problem here had nothing to do with IIS or Tomcat. It had to do with read permissions on the folder of the DLL. This folder is web shared. The security permissions for the folder should be 'read access' to everyone or to guests. When you configure IIS to use a filter, it makes the folder web shared, but does not change the read permission. In retrospect, it should have been clear from the 401 status code. It seems to me like there might be several things wrong. First, check your workers.properties file. It seems like you might not have the ajp12 worker defined or maybe defined incorrectly. Next, check the registry entry for the worker.properties file. Second, look at your filter. The executable for the filter needs to be isapi_redirect.dll (the message looks like it might not point to the dll, just the directory). If that doesn't do it, I would suggest trying a new DLL, after the Windows NT fix-all - reboot. Randy -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: Configuring Isapi Redirector with IIS I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor [EMAIL PROTECTED] to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Configuring Isapi Redirector with IIS
I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor [EMAIL PROTECTED] to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Configuring Isapi Redirector with IIS
It seems to me like there might be several things wrong. First, check your workers.properties file. It seems like you might not have the ajp12 worker defined or maybe defined incorrectly. Next, check the registry entry for the worker.properties file. Second, look at your filter. The executable for the filter needs to be isapi_redirect.dll (the message looks like it might not point to the dll, just the directory). If that doesn't do it, I would suggest trying a new DLL, after the Windows NT fix-all - reboot. Randy -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: Configuring Isapi Redirector with IIS I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor [EMAIL PROTECTED] to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Configuring Isapi Redirector with IIS
Randy, Thanks for the quick response. I forgot to add the crucial point that accessing Tomcat directly, something like http://localhost:8080/examples/servlets/index.html works perfectly. But when you take out the port (expecting redirection from IIS to Tomcat), I get inetinfo Application Error and it crashes the IIS. worker.properties file looks like: # # Simple worker configuration file # worker.list=ajp12 worker.ajp12.port=8007 worker.ajp12.host=localhost The filter points to the isapi_redirect.dll and it has the green arrow in the ISAPI Filters. I did reboot. :-) It seems to me like there might be several things wrong. First, check your workers.properties file. It seems like you might not have the ajp12 worker defined or maybe defined incorrectly. Next, check the registry entry for the worker.properties file. Second, look at your filter. The executable for the filter needs to be isapi_redirect.dll (the message looks like it might not point to the dll, just the directory). If that doesn't do it, I would suggest trying a new DLL, after the Windows NT fix-all - reboot. Randy -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: Configuring Isapi Redirector with IIS I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor [EMAIL PROTECTED]> to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Configuring Isapi Redirector with IIS
Eli I am throwing a wild guess here but in the uriworkermap you shouldadd an entryso that the isapi will know to which worker to transfer the request something like : /*=ajp12 or /myServlet*=ajp12 -Original Message-From: Eli Segev [mailto:[EMAIL PROTECTED]]Sent: Wed, February 14, 2001 6:58 PMTo: [EMAIL PROTECTED]Subject: Re: Configuring Isapi Redirector with IISRandy, Thanks for the quick response. I forgot to add the crucial point that accessing Tomcat directly, something like http://localhost:8080/examples/servlets/index.html works perfectly. But when you take out the port (expecting redirection from IIS to Tomcat), I get inetinfo Application Error and it crashes the IIS. worker.properties file looks like: # # Simple worker configuration file # worker.list=ajp12 worker.ajp12.port=8007 worker.ajp12.host=localhost The filter points to the isapi_redirect.dll and it has the green arrow in the ISAPI Filters. I did reboot. :-) It seems to me like there might be several things wrong. First, check your workers.properties file. It seems like you might not have the ajp12 worker defined or maybe defined incorrectly. Next, check the registry entry for the worker.properties file. Second, look at your filter. The executable for the filter needs to be isapi_redirect.dll (the message looks like it might not point to the dll, just the directory). If that doesn't do it, I would suggest trying a new DLL, after the Windows NT fix-all - reboot. Randy -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: Configuring Isapi Redirector with IIS I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor [EMAIL PROTECTED] to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Configuring Isapi Redirector with IIS
I've gotta say that you're out there at the end of my knowledge, but I'll theorize a little: You are crashing the inetinfo process (with a bad pointer read) so the problem can't be in Tomcat (seperate process). I'm assuming that IIS works when you try other URLs, so its probably not IIS. That leaves some problem with isapi_redirect.dll or the way that it communicates with IIS. Things I would try: 1. Wait for someone else on the list to lend a helping hand (don't hold your breath, most people seem to use Apache) 2. Download a new dll file (make sure to get the zip to avoid corrupting it and unzip it on the machine that it will run) 3. Go over the registry again. 4. Try debugging the isapi_redirect.dll code to find out why it causes the crash I've been running Tomcat as part of several IIS installations (IIS 4 on NT and 5 on 2000) and haven't crashed IIS yet (from Tomcat anyways :) ) Randy -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 11:58 AM To: [EMAIL PROTECTED] Subject: Re: Configuring Isapi Redirector with IIS Randy, Thanks for the quick response. I forgot to add the crucial point that accessing Tomcat directly, something like http://localhost:8080/examples/servlets/index.html works perfectly. But when you take out the port (expecting redirection from IIS to Tomcat), I get inetinfo Application Error and it crashes the IIS. worker.properties file looks like: # # Simple worker configuration file # worker.list=ajp12 worker.ajp12.port=8007 worker.ajp12.host=localhost The filter points to the isapi_redirect.dll and it has the green arrow in the ISAPI Filters. I did reboot. :-) It seems to me like there might be several things wrong. First, check your workers.properties file. It seems like you might not have the ajp12 worker defined or maybe defined incorrectly. Next, check the registry entry for the worker.properties file. Second, look at your filter. The executable for the filter needs to be isapi_redirect.dll (the message looks like it might not point to the dll, just the directory). If that doesn't do it, I would suggest trying a new DLL, after the Windows NT fix-all - reboot. Randy -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:30 AM To: [EMAIL PROTECTED] Subject: Configuring Isapi Redirector with IIS I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor [EMAIL PROTECTED] to set up IIS to redirect requests to Tomcat on an NT machine. I don't want to repeat again all the steps that appears in the document in this email. Whenever I try to test the redirection of requests from IIS to Tomcat, I get an error. It appears in the "Event Viewer" as: "The HTTP Filter DLL E:\Programs\jakarta-tomcat\bin\iis\i386 failed to load. The data is the error.". The isapi.log has [jk_isapi_plugin.c (385)]: In HttpFilterProc test redirection of /examples/jsp/index.html [jk_uri_worker_map.c (286)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (338)]: jk_uri_worker_map_t::uri_worker_map_open, done with ajp12 [jk_isapi_plugin.c (395)]: In HttpFilterProc /examples/jsp/index.html should redirect to ajp12 [jk_uri_worker_map.c (127)]: Into jk_uri_worker_map_t::uri_worker_map_free [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_close [jk_uri_worker_map.c (278)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (134)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_worker.c (125)]: Into wc_close [jk_worker.c (127)]: wc_close, done C:\WINNT\system32\LogFiles\W3SVC1\ex010214.log has: 2001-02-14 15:08:59 132.253.97.108 - W3SVC1 BISUT GET /jakarta/isapi_redirect.dll - 401 80 HTTP/1.0 Mozilla/4.7+[en]+(WinNT;+I) - The operation crashes IIS and I get the following error (see attachment). Does anyone know what is wrong here? The error is 401 which is not covered in the troubleshooting section for WinNT. The IIS version is 4.0 and Tomcat is 3.1. -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] -- Eli Segev PTC (781)370-6127 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]