Hi,
I want to store the employee information content less object format. So I have created a sub type of dl:dataListType instead of cm:content and then I am storing the employee metadata in that datalist.
Also using CMIS code to populate this employee information. I am receiving the data in csv format and it contains more than 2,00,000 rows of information.
A standlone java code is written using CMIS to insert values on datalist but it is getting failed after inserting 1500 rows. Is the datalist is right approach to store more data?
Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot access "http://localhost:9090/alfresco/api/-default-/public/cmis/versions/1.1/atom/children?id=dd2dcc76-5c1d-4dee-a928-7d3eb755969f": Unexpected end of file from server
at org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker.invoke(DefaultHttpInvoker.java:233)
at org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker.invokePOST(DefaultHttpInvoker.java:68)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:713)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createDocument(ObjectServiceImpl.java:122)
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:1197)
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:1317)
at com.post.adm.job.UpdateEmployeeDataList.addItem(UpdateEmployeeDataList.java:175)
at com.post.adm.job.UpdateEmployeeDataList.updateCSV(UpdateEmployeeDataList.java:115)
at com.post.adm.job.UpdateEmployeeDataList.main(UpdateEmployeeDataList.java:59)
Caused by: java.net.SocketException: Unexpected end of file from server
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:862)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1604)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker.invoke(DefaultHttpInvoker.java:211)
... 8 more
Thanks in advance,
Sandhya