<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Datalist to create content less information using CMIS in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109508#M30694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not always 1500th row sometimes it is failing at 200th row and sometimes it create nearly 2500 objects. I doubt is there anything to do with CMIS Session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2019 15:06:10 GMT</pubDate>
    <dc:creator>sandhya_nair</dc:creator>
    <dc:date>2019-07-15T15:06:10Z</dc:date>
    <item>
      <title>Datalist to create content less information using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109506#M30692</link>
      <description>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</description>
      <pubDate>Mon, 15 Jul 2019 11:48:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109506#M30692</guid>
      <dc:creator>sandhya_nair</dc:creator>
      <dc:date>2019-07-15T11:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Datalist to create content less information using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109507#M30693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as approach as concerned, there should not be any problem using dataList for this use case.&amp;nbsp;A datalist node would be created for every row which you have in your csv file. It is same as creating a cm:content type content less object having metadata.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt if the issue is due to the csv file itself as the error says '&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Unexpected end of file from server&lt;/SPAN&gt;'. Not i am not 100 % sure. If you know the 1500th row, create a new csv and add next available rows to the new csv file and run the script and see if you get the same error.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 13:55:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109507#M30693</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-07-15T13:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Datalist to create content less information using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109508#M30694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not always 1500th row sometimes it is failing at 200th row and sometimes it create nearly 2500 objects. I doubt is there anything to do with CMIS Session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 15:06:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109508#M30694</guid>
      <dc:creator>sandhya_nair</dc:creator>
      <dc:date>2019-07-15T15:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Datalist to create content less information using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109509#M30695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems right, it could be session issue as well.&amp;nbsp;You could add a log by catching the exception where the above given exception (&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;CmisConnectionException&lt;/SPAN&gt;) is thrown to check if you session is still valid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are you getting the session? And which version of alfresco you are using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of getting the session in correct way can be found here:&amp;nbsp;&lt;A class="link-titled" href="https://docs.alfresco.com/6.1/references/dev-integration-points-java-clients.html" title="https://docs.alfresco.com/6.1/references/dev-integration-points-java-clients.html" rel="nofollow noopener noreferrer"&gt;Java Clients | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 15:51:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109509#M30695</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-07-15T15:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Datalist to create content less information using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109510#M30696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the code used to get session. Alfresco version 6.1 Enterprise Edition SDK. One more thing is that alfresco content server is going down as well sometimes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting error at the line&lt;/P&gt;&lt;P&gt;session.createItem(properties, datalistId);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have created 5000+ rows in datalist. But when trying to open that datalist in datalist page or document library I am getting the socket time out error and Java Heap space issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; public Session getSession(String username, String pwd) {&lt;BR /&gt; SessionFactory sessionFactory = SessionFactoryImpl.newInstance();&lt;BR /&gt; Map&amp;lt;String, String&amp;gt; parameters = new HashMap&amp;lt;String, String&amp;gt;();&lt;BR /&gt; parameters.put(SessionParameter.USER, username);&lt;BR /&gt; parameters.put(SessionParameter.PASSWORD, pwd);&lt;BR /&gt; parameters.put(SessionParameter.ATOMPUB_URL,&lt;BR /&gt; "http://localhost:8080/alfresco/api/-default-/cmis/versions/1.1/atom");&lt;BR /&gt; parameters.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());&lt;BR /&gt; parameters.put(SessionParameter.COMPRESSION, "true");&lt;BR /&gt; parameters.put(SessionParameter.CACHE_TTL_OBJECTS, "0");&lt;/P&gt;&lt;P&gt;// If there is only one repository exposed (e.g. Alfresco), these&lt;BR /&gt; // lines will help detect it and its ID&lt;BR /&gt; List&amp;lt;Repository&amp;gt; repositories = sessionFactory.getRepositories(parameters);&lt;BR /&gt; Repository alfrescoRepository = null;&lt;BR /&gt; if (repositories != null &amp;amp;&amp;amp; repositories.size() &amp;gt; 0) {&lt;BR /&gt; alfrescoRepository = repositories.get(0);&lt;BR /&gt; } else {&lt;BR /&gt; throw new CmisConnectionException(&lt;BR /&gt; "Could not connect to the Alfresco Server, no repository found!");&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// Create a new session with the Alfresco repository&lt;BR /&gt; Session session = alfrescoRepository.createSession();&lt;/P&gt;&lt;P&gt;return session;&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 16:06:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109510#M30696</guid>
      <dc:creator>sandhya_nair</dc:creator>
      <dc:date>2019-07-15T16:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Datalist to create content less information using CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109511#M30697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code looks okay. When i trying locally, it get the session as well. Looks like inline issue is "&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Java Heap space error&lt;/SPAN&gt;" which could be causing server crash. Trying setting appropriate heap memory as per your configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer here :&amp;nbsp;&lt;A href="https://docs.alfresco.com/6.1/concepts/jvm-tuning.html" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.1/concepts/jvm-tuning.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2019 18:46:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/datalist-to-create-content-less-information-using-cmis/m-p/109511#M30697</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-07-15T18:46:44Z</dc:date>
    </item>
  </channel>
</rss>

