<?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: alfresco portlet + postgreSQL in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78151#M51808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the problem is that db tables are not created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to deploy again with no problem (as you started first with HSQL),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you should delete all the alf_data folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, you modify one parameter of the db in your custom-db-connection.properties as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;db.schema.update=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can remove it later.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 14:41:41 GMT</pubDate>
    <dc:creator>jmliege</dc:creator>
    <dc:date>2007-02-23T14:41:41Z</dc:date>
    <item>
      <title>alfresco portlet + postgreSQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78150#M51807</link>
      <description>Hello,I have installed liferay portal (liferay-portal-tomcat-jdk5-4.2.1.zip) and the Alfresco portlet (liferay-portal-alfresco-4.2.1.war) both download on the liferay website. My OS is Windows XP and my application server is tomcat. The alfresco portlet works fine but it uses HSQL db and I would lik</description>
      <pubDate>Fri, 23 Feb 2007 08:51:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78150#M51807</guid>
      <dc:creator>vincent</dc:creator>
      <dc:date>2007-02-23T08:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: alfresco portlet + postgreSQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78151#M51808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the problem is that db tables are not created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to deploy again with no problem (as you started first with HSQL),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you should delete all the alf_data folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, you modify one parameter of the db in your custom-db-connection.properties as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;db.schema.update=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can remove it later.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 14:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78151#M51808</guid>
      <dc:creator>jmliege</dc:creator>
      <dc:date>2007-02-23T14:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: alfresco portlet + postgreSQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78152#M51809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your reply JMLiege.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try your solution today, and I will post the result.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 08:31:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78152#M51809</guid>
      <dc:creator>vincent</dc:creator>
      <dc:date>2007-02-26T08:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: alfresco portlet + postgreSQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78153#M51810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the solution to install the alfresco portlet on postgres.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have to :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unpack the liferay-portal-alfresco-4.2.1.war:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;delete the 3 files : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco\WEB-INF\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;- custom-db-connection.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- custom-hibernate-dialect.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and modify the file : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco\WEB-INF\classes\alfresco\repository.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and put in the following values : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;db.schema.update=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.postgresql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.name=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://localhost/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.username=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.password=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.pool.initial=10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.pool.max=20&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Repack the all files in alfresco.war and deploy this archive with the autodeploy tool of liferay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(if you installed the portlet before you have to remove the alf_data directory)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 13:03:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78153#M51810</guid>
      <dc:creator>vincent</dc:creator>
      <dc:date>2007-02-26T13:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: alfresco portlet + postgreSQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78154#M51811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact, you should keep those files and modify them in order to do the same, as it is recommended to avoid changes in the alfresco config files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the main goal of such extension file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy to see that the 'db.schema.update=true' helped you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 08:11:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-portlet-postgresql/m-p/78154#M51811</guid>
      <dc:creator>jmliege</dc:creator>
      <dc:date>2007-02-27T08:11:19Z</dc:date>
    </item>
  </channel>
</rss>

