CMIS error while connecting to Filenet

Tuesday, July 8, 2014

Facing an issue while using the CMIS service to upload files. Filenet is the Content management system in use here. All files below 20KB are getting uploaded to Filenet but everything above 20KB fails and we get the following error


Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot access "http://ift.tt/1lRE81l": java.io.IOException: Error writing request body to server at org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker.invoke(DefaultHttpInvoker.java:228) at org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker.invokePOST(DefaultHttpInvoker.java:63) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:631) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createDocument(ObjectServiceImpl.java:120) at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:1028) at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:75) at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:449) at com.botw.filenet.cmis.Test.createDocument(Test.java:163) at com.botw.filenet.cmis.Test.main(Test.java:51)


The code I am using is running fine against an Alfresco repository, I am able to upload files upto 70MB in size. What could be missing here?







http://ift.tt/1pXEawY