I would like to explain the problem quickly.
We have a servlet class which accepts post requests. The post body has soap
xml in it, and the transfer-encoding is set to chunked. We receive such a
post request from IIS to tomcat(glassfish).
When a request is received from IIS, tomcat throws an invalid CRLF
exception. However Oracle works fine in the same scenerio. Since i can't
mimic IIS behaviour i can't provide you with a reproducible test.
I am really stucked with this as our code sits on top of tomcat(glassfish)
and problem occurs between IIS and glassfish somewhere.I have ethereal trace
taken for the invalid crlf exception and that is what i can provide.
I deployed our module to tomcat (6.0.18) and everthing works fine. I think
tomcat had some bug fixes after the base version you have started with. I
also tried our module with glassfish server (v2 Update Release 2 (UR2)) and
problem still exists.
My idea is It would be helpful if we can get logs of the ChunkedInputFilter
class when IIS sends the request. If you can help me on this or give me an
idea on how to go forward with the problem, i would be pleased.
Ozgur