You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/08/26 00:52:42 UTC
DO NOT REPLY [Bug 36365] New: -
IIS5.1-isapi_redirector.dll (1.2.14) plugin issue
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36365>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36365
Summary: IIS5.1-isapi_redirector.dll (1.2.14) plugin issue
Product: Tomcat 5
Version: Unknown
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: usha.nayak@ugsplm.com
CC: usha.nayak@ugsplm.com
I have Tomcat redirector plugin DLL, isapi_redirector.dll (1.2.14)
plugin installed in IIS 5.1. 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
User-Agent: DAKCLIENT/6.0
Accept-Language: en-US
Host: beaorchardj01.net.plm.eds.com
I receive the below message:
HTTP/1.1 500 Server Error
Server: Microsoft-IIS/5.1
Date: Thu, 18 Aug 2005 20:57:39 GMT
Connection: close
Content-Type: text/html
Content-Length: 87
<html><head><title>Error</title></head><body>The parameter is incorrect.
</body></html>
Besides OPTIONS, PUT is another HTTP request that seems to be blocked. BUT,
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
DO NOT 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-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 - -
IIS log for POST:
2005-08-18 20:42:01 134.244.174.103 - W3SVC1 BEAORCHARDJ01 134.244.174.103
80 POST /tc/controller/gatewayPostserviceLogin_link - 200 0 413 487 47
HTTP/1.1 beaorchardj01.net.plm.eds.com:8888 Jakarta+Commons-HttpClient/2.0.2
JSESSIONID=93841C7C5271EE1532659A59D1A5B69D -
OPTIONS and PUT seem to WORK FINE when I move to IIS 6.0 and
isapi_redirector.dll(1.2.14) OR Use II5.1 with deprecated version of isapi
redirector (JK2).
Please help....... This is very urgent. BTW, I have IIS 5.1 and working
on WinXp Professional Version 2002 Sp2.
We contacted Microsoft IIS developer for help. This is what they had to say:
"We have isolated the issue that IIS is capable of handling the HTTP OPTIONS
and PUT requests by enabling WebDAV.Please contact the 3rd party vendor of
isapi_redirector.dll."
Thanks....
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org