Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First upload is interrupted by a server error for large files (ie > 5MB) #16

Open
cyrilmhansen opened this issue Oct 9, 2015 · 0 comments

Comments

@cyrilmhansen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant