tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayne, Peter" <PeterMa...@ap.spherion.com>
Subject isapi_redirector2 and wrapped headers: updated binary available?
Date Wed, 25 Jun 2003 02:02:40 GMT
I'm using IIS + Tomcat 4.1.24 + JK2 isapi_redirector2.dll. Everything has
been working so far.

However, now I'm receiving HTTP headers containing a Content-Type that is
continued on another line, and isapi_redirector2.dll is broken. (Sending the
exact same request direct to Tomcat works fine, and sending the same request
via the redirector with the Content-Type edited to be on one line works.)

I'm using the v2.0.2 (27-Nov-2002) prebuilt binary of the redirector, so I
thought I'd try the nightly, but it's dated 5-Oct-2002!

I think I've seen mention of an updated isapi_redirector2.dll on the list,
but there are so many JK2 related problems that searching the archive is a
lost cause. Is there an updated prebuilt binary that hopefully fixes this
bug available somewhere? Alternatively, is JK known to handle this
correctly? If so, I could drop back to that.

Thanks.

What the headers in the HTTP request are (that's a TAB in front of
"boundary"):

Host: aaa 
SOAPAction: "ebXML"
Message-ID: bbb
Content-Type: multipart/related; type="text/xml"; start="<ccc>"; 
	boundary=ddd
Content-Length: 8719
Connection: close

What Tomcat (correctly) sees when the request is sent direct to Tomcat
(ordering is irrelevant):

MIME host [aaa]
MIME soapaction ["ebXML"]
MIME message-id [bbb]
MIME content-type [multipart/related; type="text/xml"; start="<ccc>";
boundary=ddd]
MIME content-length [8719]
MIME connection [close]

What Tomcat (incorrectly) sees when the request is sent via
IIS/isapi_redirector2.dll (that's a newline after "boundary=ddd"):

MIME connection [close]
MIME host [aaa]
MIME content-type [multipart/related; type="text/xml"; start="<ccc>"; ]
MIME soapaction ["ebXML"]
MIME message-id [bbb]
MIME       boundary=ddd
content-length [8719]
MIME content-length [0]

PJDM
-- 
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
T: 61 2 62689727  F: 61 2 62689777
The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with,

use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third party. All

personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.




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


Mime
View raw message