<?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 Important: Activiti 5.15 and MySQL 5.6+ users in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163366#M117169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you probably read, we released Activiti 5.15 last Friday (&lt;/SPAN&gt;&lt;A href="http://bpmn20inaction.blogspot.com/2014/03/activiti-515-released.html" rel="nofollow noopener noreferrer"&gt;http://bpmn20inaction.blogspot.com/2014/03/activiti-515-released.html&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eager users have tried it out already (which is awesome!) and notified us that there is a bug when using MySQL 5.6+ and executing the upgrade scripts (for example &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/content/upgrade-514-515-mysql-error" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/upgrade-514-515-mysql-error&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The bug is due to a combination of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) An upgrade around MySQL timestamp precision (see 'Note for MySQL users' at &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#creatingDatabaseTable" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#creatingDatabaseTable&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp; Not having a unit test in our QA environment where we test engine upgrades on all databases. So we did have a test for it, but not with the correct type of data that causes this bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;So we've decided to release a 5.15.1 version&lt;/STRONG&gt;&lt;SPAN&gt; shortly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Master has been switched to this new version (&lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/d9eb4f1f698eb19f39c1993d7c0e9e39f342089a" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/d9eb4f1f698eb19f39c1993d7c0e9e39f342089a&lt;/A&gt;&lt;SPAN&gt;), the bug has been fixed and the upgrade mechanism has been made better (&lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/41a01f2dd44884a22ce314a1f22f6e3ccba61adc" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/41a01f2dd44884a22ce314a1f22f6e3ccba61adc&lt;/A&gt;&lt;SPAN&gt;). And of course we've added upgrade tests to cover the bug (&lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti-Upgrade/commit/83a39f1b45620494f0dbb7bf7ac105813cad2b5e" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti-Upgrade/commit/83a39f1b45620494f0dbb7bf7ac105813cad2b5e&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.15.1 will be a seamless upgrade from 5.15 and any version downwards (starting from 5.7). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We will wait a couple of days to see if any other major bug is uncovered and release it the end of this week.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;TL;DR: Are you using MySQL 5.6+: don't upgrade to 5.15 yet, stick to 5.14.&amp;nbsp; Activiti 5.15.1 will be released shortly.Other databases are fine.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for any inconvenience this caused. And many thanks to the users who test-drive the Activiti releases!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2014 21:28:43 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-03-24T21:28:43Z</dc:date>
    <item>
      <title>Important: Activiti 5.15 and MySQL 5.6+ users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163366#M117169</link>
      <description>Hello all,As you probably read, we released Activiti 5.15 last Friday (http://bpmn20inaction.blogspot.com/2014/03/activiti-515-released.html).Eager users have tried it out already (which is awesome!) and notified us that there is a bug when using MySQL 5.6+ and executing the upgrade scripts (for exa</description>
      <pubDate>Mon, 24 Mar 2014 21:28:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163366#M117169</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-24T21:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Important: Activiti 5.15 and MySQL 5.6+ users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163367#M117170</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;We just ran into the problem, that the create scripts did not work with mysql 5.1 (yes, old, but we are using it…), so we had to use the mysql55 scripts. However I did not find evidence in the Activiti code ( &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/41a01f2dd44884a22ce314a1f22f6e3ccba61adc" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/41a01f2dd44884a22ce314a1f22f6e3ccba61adc&lt;/A&gt;&lt;SPAN&gt; ) that the upgrade mechanism is aware of the mysql55 scripts. The DbSqlSession#getResourceForDbOperation (&lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1175" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1175&lt;/A&gt;&lt;SPAN&gt;) method takes the DB type, but that cannot be mysql55 (I think), only mysql. So for mysql version &amp;lt; 5.6 should one do the upgrades manually?&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, 05 Sep 2014 13:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163367#M117170</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2014-09-05T13:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Important: Activiti 5.15 and MySQL 5.6+ users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163368#M117171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The code does take that in account:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1211" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1211&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should take the 5.5 sql. But i assume that's not doing it for you? What do you see passing for the&amp;nbsp; logging line at &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1215" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1215&lt;/A&gt;&lt;SPAN&gt; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 12:02:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163368#M117171</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-09-15T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Important: Activiti 5.15 and MySQL 5.6+ users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163369#M117172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Most probably it works then. I actually did not try the upgrade mechanism, just looked at the code if it should work, and found no evidence, because I was expecting activiti to return with the activiti.mysql55.*.sql files in getResourceForDbOperation method, but now I can see you choose another solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 19:36:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163369#M117172</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2014-09-26T19:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Important: Activiti 5.15 and MySQL 5.6+ users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163370#M117173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have done the following changes to make explorer multi tenant aware as I needed very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Extended DefaultLoginHandler java class and injected from activiti-standalone-context.xml and did the following customizations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.1) Changed the definition of injection of DefaultLoginHandler in activiti-standalone-context.xml file as below&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 07:27:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/important-activiti-5-15-and-mysql-5-6-users/m-p/163370#M117173</guid>
      <dc:creator>atifraza</dc:creator>
      <dc:date>2015-01-30T07:27:09Z</dc:date>
    </item>
  </channel>
</rss>

