If you really want to use mod_jk and AJP13 and file upload, then you
will have to fix this bug yourself.  This has been a known issue since
around Dec and there has not been a solution yet.

        Randy

-----Original Message-----
From: Martijn van Rooijen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 12:23 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat 3.2.1 + Apache 1.3.12 + ajp12 / ajp13


Hi, I have some trouble uploading files using the following configuration:

Redhat Linux 6.2 / SunOS (doesn't matter which)
Tomcat 3.2.1
mod_jk (compiled one myself and also tried a downloaded binary from
jakarta.apache.org)
Apache 1.3.12

I'd like to use the new features of the AJP 1.3 protocol, so I configured
Tomcat / Apache to use ajp13. This runs fine, except when using a
multipart/form-data post operation (input type="file") from a webpage. This
results in a "java.io.IOException: Content disposition corrupt:" error when
a "0A FF" or an "FF FF" byte sequence (contained in the uploaded file) is
passed to tomcat by mod_jk. Tomcat seems to expect a next multipart in the
upload, but the file is then only uploaded up until the aforementioned byte
sequence.

Using AJP 1.2 an upload goes well, but this unfortunately is no solution for
me because this gives other problems.

Also, when using a standalone Tomcat server, uploading is also no problem.

Any suggestions are welcome!

Thanks,
Martijn.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to