Bug report #542 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/542>

REPORT #542 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 3,.2 final
   JVM Release: 1.3
   Operating System: Windows NT
   OS Release: 5.0
   Platform: Intel

Synopsis: 
mod_jk ajp13 POST multipart/form-data failure

Description:
I have a web application that uploads files using a multipart form (see How To 
Reproduce section). After pressing the submit button, the browser either reports that 
the page was not accessible, hangs, or not all of the data gets uploaded properly.

In debugging from the JSP side of things, the .jsp page will sometimes be invoked and 
sometimes it will not be invoked.  If it is invoked, readLine() on the stream returned 
from request.getInputStream() will not read all of the data posted.  I can actually 
call readLine() after it returns -1 and get more data, but some of the data is still 
missing.

I have narrowed this down to the communication between mod_jk and tomcat using the 
ajp13 protocol.  If I reconfigure mod_jk to use the ajp12 protocol, there is no 
problem.  If I communicate to tomcat directly through port 8080, there is no problem.

I have also reproduced this problem under Linux, RedHat 6.1.

I need to use the ajp13 protocol because my application must use Apache SSL and the 
ajp12 protocol does not support passing the correct information to tomcat for SSL.

Title: BugRat Report # 542

BugRat Report # 542

Project: Tomcat Release: 3,.2 final
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: critical
Confidence: public

Submitter: Dan Zehme ( [EMAIL PROTECTED] )
Date Submitted: Dec 6 2000, 01:12:22 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
mod_jk ajp13 POST multipart/form-data failure
Environment: (jvm, os, osrel, platform)
1.3, Windows NT, 5.0, Intel

Additional Environment Description:

Report Description:
I have a web application that uploads files using a multipart form (see How To Reproduce section). After pressing the submit button, the browser either reports that the page was not accessible, hangs, or not all of the data gets uploaded properly. In debugging from the JSP side of things, the .jsp page will sometimes be invoked and sometimes it will not be invoked. If it is invoked, readLine() on the stream returned from request.getInputStream() will not read all of the data posted. I can actually call readLine() after it returns -1 and get more data, but some of the data is still missing. I have narrowed this down to the communication between mod_jk and tomcat using the ajp13 protocol. If I reconfigure mod_jk to use the ajp12 protocol, there is no problem. If I communicate to tomcat directly through port 8080, there is no problem. I have also reproduced this problem under Linux, RedHat 6.1. I need to use the ajp13 protocol because my application must use Apache SSL and the ajp12 protocol does not support passing the correct information to tomcat for SSL.

How To Reproduce:
null

View this report online...

Reply via email to