posted 19 years ago
I am trying to upload a 25 MB file from the browser(IE 6). The app server is Websphere (4.0.6) and HTTP Server is IBM Http Server (1.3.19).
I use com.oreilly.servlet.multipart.MultipartParser for uploading.
I setup a server from WSAD(Websphere Application development on WIN XP) and upload the file of 25mb, the upload is fine without any errors. It works perfectly.
BUT, but any image over 10 MB of size doesnt upload in Websphere (running on AIX 5) and throws an error.
The error thrown is,
java.io.IOException: Corrupt form data: premature ending
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:166)
at com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:94)
at mypackage.servlets.dev.Saver.doPost(Saver.java:52)
and sometimes
java.io.IOException: unexpected end of part
at com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java(Compiled Code))
at com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readFullyInternal(ObjectInputStream.java(Inlined Compiled Code))
at java.io.ObjectInputStream.bufferData(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readInt(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.inputArray(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
why does the upload happen fine when run in local WSAD environment and not in live environment?
Are there known issues in Websphere 4.0.6 and IBM HTTP Szerver 1.3.19?
also the patch applied for websphere 4.0.6 is ptf60319.01
The network is not an issue here since I am able to uplaod 25 mb file from WSAD. I really think this is a Websphere issue or IBM Http Server issue.