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]

Reply via email to