Hello Andreas,
If You are using Tomcat then try to set up timeouts(connection,
read, upload and others if there are any) in server.xml.
Tuesday, November 15, 2005, 10:39:33 AM, you wrote:
AH> Hi Cocoon devs,
AH> we're experiencing a file upload problem which occurs occasionally:
AH> 1581402 2005-11-14 18:14:48,082 [TP-Processor6] ERROR
AH> access.service():1035 -
AH> Problem with Cocoon servlet
AH> org.apache.cocoon.servlet.multipart.MultipartException: Malformed stream
AH> at
AH> org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart
AH> (MultipartParser.java:132)
AH> at org.apache.cocoon.servlet.multipart.MultipartParser.getParts
AH> (MultipartParser.java:101)
AH> ...
AH> The code snippet in question is:
AH> while (ts.getState() == TokenStream.STATE_NEXTPART) {
AH> ts.nextPart();
AH> parsePart(ts);
AH> }
AH> if (ts.getState() != TokenStream.STATE_ENDMULTIPART) {
AH> // sanity check
AH> [*] throw new MultipartException("Malformed stream");
AH> }
AH> Setup:
AH> - httpd as proxy
AH> - Tomcat 5.5.9
AH> - Cocoon 2.1.7
AH> Is this a known issue?
AH> Google pointed me to
AH> http://mail-archives.apache.org/mod_mbox/cocoon-dev/200411.mbox/[EMAIL
PROTECTED]
AH> Maybe this is the same problem?
AH> Thanks in advance!
AH> Andreas
--
Best regards,
Grzegorz mailto:[EMAIL PROTECTED]