<?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 JCRClient not using the proper DB driver in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jcrclient-not-using-the-proper-db-driver/m-p/181422#M134552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm having this error message when trying to get that SDK example run:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;14:22:26,232 User:System WARN&amp;nbsp; [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one&lt;BR /&gt;14:22:27,993 User:System INFO&amp;nbsp; [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.&lt;BR /&gt;14:23:28,125 User:System ERROR [domain.schema.SchemaBootstrap] Schema auto-update failed&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: A previous schema upgrade failed.&amp;nbsp; Revert to the original database before attempting the upgrade again.&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;my custom-repository is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# MySQL connection (This is default and requires mysql-connector-java-3.1.12-bin.jar, which ships with the Alfresco server)&lt;BR /&gt;#&lt;BR /&gt;#db.driver=org.gjt.mm.mysql.Driver&lt;BR /&gt;#db.url=jdbc:mysql://localhost/alfresco&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Oracle connection (requires ojdbc14_g.jar or equivalent jar in shared libraries location)&lt;BR /&gt;#&lt;BR /&gt;db.driver=oracle.jdbc.OracleDriver&lt;BR /&gt;db.name=alfresco&lt;BR /&gt;db.url=jdbc:oracle:thin:@10.0.1.163:1521:oraclexp&lt;BR /&gt;db.username=alfresco&lt;BR /&gt;db.password=alfresco&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and also the hibernate file is properly configured, i can run Alfresco normally, as you can see in the 1st shot at runtime it tries to use a different DB driver, resulting into an error. The Oracle dirvers are into /opt/alfresco/tomcat/common/lib and also imported into the ecplispe JRE…i can run all the other samples.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All help appreciated,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Francesco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2008 12:27:28 GMT</pubDate>
    <dc:creator>sisao</dc:creator>
    <dc:date>2008-09-25T12:27:28Z</dc:date>
    <item>
      <title>JCRClient not using the proper DB driver</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcrclient-not-using-the-proper-db-driver/m-p/181422#M134552</link>
      <description>Hi,i'm having this error message when trying to get that SDK example run:14:22:26,232 User&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ystem WARN&amp;nbsp; [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one14:22:27,993 User&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ystem INFO&amp;nbsp; [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernat</description>
      <pubDate>Thu, 25 Sep 2008 12:27:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcrclient-not-using-the-proper-db-driver/m-p/181422#M134552</guid>
      <dc:creator>sisao</dc:creator>
      <dc:date>2008-09-25T12:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: JCRClient not using the proper DB driver</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jcrclient-not-using-the-proper-db-driver/m-p/181423#M134553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi sisao,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also faced the same problem, so what the simple solution i got is : first remove the database and then create it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remove the database:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Alfresco\extras\databases\mysql\db_remove.bat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create the database :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Alfresco\extras\databases\mysql\db_setup.bat&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and you will get rid of this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ALL THE BEST&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>Fri, 31 Oct 2008 11:41:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jcrclient-not-using-the-proper-db-driver/m-p/181423#M134553</guid>
      <dc:creator>krishherein</dc:creator>
      <dc:date>2008-10-31T11:41:31Z</dc:date>
    </item>
  </channel>
</rss>

