Hi Cocoon devs,

we're experiencing a file upload problem which occurs occasionally:

1581402 2005-11-14 18:14:48,082 [TP-Processor6] ERROR access.service():1035 -
Problem with Cocoon servlet
org.apache.cocoon.servlet.multipart.MultipartException: Malformed stream
at org.apache.cocoon.servlet.multipart.MultipartParser.parseMultiPart
(MultipartParser.java:132)
at org.apache.cocoon.servlet.multipart.MultipartParser.getParts (MultipartParser.java:101)
...

The code snippet in question is:

        while (ts.getState() == TokenStream.STATE_NEXTPART) {
            ts.nextPart();
            parsePart(ts);
        }

        if (ts.getState() != TokenStream.STATE_ENDMULTIPART) {
            // sanity check
[*]         throw new MultipartException("Malformed stream");
        }



Setup:

- httpd as proxy
- Tomcat 5.5.9
- Cocoon 2.1.7

Is this a known issue?
Google pointed me to

http://mail-archives.apache.org/mod_mbox/cocoon-dev/200411.mbox/[EMAIL 
PROTECTED]

Maybe this is the same problem?

Thanks in advance!
Andreas

Reply via email to