Hi,

 

Since IIS 5.1 and isapi-redirect.dll (1.2.14) seems to have some issues
with HTTP request like OPTIONS and PUT. I posted my question on IIS
forum aswell. I got the following reply from them. Please do look at the
email sent from Microsoft:

 

"David Wang [Msft]" wrote:

Let me summarize what you are saying:

- OPTIONS works against plain IIS5.1 (OPTIONS * HTTP/1.1)

- OPTIONS fails when passed through the isapi_redirector.dll on IIS 5.1

(OPTIONS /tc/FileAccess/ HTTP/1.1)

- OPTIONS succeeds when passed through the isapi_redirector.dll on IIS
6.0

 

In other words, OPTIONS works on IIS 5.1 and IIS 6.0 without

isapi_redirector.dll (so IIS is ok), and isapi_redirector.dll managed to

work on IIS 6.0 but not IIS 5.1 (so isapi_redirector.dll is not ok). Why
it

does not work on IIS 5.1 -- that is a question to ask of the
programmers(s)

of isapi_redirector.dll.

 

Thus, I think you are looking at a problem with the isapi_redirector.dll

itself and I suggest you contact the support group for
isapi_redirector.dll.

This is probably not the best support forum for isapi_redirector.dll.

 

-- 

//David

IIS

http://blogs.msdn.com/David.Wang

This posting is provided "AS IS" with no warranties, and confers no
rights.

//

"UGS_nayak" <[EMAIL PROTECTED]> wrote in message

news:[EMAIL PROTECTED]

Hi,

 

I am not sure how to disable the isapi_redirect.dll. And if I disable
how

would I connect to our servlet (/tc/FileAccess/) that's running on JBoss
?

 

But if you mean just sending the following request:

OPTIONS * HTTP/1.1

User-Agent: DAKCLIENT/6.0

Accept-Language: en-US

Host: beaorchardj01.net.plm.eds.com

 

then IIS send 200:

HTTP/1.1 200 OK

Server: Microsoft-IIS/5.1

Date: Fri, 19 Aug 2005 17:20:29 GMT

Content-Length: 0

Accept-Ranges: bytes

DASL: <DAV:sql>

DAV: 1, 2

Public: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, MKCOL,

PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH

Allow: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, MKCOL,

PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH

Cache-Control: private

 

What confuses us is how does IIS6.0 works with the same redirector? But
has

issues with IIS5.1? 

 

I don't have "UrlScan" folder under %windir%\system32\inetsrv\ too.

Thanks....

-- 

Nayak

 

Again, this is what I see in my IIS log for OPTIONS:

In IIS logs:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2005-08-18 20:42:01
#Fields: date time c-ip cs-username s-sitename s-computername s-ip
s-port 
cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes 
cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Cookie)
cs(Referer) 
2005-08-18 20:47:31 134.244.174.103 - W3SVC1 BEAORCHARDJ01
134.244.174.103 
80 OPTIONS /tc/FileAccess/ - 500 87 0 124 0 HTTP/1.1 
beaorchardj01.net.plm.eds.com DAKCLIENT/6.0 - -
 
In isapi logs:
[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]
HttpFilterProc::jk_isapi_plugin.c (747): Filter started [Fri Aug 12
09:14:23 2005] [0352:4100] [debug] HttpFilterProc::jk_isapi_plugin.c
(813): Virtual Host redirection of
/beaorchardj01.net.plm.eds.com/tc/FileAccess/
[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]
map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI
'/beaorchardj01.net.plm.eds.com/tc/FileAccess/' from 1 maps [Fri Aug 12
09:14:23 2005] [0352:4100] [debug]
map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context
URI '/tc/*'
[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]
HttpFilterProc::jk_isapi_plugin.c (820): Default redirection of
/tc/FileAccess/ [Fri Aug 12 09:14:23 2005] [0352:4100] [debug]
map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI
'/tc/FileAccess/' from 1 maps [Fri Aug 12 09:14:23 2005] [0352:4100]
[debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map
context URI '/tc/*'
[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]
map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match
node1 -> /tc/*
[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]
HttpFilterProc::jk_isapi_plugin.c (830): check if [/tc/FileAccess/] is
points to the web-inf directory [Fri Aug 12 09:14:23 2005] [0352:4100]
[debug] HttpFilterProc::jk_isapi_plugin.c (848): [/tc/FileAccess/] is a
servlet url - should redirect to node1
 

------ I do not see debugging statement like the below in isapi log.:

found a worker node1

got a worker for name node1

 

 

Please do help. As of yet, IIS 5.1 works with JK2 redirector(which is
deprecated). IIS 6.0 works with isapi_redirect.dll(1.2.14)

 

We would like II5.1 to work with isapi_redirect.dll(1.2.14) (stable
version). 

 

Thanks.......

Usha

 

 

-----Original Message-----
From: Nayak, Usha- Kalpana 
Sent: Tuesday, August 16, 2005 3:22 PM
To: 'Tomcat Users List'
Subject: RE: IIS(5.1)-ISAPI(1.2.14) issue with OPTIONS request.
Importance: High

 

Hi,

 

Just an update: Got JK2(isapi_redirector2.dll) installed and I seem to
have no problem with OPTIONS request too. 

 

What's the difference between isapi_redirector2.dll v/s
isapi_redirector.dll (version 1.2.14)? Besides JK2 is deprecated.

 

Thanks...... Please let us know.....

Usha

 

-----Original Message-----

From: Nayak, Usha- Kalpana [mailto:[EMAIL PROTECTED] 

Sent: Tuesday, August 16, 2005 11:03 AM

To: Tomcat Users List

Subject: RE: IIS-ISAPI issue with OPTIONS request.

 

Hi,

 

I seem to have no problem connecting to JBoss with request like POST,

GET, SEARCH. So I am thinking everything is configured correctly. 

 

My virtual directory tomcat maps to E:\\isapi_redirect1.2.14.

Properties on Default Web Site ->ISAPI Filters, click on filter

installed 

Filter Name : tomcat

Status : Loaded

Executable : E:\isapi_redirect1.2.14\isapi_redirect.dll

Priority : High

 

Also, would like to mention I can debug the isapi dll and while

debugging, POST, GET, SEARCH request call HttpExtensionProc function in

isapi dll and then return HttpFilterProc.

 

DWORD WINAPI HttpExtensionProc(LPEXTENSION_CONTROL_BLOCK lpEcb) 

DWORD WINAPI HttpFilterProc(PHTTP_FILTER_CONTEXT pfc,

                            DWORD dwNotificationType, LPVOID

pvNotification)

 

Incase of OPTIONS, HttpExtensionProc is called after which

HttpFilterProc is never called.

 

Will appreciate all your help... Thanks...

Usha

 

-----Original Message-----

From: Derrick Koes [mailto:[EMAIL PROTECTED] 

Sent: Tuesday, August 16, 2005 10:34 AM

To: Tomcat Users List

Subject: RE: IIS-ISAPI issue with OPTIONS request.

 

 

Note that the extension URI seems to point to a slightly different dll

than the one configured.

 

"extension_uri"="/tomcat/isapi_redirect.dll"

 

isapi_redirector.dll (1.2.14)

 

-----Original Message-----

From: Nayak, Usha- Kalpana [mailto:[EMAIL PROTECTED] 

Sent: Tuesday, August 16, 2005 1:23 PM

To: tomcat-user@jakarta.apache.org

Subject: IIS-ISAPI issue with OPTIONS request.

Importance: High

 

Hi,

 

 I have Tomcat redirector plugin DLL, isapi_redirector.dll (1.2.14)

plugin installed in IIS. I am using this redirector to connect IIS with

JBoss. I have configured isapi to redirect uri with /tc/* using

workers.properties and uriworkermap.properties. Also, Using the IIS

management console, added a new virtual directory to my IIS  web site.

The name of the virtual directory given is tomcat and the

isapi_redirector.dll seems to be loaded i.e I see green arrow.

 

 BTW, I have a created a directory and it has isapi_redirector.dll,

workers.properties, uriworkermap.properties,

isapi_redirector-1.2.14.reg.

 

 

 

Contents of isapi_redirector-1.2.14.reg :

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi

Redirector\1.0]

 

"extension_uri"="/tomcat/isapi_redirect.dll"

 

"log_file"="C:\\Temp\\jk_iis.log"

 

"log_level"="debug"

 

"worker_file"="E:\\isapi_redirect1.2.14\\workers.properties"

 

"worker_mount_file"="E:\\isapi_redirect1.2.14\\uriworkermap.properties"

 

 

 

Contents of uriworkermap.properties:

 

 # Send all /tc requests to node1

 

/tc/*=node1

 

Contents of workers.properties:

 

worker.list=node1

 

worker.node1.port=8009

 

worker.node1.host=beaorchardj01.net.plm.eds.com

 

worker.node1.type=ajp13

 

 

But when a request of the below form is sent:

OPTIONS /tc/FileAccess/ HTTP/1.1

 

I receive the below message:

HTTP/1.1 500 Server Error

Server: Microsoft-IIS/5.1

Date: Fri, 12 Aug 2005 22:10:57 GMT

Connection: close

Content-Type: text/html

Content-Length: 87

 

<html><head><title>Error</title></head><body>The parameter is incorrect.

</body></html>

 

I seem to have no problem connecting to JBoss with request like POST,

GET, SEARCH.

 

In ISAPI logs for OPTIONS:

[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]

HttpFilterProc::jk_isapi_plugin.c (747): Filter started [Fri Aug 12

09:14:23 2005] [0352:4100] [debug] HttpFilterProc::jk_isapi_plugin.c

(813): Virtual Host redirection of

/beaorchardj01.net.plm.eds.com/tc/FileAccess/

[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]

map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI

'/beaorchardj01.net.plm.eds.com/tc/FileAccess/' from 1 maps [Fri Aug 12

09:14:23 2005] [0352:4100] [debug]

map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context

URI '/tc/*'

[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]

HttpFilterProc::jk_isapi_plugin.c (820): Default redirection of

/tc/FileAccess/ [Fri Aug 12 09:14:23 2005] [0352:4100] [debug]

map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI

'/tc/FileAccess/' from 1 maps [Fri Aug 12 09:14:23 2005] [0352:4100]

[debug] map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map

context URI '/tc/*'

[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]

map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match

node1 -> /tc/*

[Fri Aug 12 09:14:23 2005] [0352:4100] [debug]

HttpFilterProc::jk_isapi_plugin.c (830): check if [/tc/FileAccess/] is

points to the web-inf directory [Fri Aug 12 09:14:23 2005] [0352:4100]

[debug] HttpFilterProc::jk_isapi_plugin.c (848): [/tc/FileAccess/] is a

servlet url - should redirect to node1

 

don't see below statements from isapi for OPTIONS:

[Fri Aug 12 09:14:23 2005] [0352:3556] [debug]

wc_get_worker_for_name::jk_worker.c (111): found a worker node1 [Fri Aug

12 09:14:23 2005] [0352:3556] [debug]

HttpExtensionProc::jk_isapi_plugin.c (1003): got a worker for name node1

 

 

In IIS logs:

#Software: Microsoft Internet Information Services 5.1

#Version: 1.0

#Date: 2005-08-12 16:09:39

#Fields: time c-ip cs-method cs-uri-stem sc-status

17:29:38 134.244.174.103 POST

/tc/controller/gatewayPostserviceInvoke_link 200

17:33:01 134.244.174.103 OPTIONS /tc/FileAccess/ 500

 

Please help....... This is very urgent. BTW, I have IIS 5.1 and working

on WinXp Professional Version 2002 Sp2

 

thanks...

 

Usha

 

 

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 

Reply via email to