learn java
The moose likes Websphere and the fly likes WAS 4.0.6 or IHS issue? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 4.0.6 or IHS issue?" Watch "WAS 4.0.6 or IHS issue?" New topic

WAS 4.0.6 or IHS issue?

Sripathi Krishnamurthy
Ranch Hand

Joined: Mar 07, 2005
Posts: 232
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: WAS 4.0.6 or IHS issue?