<?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 Database schema version mismatch with demo files in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109968#M77211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry if this is a newbie issue that has already been answered, I tried to search on my own and couldn't find anything that really helped. I'm trying to work my way through the examples in the book. When I get to section 1.4.2, "Implementing a simple book order process" and try to run the JUnit test, I get this hard failure:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: Error while closing command context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiWrongDbException: version mismatch: activiti library version is '5.9', db version is 5.10 Hint: Set &amp;lt;property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the bpmn-examples project I set the "databaseSchemaUpdate" property to "true" in the activiti.cfg.xml, but I am still seeing this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only version I have ever downloaded is 5.10, so I'm not sure where the 5.9 library is coming from, unless the version was not updated in the source package?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti explorer is running, and I can query the database and see that the schema version is set to 5.10. I do not know how to manually set it to 5.9 (just to see if it works), since I'm not familiar with the H2 database – is there a command-line interface that I can use to issue "UPDATE" commands?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, sorry for the newbie questions. I'm not only new to Activiti, but I'm learning my way around Eclipse and Java at the same time… Thanks for any pointers you can provide that will get me back on track.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 14:48:16 GMT</pubDate>
    <dc:creator>nickvargish</dc:creator>
    <dc:date>2012-09-06T14:48:16Z</dc:date>
    <item>
      <title>Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109968#M77211</link>
      <description>Greetings,Sorry if this is a newbie issue that has already been answered, I tried to search on my own and couldn't find anything that really helped. I'm trying to work my way through the examples in the book. When I get to section 1.4.2, "Implementing a simple book order process" and try to run the</description>
      <pubDate>Thu, 06 Sep 2012 14:48:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109968#M77211</guid>
      <dc:creator>nickvargish</dc:creator>
      <dc:date>2012-09-06T14:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109969#M77212</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;you should change the version of activiti in the pom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti-version&amp;gt;5.9&amp;lt;/activiti-version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti-version&amp;gt;5.10&amp;lt;/activiti-version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 10:31:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109969#M77212</guid>
      <dc:creator>rublar</dc:creator>
      <dc:date>2012-09-07T10:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109970#M77213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you should change the version of activiti in the pom.xml&lt;BR /&gt;to:&lt;BR /&gt;&amp;lt;activiti-version&amp;gt;5.10&amp;lt;/activiti-version&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That took care of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 11:43:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109970#M77213</guid>
      <dc:creator>nickvargish</dc:creator>
      <dc:date>2012-09-07T11:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109971#M77214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got the same problem, so I'm upping this old thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For me is: &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;org.activiti.engine.ActivitiWrongDbException: version mismatch: activiti library version is '5.13', db version is 5.12 Hint: Set In the bpmn-examples project I set the "databaseSchemaUpdate" property to "true" in the activiti.cfg.xml, but I am still seeing this error.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;In the [font=courier]pom.xml[/font] of my eclipse-activiti project (let me know if this is the correct file) I tried to correct the activiti version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Neither 5.12 and 5.13 works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help vould be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 13:44:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109971#M77214</guid>
      <dc:creator>andzoff</dc:creator>
      <dc:date>2013-10-28T13:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109972#M77215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From my point of view changing version in pom file won't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that DB structures have version 5.12. Libraries which want to work with DB have version 5.13. This to things have to be sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Possibilities:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. use 5.12 activiti libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. upgrade DB structures to 5.13 (set property databaseSchemaUpdate to true in the activiti.cfg.xml which should update database automatically)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 07:52:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109972#M77215</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-10-29T07:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109973#M77216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having this trouble as well.&amp;nbsp; The current version of Activiti DB is 5.17, but the book source code is still at 5.9.&amp;nbsp; I tried setting databaseSchemaUpdate to true and to create-drop.&amp;nbsp; Neither helps.&amp;nbsp; Do I really have to go back to the 5.9 libraries.&amp;nbsp; Can't someone update the book's source code? I've been struggling with this for two days.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 21:07:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109973#M77216</guid>
      <dc:creator>philallred</dc:creator>
      <dc:date>2015-04-02T21:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Database schema version mismatch with demo files</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109974#M77217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The book is now pretty old, I don't think it will follow any new versions of Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are you trying to do and how is it failing? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:01:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/database-schema-version-mismatch-with-demo-files/m-p/109974#M77217</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-07T13:01:42Z</dc:date>
    </item>
  </channel>
</rss>

