<?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: HibernateException: Hibernate Dialect must be explicitly set in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231221#M184351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What have you put into your alfresco-global.properties ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2010 14:45:52 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-01-19T14:45:52Z</dc:date>
    <item>
      <title>HibernateException: Hibernate Dialect must be explicitly set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231220#M184350</link>
      <description>I'm having a problem with the Alfresco EE 3.2 trial installation.&amp;nbsp; Followed the installation instructions, but when I try start the Alfresco with the alf_start.bat script, tomcat starts but then displays errors:any suggestions?19.01.2010 14:57:26 org.apache.catalina.core.ApplicationContext logINFO:</description>
      <pubDate>Tue, 19 Jan 2010 14:29:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231220#M184350</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-01-19T14:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: HibernateException: Hibernate Dialect must be explicitly set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231221#M184351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What have you put into your alfresco-global.properties ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 14:45:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231221#M184351</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-01-19T14:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: HibernateException: Hibernate Dialect must be explicitly set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231222#M184352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I hadn't altered it.&amp;nbsp; It is the default from the installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Sample custom content and index data location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dir.root=C:/Alfresco/alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Sample database connection properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.name=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.host=localhost&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.port=3306&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# External locations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ooo.exe=C:/Alfresco/&lt;/SPAN&gt;&lt;A href="http://OpenOffice.org/program/soffice" rel="nofollow noopener noreferrer"&gt;OpenOffice.org/program/soffice&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;ooo.user=C:/Alfresco/alf_data/oouser&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;img.root=C:/Alfresco/ImageMagick&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;swf.exe=C:/Alfresco/bin/pdf2swf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Initial admin password&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco_user_store.adminpassword=11a01c4a0f2f228796c93fa0ca1a634d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# MySQL connection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 15:02:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231222#M184352</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-01-19T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: HibernateException: Hibernate Dialect must be explicitly set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231223#M184353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using 3.2.0 enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat\webapps\alfresco\WEB-INF\classes\alfresco\domain\hibernate-cfg.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Which is referenced by the bean 'hibernateConfigProperties' inside tomcat\webapps\alfresco\WEB-INF\classes\alfresco\hibernate-context.xml)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed the comment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# The Hibernate Dialect:&lt;BR /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; As of V3.1, the dialect is automatically detected.&lt;BR /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; It is still possible to set the dialect explicitly, for example:&lt;BR /&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would check that you don't have two copies of 'alfresco-global.properties' (one is probably in 'tomcat\shared\classes' whilst another may be in 'tomcat\webapps\alfresco\WEB-INF\classes'). Also check for any old empty 'hibernate.dialect' references to the dialect, either in 'repository.properties' or 'custom-repository.properties'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if you're using MySQL (which your properties suggest you are), also check that the connector jar file (mysql-connector-java-5.*.*-bin.jar) is available for the webapp (e.g. it lives in "tomcat\lib" or "tomcat\webapps\alfresco\WEB-INF\lib\mysql-connector-java-5.1.10-bin.jar").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.ixxus.com" rel="nofollow noopener noreferrer"&gt;http://www.ixxus.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 16:29:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231223#M184353</guid>
      <dc:creator>tommorris</dc:creator>
      <dc:date>2010-01-19T16:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: HibernateException: Hibernate Dialect must be explicitly set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231224#M184354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for the replies!&amp;nbsp; I think I have found my error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the installation instructions and from said instructions had the impression that we needed to install a separate Mysql database which I did.&amp;nbsp; The instructions also suggested putting the mysql bin in the path and starting it as a service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://storage.pardot.com/50281_Alfresco_Enterprise_Edition_Detailed_Install_and_Configure_Guide.pdf" rel="nofollow noopener noreferrer"&gt;http://storage.pardot.com/50281_Alfresco_Enterprise_Edition_Detailed_Install_and_Configure_Guide.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This I did.&amp;nbsp; I then installed alfresco and attempted to start and ran across the above error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using an external database installation, the user needs to complete the 'Configuring Databases' section of the instructions which is further down than the 'Running Alfresco' section.&amp;nbsp; But this I hadn't done yet. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The easy resolution to my problem was to turn off the mysql service of the external mysql I installed and take it out of the path.&amp;nbsp; Then just run the Alfresco start script and Alfie will start its own mysql database itself.&amp;nbsp; This is the easiest, best solution.&amp;nbsp;&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 16:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231224#M184354</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-01-19T16:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: HibernateException: Hibernate Dialect must be explicitly set</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231225#M184355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, I also didn't appear to have a connector file in my library either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 16:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hibernateexception-hibernate-dialect-must-be-explicitly-set/m-p/231225#M184355</guid>
      <dc:creator>targa2000</dc:creator>
      <dc:date>2010-01-19T16:42:00Z</dc:date>
    </item>
  </channel>
</rss>

