<?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 Export tools credentials in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/export-tools-credentials/m-p/44647#M24637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi i am trying to use the export tools to do a full backup of the repository .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco&amp;nbsp; is deployed into JBoss 4.0.4GA , with Jboss Portal 2.2.1 . I am accessing the portal by https through Apache /ModJK .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The server is using Sun JDK 1.5.0_07 and is a Fedora Core 5 . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Authentification is done via our OpenLDAP server , and works fine with the web client . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a shell script to add all the jars from WEB-INF/lib , the properties and xml files in WEB-INF/classes ,&amp;nbsp; the mysql connector and Log4J .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The conf/alfresco/extension/*.properties files defining custom data location and db access are also in the classpath . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The resulting java command is : &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; java -cp $JAVA_CLASSPATH org.alfresco.tools.Export -user *** -pwd *** -s workspace://SpacesStore -d /tmp -zip repo &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following error : &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Alfresco Repository Exporter&lt;BR /&gt;log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.XmlBeanDefinitionReader).&lt;BR /&gt;log4j:WARN Please initialize the log4j system properly.&lt;BR /&gt;The following error has occurred:&lt;BR /&gt;Bad credentials presented&lt;BR /&gt;org.alfresco.repo.security.authentication.AuthenticationException: Bad credentials presented&lt;BR /&gt;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume the exporter does not find the repository , but other than providing the properties to the classpath , i don't see how else i can define the repo location . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked at the various guides on this matter , but they don't mention this error , and are not mentionning other auth mechanisms beside the alfresco one . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i make this work ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated , because i really need this functionnality . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a side note , are incremental backups supported , and are those tools the best way to backup the repository ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance , &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Romain .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2006 10:17:31 GMT</pubDate>
    <dc:creator>rguinot</dc:creator>
    <dc:date>2006-09-15T10:17:31Z</dc:date>
    <item>
      <title>Export tools credentials</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-tools-credentials/m-p/44647#M24637</link>
      <description>Hi i am trying to use the export tools to do a full backup of the repository .Alfresco&amp;nbsp; is deployed into JBoss 4.0.4GA , with Jboss Portal 2.2.1 . I am accessing the portal by https through Apache /ModJK .The server is using Sun JDK 1.5.0_07 and is a Fedora Core 5 . Authentification is done via our</description>
      <pubDate>Fri, 15 Sep 2006 10:17:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-tools-credentials/m-p/44647#M24637</guid>
      <dc:creator>rguinot</dc:creator>
      <dc:date>2006-09-15T10:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export tools credentials</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/export-tools-credentials/m-p/44648#M24638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;UPDATE : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to identify the problem ,&amp;nbsp; . In my case , the Import / Export tools seem to ignore the extensions in alfresco/extensions even though they are present on the classpath . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore ,The LDAP auth i set up for the web client was not loaded and auth failed . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To make it work , i had to put the definitions of authenticationComponentImpl , alfDaoImpl , and authorityService usually defined in alfresco/extension/ldap-authentication-context.xml directly in WEB-INF/classes/authentication-services-context.xml inside the WAR . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The LDAP is now used and the export is running …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone can suggest why the extensions are not picked by the tools , i'm interested …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Romain .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 13:29:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/export-tools-credentials/m-p/44648#M24638</guid>
      <dc:creator>rguinot</dc:creator>
      <dc:date>2006-09-15T13:29:41Z</dc:date>
    </item>
  </channel>
</rss>

