<?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: when downloading a document from repository getting internal error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292219#M245349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used many jar&lt;/P&gt;&lt;P&gt;alfresco-web-service-client-4.2.d.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-client-api-0.13.0.jar,&lt;/P&gt;&lt;P&gt;chemistry-opencmis-client-bindings-0.13.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-client-impl-0.13.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-commons-api-0.13.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-commons-impl-0.14.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-osgi-client-1.0.0.jar&lt;/P&gt;&lt;P&gt;commons-httpclient-3.1.jar,httpclient-4.2.jar&lt;/P&gt;&lt;P&gt;stax2-api.jar,woodstox-core-5.0.3.jar,wss4j-2.1.jar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2016 05:36:10 GMT</pubDate>
    <dc:creator>nareshvy</dc:creator>
    <dc:date>2016-12-02T05:36:10Z</dc:date>
    <item>
      <title>when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292212#M245342</link>
      <description>Hi, Im Using alfresco community 5&amp;nbsp;my project config are : java 8,wildfly 8 ,so will cmis will work on it, because i was trying since two days .i unable success on download any specific document . here follow some my codeString fileName = "abcd.docx"; String authURI = "http://127.0.0.1:8090/alfresco/</description>
      <pubDate>Thu, 01 Dec 2016 13:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292212#M245342</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-01T13:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292213#M245343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe your code will not work because of the url you are creating is not right.&lt;/P&gt;&lt;P&gt;Please, take a look at this one, which is the right one, generated by Share when you click the Download action:&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;http://localhost:8081/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/60bcd2b9-73fe-4f7a-addc-27c449d4&lt;/A&gt;caca/Especifica%c3%a7%c3%a3o_T%c3%a9cnica_OS207.pdf?a=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One idea is to try to find in Share's source code the part responsible for generating the url.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 01:47:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292213#M245343</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2016-12-02T01:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292214#M245344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use&amp;nbsp;apache chemistry openCMIS library?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 02:57:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292214#M245344</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T02:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292215#M245345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was Tried that also it getting ContentServiceSoapBindingStub&amp;nbsp;getContentService error ... please send the link example program for download&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 03:35:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292215#M245345</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T03:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292216#M245346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you doug.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;String url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:8090/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/a22bb988-84e1-4097-9cdb-ef606da54ba2/abcd.txt?a=true" rel="nofollow noopener noreferrer" target="_blank"&gt;http://127.0.0.1:8090/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/a22bb988-84e1-4097-9cdb-ef606da54ba2/abcd.txt?a=true&lt;/A&gt;&lt;SPAN&gt;"; &amp;nbsp;eventhough its getting&amp;nbsp;401 Unauthorized ...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if that workspace contains same filename then how can i differentiate. like folder or directories&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 03:46:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292216#M245346</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T03:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292217#M245347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;import org.apache.chemistry.opencmis.client.api.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public Session getSession()&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&lt;SPAN&gt; String serverUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;BR /&gt; String userName = "admin";&lt;BR /&gt; String password = "admin";&lt;BR /&gt; &lt;BR /&gt; SessionFactory sessionFactory = SessionFactoryImpl.newInstance();&lt;BR /&gt; Map&amp;lt;String, String&amp;gt; params = new HashMap&amp;lt;String, String&amp;gt;();&lt;BR /&gt; params.put(SessionParameter.USER, userName);&lt;BR /&gt; params.put(SessionParameter.PASSWORD, password);&lt;BR /&gt; params.put(SessionParameter.ATOMPUB_URL, serverUrl);&lt;BR /&gt; params.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());&lt;BR /&gt; params.put(SessionParameter.OBJECT_FACTORY_CLASS,&lt;BR /&gt; "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");&lt;BR /&gt; List&amp;lt;Repository&amp;gt; repos = sessionFactory.getRepositories(params);&lt;BR /&gt; if (repos.isEmpty()) {&lt;BR /&gt; throw new RuntimeException("Server has no repositories!");&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;return repos.get(0).createSession();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public void downloadCotent()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Session session = getSession();&lt;/P&gt;&lt;P&gt;try {&lt;BR /&gt; Document document = (Document)session.getObjectByPath( "/sites/testuserone/documentLibrary/Test") ;&lt;BR /&gt; InputStream stream = document.getContentStream().getStream();&lt;BR /&gt; ....&lt;BR /&gt; &lt;BR /&gt; } catch (Exception e) {&lt;BR /&gt; // TODO Auto-generated catch block&lt;BR /&gt; e.printStackTrace();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 04:54:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292217#M245347</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292218#M245348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but&amp;nbsp;&lt;/P&gt;&lt;P&gt;it showing&amp;nbsp;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/TransientCmisObject exception&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 05:18:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292218#M245348</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T05:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292219#M245349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used many jar&lt;/P&gt;&lt;P&gt;alfresco-web-service-client-4.2.d.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-client-api-0.13.0.jar,&lt;/P&gt;&lt;P&gt;chemistry-opencmis-client-bindings-0.13.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-client-impl-0.13.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-commons-api-0.13.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-commons-impl-0.14.0.jar&lt;/P&gt;&lt;P&gt;chemistry-opencmis-osgi-client-1.0.0.jar&lt;/P&gt;&lt;P&gt;commons-httpclient-3.1.jar,httpclient-4.2.jar&lt;/P&gt;&lt;P&gt;stax2-api.jar,woodstox-core-5.0.3.jar,wss4j-2.1.jar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 05:36:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292219#M245349</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T05:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292220#M245350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use&amp;nbsp;maven ,opencmis version&amp;nbsp;Release 1.0.0&lt;/P&gt;&lt;P&gt;You can download 1.0.0 here &amp;nbsp;&lt;A class="link-titled" href="http://chemistry.apache.org/java/download.html" title="http://chemistry.apache.org/java/download.html" rel="nofollow noopener noreferrer"&gt;Apache Chemistry - OpenCMIS Downloads&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 06:10:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292220#M245350</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T06:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292221#M245351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you kz, i am using in &amp;nbsp;normal java web project .i download&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;chemistry-opencmis-osgi-client-1.0.0.jar from&amp;nbsp;&lt;SPAN&gt; &lt;A class="link-titled" href="http://chemistry.apache.org/java/download.html" title="http://chemistry.apache.org/java/download.html" rel="nofollow noopener noreferrer"&gt;Apache Chemistry - OpenCMIS Downloads&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 06:23:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292221#M245351</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T06:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292222#M245352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no use , it also getting same issue&amp;nbsp;org/apache/chemistry/opencmis/client/api/TransientCmisObject&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 07:07:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292222#M245352</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292223#M245353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which version of &amp;nbsp;alfresco-opencmis-extension are you using ,TransientCmisObject is not used any more. You need to use the latest 1.0 version of&amp;nbsp;&lt;SPAN&gt;alfresco-opencmis-extension&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 07:41:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292223#M245353</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T07:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292224#M245354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can try to remove&lt;/P&gt;&lt;P&gt;params.put(SessionParameter.OBJECT_FACTORY_CLASS,&lt;BR /&gt; "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");&lt;/P&gt;&lt;P&gt;from my exmple code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 07:44:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292224#M245354</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T07:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292225#M245355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you, now i getting input stream object &amp;nbsp;but how to send browser for download the stream oject&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 08:45:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292225#M245355</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T08:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292226#M245356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way is to download the content &amp;nbsp;into&amp;nbsp;a temp folder under real path&amp;nbsp;your webapp .&lt;/P&gt;&lt;P&gt;and redirect your request to that file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 09:05:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292226#M245356</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-12-02T09:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: when downloading a document from repository getting internal error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292227#M245357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am getting like this&amp;nbsp;&lt;A class="link-titled" href="http://127.0.01:8090/alfresco/api/-default-/public/cmis/versions/1.1/atom/content/vRegCoSS-DAM.docx?id=067b6445-2a64-4b5c-9dd5-8194791f4737%3B1.0" title="http://127.0.01:8090/alfresco/api/-default-/public/cmis/versions/1.1/atom/content/vRegCoSS-DAM.docx?id=067b6445-2a64-4b5c-9dd5-8194791f4737%3B1.0" rel="nofollow noopener noreferrer"&gt;http://127.0.01:8090/alfresco/api/-default-/public/cmis/versions/1.1/atom/content/vRegCoSS-DAM.docx?id=067b6445-2a64-4b5…&lt;/A&gt;&amp;nbsp; please send the sample code for redirecting..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 09:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/when-downloading-a-document-from-repository-getting-internal/m-p/292227#M245357</guid>
      <dc:creator>nareshvy</dc:creator>
      <dc:date>2016-12-02T09:15:37Z</dc:date>
    </item>
  </channel>
</rss>

