Incident #1348
closedWorkspace: Uploading file and errors
100%
Description
I'm trying to upload a file (1.46 GB) on the workspace and I'm getting an error. Unfortunately, the error message I get is almost useless ... what shall I do?
I would suggest to improve the error message, it should be a bit more informative and explain to the user what he/she should do (e.g. retry in a while).
Files
Updated by Roberto Cirillo over 9 years ago
- File imarineportal.log imarineportal.log added
From portal log I see an exception when the file is copied in the Portal local folder (not in mongodb):
org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
I'm going to investigate about this exception. In attachment the logs of iMarine Portal
Updated by Roberto Cirillo over 9 years ago
I believe I've discovered something that may be related to this problem: https://issues.apache.org/jira/browse/FILEUPLOAD-143
The problem seems to be related to the commons-fileupload library that is a dependency of workspace-uploader component.
If it's possible, I suggest to update the library to a more recent version. Now we have the version 1.2.1
Updated by Francesco Mangiacrapa over 9 years ago
Currently, the workspace-uploader component is using commons-fileupload library at 1.2.1 because is managed in org.gcube.distribution:maven-portal-bom.
Several versions were released of this libray after 1.2.1. The last version is FileUpload 1.3.1 - 7 February 2014 see: https://commons.apache.org/proper/commons-fileupload/index.html
We are using FileUpload 1.2.1 - 18 January 2008...
@massimiliano.assante@isti.cnr.it is it possible to update this library? If not, I can update commons-fileupload dependency into workspace-uploader removing inherits from maven-portal-bom and adding a specific dependency (eg. 1.3.1) only for worskpace-uploader
Updated by Francesco Mangiacrapa over 9 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
In dev enviroment, the library commons-fileupload has been updated (to the org.gcube.distribution:maven-portal-bom) with the last available (v.1.3.1) and it should fix the issue.
This incident will be closed after performing update and test to pre-production
Updated by Francesco Mangiacrapa over 9 years ago
- Status changed from In Progress to Resolved
Updated by Francesco Mangiacrapa over 9 years ago
The new common-file upload library (v.1.3.1) will be added in production enviroment to the next release (gCube 3.10) with new build to maven-portal-bom.
I'm going to delete relation with #1400 (so gCube Release 3.9) to link it then with gCube Release 3.10
Updated by Francesco Mangiacrapa over 9 years ago
- Status changed from Resolved to Closed