You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/02/14 16:11:13 UTC

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:esegev@ptc.com]
Sent: Wednesday, February 14, 2001 10:30 AM
To: tomcat-user@jakarta.apache.org
Subject: Configuring Isapi Redirector with IIS


I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor
<sh...@il.ibm.com> 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


Re: Configuring Isapi Redirector with IIS

Posted by Eli Segev <es...@ptc.com>.
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:esegev@ptc.com]
> Sent: Wednesday, February 14, 2001 10:30 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Configuring Isapi Redirector with IIS
>
> I have followed the instructions in "Tomcat IIS HowTo" by Gal Shachor
> <sh...@il.ibm.com> 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