<?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: Persistent H2 Database (activiti-5.10) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101045#M70093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had been using the demo setup of activiti-5.9 for last few days and it has persistent in memory database. Now I deployed activiti-5.10 and it's dropping and recreating database every time I start the server. Why activiti-5.9 demo setup wasn't doing this? I tried searching for jdbc property in activiti.cfg.xml and in persistence.xml for activiti 5-10 but couldn't fix it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 08:57:07 GMT</pubDate>
    <dc:creator>nommyravian</dc:creator>
    <dc:date>2012-10-04T08:57:07Z</dc:date>
    <item>
      <title>Persistent H2 Database (activiti-5.10)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101043#M70091</link>
      <description>Hi,I've deployed activiti-5.10 to my windows machine using demo setup instructions. Every time I start the engine, it comes up with new database and I lose added users and deployed process. How to make H2 database persistent?Thank you.</description>
      <pubDate>Thu, 04 Oct 2012 08:41:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101043#M70091</guid>
      <dc:creator>nommyravian</dc:creator>
      <dc:date>2012-10-04T08:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent H2 Database (activiti-5.10)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101044#M70092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As you say, it's a demo setup. If you want to use your own database, check out the user guide for more info. Also, for running H2 on your machine, consult their documentation, it's really easy to get a h2 up and running.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 08:48:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101044#M70092</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-04T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent H2 Database (activiti-5.10)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101045#M70093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had been using the demo setup of activiti-5.9 for last few days and it has persistent in memory database. Now I deployed activiti-5.10 and it's dropping and recreating database every time I start the server. Why activiti-5.9 demo setup wasn't doing this? I tried searching for jdbc property in activiti.cfg.xml and in persistence.xml for activiti 5-10 but couldn't fix it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 08:57:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101045#M70093</guid>
      <dc:creator>nommyravian</dc:creator>
      <dc:date>2012-10-04T08:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent H2 Database (activiti-5.10)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101046#M70094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running 'ant demo.setup' over and over again? Afaik, this wont drop/create the schema … (but I can be wrong).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens if you start the Tomcat server and the H2 database yourself. There are ant targets for that, run 'ant -p' from the setup folder to see them.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 06:37:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101046#M70094</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-10-05T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent H2 Database (activiti-5.10)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101047#M70095</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;SPAN&gt;I was simply using ant demo.start but now I found the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is db.properties file in the path {activiti-5.10 Home}\apps\apache-tomcat-6.0.32\webapps\activiti-explorer\WEB-INF\classes. The default contents are;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;db=h2&lt;BR /&gt;jdbc.driver=org.h2.Driver&lt;BR /&gt;#jdbc.url=jdbc:h2:tcp://localhost/activiti&lt;BR /&gt;jdbc.url=jdbc:h2:mem:activiti&lt;BR /&gt;jdbc.username=sa&lt;BR /&gt;jdbc.password=&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I commented the 4th line and used the 3rd line of jdbc.url and it worked. Now schema is not dropped and re created every time. My db.properties file is now;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;db=h2&lt;BR /&gt;jdbc.driver=org.h2.Driver&lt;BR /&gt;jdbc.url=jdbc:h2:tcp://localhost/activiti&lt;BR /&gt;#jdbc.url=jdbc:h2:mem:activiti&lt;BR /&gt;jdbc.username=sa&lt;BR /&gt;jdbc.password=&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: This file is updated in activiti 5-10 (I confirmed it with activiti 5-9). I don't know if activiti 5-10 developers have changed it intentionally or left the &lt;/SPAN&gt;&lt;EM&gt;"jdbc.url=jdbc:h2:tcp://localhost/activiti" &lt;/EM&gt;&lt;SPAN&gt;line commented mistakenly but changing this configuration solved my issue. Now I've persistent h2 db like I had in activiti 5.9&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>Fri, 05 Oct 2012 09:20:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101047#M70095</guid>
      <dc:creator>nommyravian</dc:creator>
      <dc:date>2012-10-05T09:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent H2 Database (activiti-5.10)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101048#M70096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do think it's an error by someone 'testing something out'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed it back to the persistent db: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/7df7452d8b4f81389a047b7c6d16679bc58f9da0" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/7df7452d8b4f81389a047b7c6d16679bc58f9da0&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 12:52:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persistent-h2-database-activiti-5-10/m-p/101048#M70096</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-10-11T12:52:11Z</dc:date>
    </item>
  </channel>
</rss>

