"Content too big" when uploading file using CMIS (Atom binding)
Hi,
I'm trying to upload a quite large file (4493949076 bytes) to a given folder o Nuxeo (5.9.3) using Apache Chemistry (chemistry-opencmis-client-impl 0.10.0) but I get a org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException: Content too big
exception when calling Folder.createDocument
.
I tried to upload the same file directly using Nuxeo web UI successfully. The problem seems to be related to CMIS.
Is there any configuration on Nuxeo?
I tried How to change size limit for uploaded files, to no avail.
Edit (2015-07-17)
The largest file size we tried and sucessfully uploaded was 4060218219 bytes.
This can be configured by providing appropriate configuration parameters to the following extension point: http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform-6.0/viewComponent/org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager
Example:
<extension point="factory" target="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactoryManager">
<factory class="org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory"/>
<parameter name="service.maxContentSize">4294967296</parameter>
</extension>