DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12553>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12553

Responses are truncated when served through mod_jk

           Summary: Responses are truncated when served through mod_jk
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Connector:JK/AJP (deprecated)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a situation where some of my servlet responses are getting truncated 
when served through mod_jk. 
Apache 2.0.39 on NT4 Sp6a
TC 4.04 final
In one case I was filling the servlet output stream directly. Setting the 
content length header didn't make a difference. The system returned 2MB of an 
8MB file (exactly 2^21 bytes) of the response to the client. The apache log 
showed the correct number of bytes.
In the other case my servlet called RequestDispatcher.forward() to an html 
resource in the webapp. The response was truncated about 1/3 of the way through 
the html.

The problem didn't occur for every client. In one case a client using IE6 got 
the truncated response in another case a client using IE6 got the complete 
response. The clients that fail always fail. The clients that succeed always 
succeed.

In both cases the workaround was to use mod_proxy instead of mod_jk.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to