Apache Commons FileUpload 1.2.1 to 1.3.3 update

LogicalDOC has many interesting features, but requires some configuration process to show its full potential.

Moderator: car031

Quentin
Posts: 5
Joined: Thu Mar 08, 2018 6:16 pm

Apache Commons FileUpload 1.2.1 to 1.3.3 update

Thu Mar 08, 2018 6:25 pm

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
agaspa
Posts: 696
Joined: Tue Apr 20, 2010 8:24 am

Re: Apache Commons FileUpload 1.2.1 to 1.3.3 update

Fri Mar 09, 2018 10:13 am

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
Quentin
Posts: 5
Joined: Thu Mar 08, 2018 6:16 pm

Re: Apache Commons FileUpload 1.2.1 to 1.3.3 update

Fri Mar 09, 2018 11:18 am

It works :)

Thank you for your patch !

Return to “Configuration”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest