gwtupload
gwtupload copied to clipboard
First upload is interrupted by a server error for large files (ie > 5MB)
I use Tomcat 8 with Apache and in a reverse proxy configuration.
When I tried to upgrade GWT to 2.7.0 with corresponding version of GWT Upload, I got many errors with large file uploads (> 5MB), especially with Firefox.
I went back to GWT 2.6.0 and corresponding GWT Upload version, and I always get an error for the first upload after application restart :
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
I wonder if this issue has something to do with servlet 3.0 API and tomcat internal support of multipart requests. The max file size parameter does not seem to be recognized for this first upload. I tried to use a custom servlet by inheritance with annotations to change the max file / max request size, but this does not change the behavior.
Other users have reported a similar problem in the old Google code forum. I understand the problem may be configuration related, but maybe the documentation could be extended to include typical servlet 3.0 containers and reverse proxies configuration ?
Thank you in advance