<?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 - DB2: Details of Issues encountered in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131470#M92378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for replying, but I have gotten past that point myself. I have Alfresco on WAS running against DB2. This thread was more to check to see what sort of issues people are having while using Alfresco against DB2. Derek reposnded with one such issue. I'm looking to get as many gotchas as I can together so we know what to look out for as we move ahead with using it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thanks for your list of tasks, it does tally well with the steps I took.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Javeed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2007 20:37:40 GMT</pubDate>
    <dc:creator>jc</dc:creator>
    <dc:date>2007-11-02T20:37:40Z</dc:date>
    <item>
      <title>Alfresco - DB2: Details of Issues encountered</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131466#M92374</link>
      <description>Could the Alfresco team (or anyone else who has looked into this) please share the specifics of what issues were encountered when configuring Alfresco to use DB2. I learned that one problem was with respect to user locks, but was looking for an exhaustive list (if there is one).Reason is we are embr</description>
      <pubDate>Tue, 30 Oct 2007 15:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131466#M92374</guid>
      <dc:creator>jc</dc:creator>
      <dc:date>2007-10-30T15:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco - DB2: Details of Issues encountered</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131467#M92375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;During high concurrent load, look for lock escalation.&amp;nbsp; What version of Alfresco are we dealing with here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 00:26:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131467#M92375</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2007-11-02T00:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco - DB2: Details of Issues encountered</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131468#M92376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, we will keep an eye on that as we move on with this. We are planning to use ver 2.1 (community). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And please let me know what else if anything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 14:06:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131468#M92376</guid>
      <dc:creator>jc</dc:creator>
      <dc:date>2007-11-02T14:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco - DB2: Details of Issues encountered</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131469#M92377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have successfully configured Alfresco 2.1 community edition to run with DB2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my little how-to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all I had to configure the database connection (url, username/password, drivers,…) in the custom-repository.properties file, and set the correct hibernate dialect in custom-hibernate-dialect.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I put the needed db2 jars (db2jcc.jar, db2jcc_javax.jar,db2jcc_license_cu.jar) into the lib folder of the server instance (for example D:/JBOSS/server/alfresco/lib/).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to run jboss, in order to get the SQL script needed for creating all the tables. Hibernate automatically generates the script and puts it in the C:\Documents and Settings\user_name\Local Settings\Temp\Alfresco\ on windows (/tmp/Alfresco/ on linux).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pay attention: there is a problem in the generated script. An index name is too long - fk_attributes_n_acl (DB2 accepts up to 18 characters); I removed the last charater, so it became fk_attributes_n_ac - up to now still everything's fine &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to run the updated script in dbvisualizer, and came across another problem. DB2 complained that there were problems with table spaces. So I created a regular and a system temporary table space with 32K of page size. In a serious environment, you should ask your DBA to sreate it for you &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the SQL script went through without problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the tables are created, you should change custom-repository.properties file, by adding this line: db.schema.update=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This prevents hibernate to check and try to update the database everytime jboss is restarted (I think this is only needed when upgrading alfresco - correct me if I'm wrong).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 20:03:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131469#M92377</guid>
      <dc:creator>fiki</dc:creator>
      <dc:date>2007-11-02T20:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco - DB2: Details of Issues encountered</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131470#M92378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for replying, but I have gotten past that point myself. I have Alfresco on WAS running against DB2. This thread was more to check to see what sort of issues people are having while using Alfresco against DB2. Derek reposnded with one such issue. I'm looking to get as many gotchas as I can together so we know what to look out for as we move ahead with using it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thanks for your list of tasks, it does tally well with the steps I took.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Javeed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 20:37:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131470#M92378</guid>
      <dc:creator>jc</dc:creator>
      <dc:date>2007-11-02T20:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco - DB2: Details of Issues encountered</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131471#M92379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just wanted to add that the DB2 9.5 and Alfresco 2.1 work great. There is no problem with the index name length so you can allow Hibernate to create the schema for you. The only thing that needs to be done is to create the database with the 32K pagesize.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:25:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-db2-details-of-issues-encountered/m-p/131471#M92379</guid>
      <dc:creator>beb4ch</dc:creator>
      <dc:date>2008-06-25T14:25:37Z</dc:date>
    </item>
  </channel>
</rss>

