<?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: Problem executing JCR within Alfresco.war in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49115#M28237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry but The example of Alfresco SDK JCRSamples or even the otherone FirstJCRClient isn't clear enough. It is clear that I must copy the configuration files : custom-repository.properties and custom-repository-context.xml to the&amp;nbsp; directory classpath:/alfresco/extension, but how do i execute the class file FirstJCRClient.class???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I integrate it to the web application alfresco!!!!! or to another web application???? &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2006 14:40:00 GMT</pubDate>
    <dc:creator>elmayan</dc:creator>
    <dc:date>2006-12-19T14:40:00Z</dc:date>
    <item>
      <title>Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49113#M28235</link>
      <description>Hy I am newly trying to learn on how to use Alfresco Repository via a JCR client,So I created a servlet based on the SimpleExample.javaof the Alfresco SDK&amp;nbsp; 1.4 JCRSamples project, and I integrated it into the Alfresco application of the Tomcat server, in the webapps/alfresco… (I am using Alfresco Co</description>
      <pubDate>Tue, 19 Dec 2006 10:12:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49113#M28235</guid>
      <dc:creator>elmayan</dc:creator>
      <dc:date>2006-12-19T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49114#M28236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take an eye on this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_SDK" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_SDK&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 10:46:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49114#M28236</guid>
      <dc:creator>ribz33</dc:creator>
      <dc:date>2006-12-19T10:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49115#M28237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry but The example of Alfresco SDK JCRSamples or even the otherone FirstJCRClient isn't clear enough. It is clear that I must copy the configuration files : custom-repository.properties and custom-repository-context.xml to the&amp;nbsp; directory classpath:/alfresco/extension, but how do i execute the class file FirstJCRClient.class???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I integrate it to the web application alfresco!!!!! or to another web application???? &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 14:40:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49115#M28237</guid>
      <dc:creator>elmayan</dc:creator>
      <dc:date>2006-12-19T14:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49116#M28238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sdk use an embedded alfresco … that mean you dont need to use any war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To run example just execute "main" classes in your eclipse. If you have well import sdk in your eclipse that would work fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 15:09:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49116#M28238</guid>
      <dc:creator>ribz33</dc:creator>
      <dc:date>2006-12-19T15:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49117#M28239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thank you for your advises mister ribz33, but when I execute the any SDK examples, I obtain the error below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception in thread "main" javax.jcr.LoginException: Alfresco Repository failed to authenticate credentials: Bad credentials presented: Bad credentials presented&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:213)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:238)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.sample.jcr.SimpleExample.main(SimpleExample.java:63)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.alfresco.repo.security.authentication.AuthenticationException: Bad credentials presented&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.AuthenticationComponentImpl.authenticate(AuthenticationComponentImpl.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:104)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.reflect.Method.invoke(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do I get this error???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did see in this forum that a lot of other persons had the same issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it a problem due to Serialization????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :wink:&amp;nbsp; anyway thanks again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 12:31:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49117#M28239</guid>
      <dc:creator>elmayan</dc:creator>
      <dc:date>2006-12-20T12:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49118#M28240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bad credentials means that alfresco don't succeed to authenticate you. So :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Look if login/pwd is correct (default: admin/admin)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or more probably :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Look if you had give good path for alf_data and well define database access in custom-repository.properties of all examples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(you need to uncomment db.driver and db.url for your database)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pierre H.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 13:20:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49118#M28240</guid>
      <dc:creator>ribz33</dc:creator>
      <dc:date>2006-12-20T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49119#M28241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you please tell me how did u manage to execute code for acessing repository within alfresco.war?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bindiya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 23:49:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49119#M28241</guid>
      <dc:creator>bindiya</dc:creator>
      <dc:date>2007-02-08T23:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing JCR within Alfresco.war</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49120#M28242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you please tell me how did u manage to execute code for acessing repository within alfresco.war?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Bindiya&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What have you tried so far?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Feb 2007 06:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-executing-jcr-within-alfresco-war/m-p/49120#M28242</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2007-02-10T06:31:00Z</dc:date>
    </item>
  </channel>
</rss>

