RE: Help with Tomcat and IIS

2002-06-04 Thread simpson

try changing all references from isapi_redirector.dll to isapi_redirect.dll



 -Original Message-
 From: Robert A. Rogerson [mailto:[EMAIL PROTECTED]]
 Sent: June 3, 2002 19:07
 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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]]
  Sent: Monday, June 03, 2002 11:55 AM
  To: [EMAIL PROTECTED]
  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
  titleWelcome JSP/title
  /head
  body bgcolor=white
  h3 Welcome /h3
  pb Today is %= new java.util.Date() %.  Have a nice
  day! :-) /b/p
  /body
  /html
 
  I receive the error
  ...titleApache 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 uThe 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:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Help with Tomcat and IIS

2002-06-04 Thread Larry Isaacs

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:[EMAIL PROTECTED]] 
 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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]]
  Sent: Monday, June 03, 2002 11:55 AM
  To: [EMAIL PROTECTED]
  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
  titleWelcome JSP/title
  /head
  body bgcolor=white
  h3 Welcome /h3
  pb Today is %= new java.util.Date() %.  Have a nice
  day! :-) /b/p
  /body
  /html
 
  I receive the error
  ...titleApache 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 uThe 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:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Help with Tomcat and IIS

2002-06-03 Thread peter . brawley

Robert A. Rogerson wrote:

 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
 titleWelcome JSP/title
 /head
 body bgcolor=white
 h3 Welcome /h3
 pb Today is %= new java.util.Date() %.  Have a nice day! :-) /b/p
 /body
 /html

 I receive the error
 ...titleApache 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 uThe 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.

1. In %CATALINA_HOME%/conf/server.xml make sure the line
  Context path= docBase=ROOT reloadable=true debug=0/
is uncommented (in 403 as shipped, it's commented).

2. Put test.jsp in %CATALINA_HOME%/webapps/ROOT

3. Unless you switched Tomcat's port to 80, I think your URL
has to be http://localhost:8080/test.jsp

HTH

P.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Help with Tomcat and IIS

2002-06-03 Thread Larry Isaacs

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:[EMAIL PROTECTED]] 
 Sent: Monday, June 03, 2002 11:55 AM
 To: [EMAIL PROTECTED]
 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
 titleWelcome JSP/title
 /head
 body bgcolor=white
 h3 Welcome /h3
 pb Today is %= new java.util.Date() %.  Have a nice 
 day! :-) /b/p
 /body
 /html
 
 I receive the error
 ...titleApache 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 uThe 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:[EMAIL PROTECTED]
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Help with Tomcat and IIS

2002-06-03 Thread Robert A. Rogerson

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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]]
 Sent: Monday, June 03, 2002 11:55 AM
 To: [EMAIL PROTECTED]
 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
 titleWelcome JSP/title
 /head
 body bgcolor=white
 h3 Welcome /h3
 pb Today is %= new java.util.Date() %.  Have a nice
 day! :-) /b/p
 /body
 /html

 I receive the error
 ...titleApache 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 uThe 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:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]