<?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: Cannot set dir.root in custom .properties file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114781#M80904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems that I have found the solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit the following files in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat/shared/classes/alfresco/extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– custom-db-and-data-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;remove the comment from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;value&amp;gt;classpath:alfresco/extension/custom-data-location.properties&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– custom-data-location.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This file must be created. Put the definition for dir.root in this file, e.g. dir.root=/opt/alfresco/data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the only line that I have put inside. No clue what other definitions can go in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally, I have found that some definitions are present in more than one file without clear indication what needs to go where (e.g. custom db connection parameters). I guess this is a case for learning by doing…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps someone else too!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Jun 2007 13:11:44 GMT</pubDate>
    <dc:creator>btr33</dc:creator>
    <dc:date>2007-06-16T13:11:44Z</dc:date>
    <item>
      <title>Cannot set dir.root in custom .properties file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114776#M80899</link>
      <description>I have followed the instructions available in the alfresco wiki to make use of custom configuration files in order to override the alfresco maintained configs.To set dir.root I have edited the file custom-repository.properties. However, this setting seems to have no effect as the dir.root is still p</description>
      <pubDate>Fri, 08 Jun 2007 12:00:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114776#M80899</guid>
      <dc:creator>btr33</dc:creator>
      <dc:date>2007-06-08T12:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set dir.root in custom .properties file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114777#M80900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have had the same problem. Find your "repository.properties" file, copy it in&amp;nbsp; "Tomcat 5.5\webapps\alfresco\WEB-INF\classes\alfresco" and fill it as you did for "custom-repository.properties"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if it is a good way but it works&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 12:50:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114777#M80900</guid>
      <dc:creator>dewi</dc:creator>
      <dc:date>2007-06-13T12:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set dir.root in custom .properties file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114778#M80901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've had this problem when running it from Eclipse: the dyrectory alf_data was created inside the eclipse dir!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the easiest solution (however not elegant) is to replace the entry with an absolute path (like /alf_data or c://alf_data)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 13:58:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114778#M80901</guid>
      <dc:creator>ale_carraro</dc:creator>
      <dc:date>2007-06-13T13:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set dir.root in custom .properties file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114779#M80902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are u sure that other properties in your custom-repository.properties file are really read?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried to have a custom-repository.properties file in the alfreso/extension folder but so far no success!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried different names: repository.properties, repository-custom.properties file cause in the following news &lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/community/newsletters/2006/04/" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/community/newsletters/2006/04/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;it is said that repository.properties should work…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My conclusion so far is that the extension mechanisms only work with spring context xml files and to override repository properties you have to override the bean 'repository-properties' as stated here &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Repository_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Repository_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone confirm this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 14:34:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114779#M80902</guid>
      <dc:creator>abrugger</dc:creator>
      <dc:date>2007-06-13T14:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set dir.root in custom .properties file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114780#M80903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You must reference your custom-repository.properties file in a "-context.xml" one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You will find exemples in alfresco/extension directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' '&lt;A href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;'&amp;gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="repository-properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="ignoreUnresolvablePlaceholders"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="locations"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:alfresco/repository.properties&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:alfresco/version.properties&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:alfresco/domain/transaction.properties&amp;lt;/value&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Override data location properties&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:alfresco/extension/custom-repository.properties&amp;lt;/value&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;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;/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;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;@dewi : modifying files in classes/alfresco is a bad idea -&amp;gt; a new Alfresco install (e.g. version upgrade) will overwrite your changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 14:52:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114780#M80903</guid>
      <dc:creator>cleseach</dc:creator>
      <dc:date>2007-06-13T14:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set dir.root in custom .properties file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114781#M80904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems that I have found the solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit the following files in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat/shared/classes/alfresco/extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– custom-db-and-data-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;remove the comment from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;value&amp;gt;classpath:alfresco/extension/custom-data-location.properties&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– custom-data-location.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This file must be created. Put the definition for dir.root in this file, e.g. dir.root=/opt/alfresco/data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the only line that I have put inside. No clue what other definitions can go in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally, I have found that some definitions are present in more than one file without clear indication what needs to go where (e.g. custom db connection parameters). I guess this is a case for learning by doing…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps someone else too!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jun 2007 13:11:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-set-dir-root-in-custom-properties-file/m-p/114781#M80904</guid>
      <dc:creator>btr33</dc:creator>
      <dc:date>2007-06-16T13:11:44Z</dc:date>
    </item>
  </channel>
</rss>

