Page 1 of 1

Apache Commons FileUpload 1.2.1 to 1.3.3 update

Posted: Thu Mar 08, 2018 6:25 pm
by Quentin
Hi,

I tried to upload a file size larger than 2 gb.

I've already change Upload max. size in Administration->Settings->GUI Settings to 10000.

But it doesn't works. And I think I found why.

Logicaldoc Community (7.7.3) use Apache Commons FileUpload 1.2.1 version. But in 1.3 version (you can see here : https://issues.apache.org/jira/browse/FILEUPLOAD-195) fix a bug about a file larger than 2 gb.

So do you know how I can use the 1.3 version of Apache Commons FileUpload ?

Thanks in advance

Re: Apache Commons FileUpload 1.2.1 to 1.3.3 update

Posted: Fri Mar 09, 2018 10:13 am
by agaspa
Hi Quentin,
thanks for reporting,
we found an issue in one of our classes: com.logicaldoc.web.UploadServlet
So you can try the patch linked here
http://www.logicaldoc.net/patch/7.7.5/p ... webapp.zip

1) Stop Tomcat or Logicaldoc service
2) Uncompress the attached file in folder C:\LogicalDOC\tomcat\webapps\ROOT\WEB-INF\classes
3) Restart LogicalDOC

Note: we also replaced commons-fileupload jar with version 1.2.2

Re: Apache Commons FileUpload 1.2.1 to 1.3.3 update

Posted: Fri Mar 09, 2018 11:18 am
by Quentin
It works :)

Thank you for your patch !