Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Broken pipe when uploading GB-size files

843841Apr 11 2005
Hi,

I need to use HTTP (instead of FTP) to upload/download GB-size (and possibly TB-size) files. First I am playing with a servlet that supports HTTP POST multipart in TOMCAT557. The max size limit is unlimited -1. It is fine to upload files about 1.5GB. However, when uploading files with sizes about 3GB and 5GB, I got "Broken pipe" errors.

I am wondering whether it could be the limit of HTTP, HTTP POST, Tomcat or Java? How about using PUT like in WebDAV? Any size limit?

Exception in thread "main" java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
...

Thanks a bunch!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2005
Added on Apr 11 2005
0 comments
175 views