tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: Help with Tomcat and IIS
Date Tue, 04 Jun 2002 12:54:10 GMT
The isapi_redirect[or].dll is both a filter and an
extension.  The filter portion examines the request to
see if it should be forwarded to Tomcat. If so, the
request URI is saved in new header entries which are
added to the request and the request URI is replaced
with the "extension-uri" value.  This causes the
request to be processed by the extension portion of the
dll which handles the communications with Tomcat.

Your symptom is typical of having the isapi filter called
twice per request where even "/jakarta/isapi_redirector.dll"
is configured to be forwarded to Tomcat.  The second call to
the filter routine replaces the correctly request URI, saved
previously, with "/jakarta/isapi_redirector.dll" and the request
is now doomed to failure.

Since it appears you didn't make the mistake of adding
the "Filter DLLs" key, check to make sure the filter
appears only once in either the desired virtual host(s)
or in their parent node.  It should not appear at both
levels.

Cheers,
Larry

> -----Original Message-----
> From: Robert A. Rogerson [mailto:rarogerson@sympatico.ca] 
> Sent: Monday, June 03, 2002 7:07 PM
> To: Tomcat Users List
> Subject: RE: Help with Tomcat and IIS
> 
> 
> Hi Larry.  I checked my registry (NT4 SP6) and the only reference to
> islapi_rediector.dll is under 
> HKEY_LOCAL_MACHINE/SOFTWARE/Apache Software
> Foundation/Jakarta Isapi
> Redirector/1.0/extension_uri="/jakarta/isapi_redirector.dll". 
>  I did notice
> in other docs that the redirector should only be entered for 
> "Filter DLLs"
> for Win98.  Could I be confused and the
> "extension_uri="/jakarta/isapi_redictor.dll" should not exist?
> 
> Thanks,
> 
> Rob
> 
> -----Original Message-----
> From: Larry Isaacs [mailto:Larry.Isaacs@sas.com]
> Sent: Monday, June 03, 2002 11:31 AM
> To: Tomcat Users List
> Subject: RE: Help with Tomcat and IIS
> 
> 
> The "/jakarta/isapi_redirector.dll" URI should never
> be forwarded to Tomcat.  It occurrence indicates that the
> isapi_redirector.dll filter is being called more than once
> per request.
> 
> In the past this error was most often accomplished on
> WinNT/Win2k systems by adding the filter via the Admin
> console and incorrectly adding it again via the "Filter DLLs"
> registry key.  The "Filter DLLs" is for Win9x only.
> There have also been instances of the dll filter being
> added globally and to an individual web server causing
> it to be called twice.
> 
> Cheers,
> Larry
> 
> > -----Original Message-----
> > From: Robert A. Rogerson [mailto:rarogerson@sympatico.ca]
> > Sent: Monday, June 03, 2002 11:55 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Help with Tomcat and IIS
> >
> >
> > I installed Tomcat 4.0.3 and followed the How To directions
> > for redirecting
> > when using IIS.  JSP pages are served correctly through
> > Tomcat http://local
> > host:8080/examples/jsp/dates/date.jsp but when I try  and
> > serve a simple jsp
> > http://localhost/test.jsp where test.jsp is
> > <html>
> > <head>
> > <title>Welcome JSP</title>
> > </head>
> > <body bgcolor="white">
> > <h3> Welcome </h3>
> > <p><b> Today is <%= new java.util.Date() %>.  Have a nice
> > day! :-) </b></p>
> > </body>
> > </html>
> >
> > I receive the error
> > ...<title>Apache Tomcat/4.0.3 - Error report</title>
> > ...Apache Tomcat/4.0.3 - HTTP Status 404 -
> > /jakarta/isapi_redirector.dll
> > ...type</b> Status report
> > ...message</b> <u>/jakarta/isapi_redirector.dll
> > ...description</b> <u>The requested resource
> > (/jakarta/isapi_redirector.dll)
> > is not available.
> > through IIS.
> > I checked the authority to the /jakarta virtual directory and
> > it does have
> > Execute permission.
> >
> > Any ideas would be appreciated.
> >
> > Robert A. Rogerson
> > Phone:   905-826-7761
> > Cell:       416-562-1039
> > Email:    rarogerson@sympatico.ca
> >
> >
> 
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message