<?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: How to keep the process instances alive in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140879#M98685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Alvin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I remember, the demo files (including activiti-explorer.war) are using an in-memory (H&lt;/SPAN&gt;&lt;SUB&gt;2&lt;/SUB&gt;&lt;SPAN&gt;) database. This means that any changes to the DB are lost with the shut-down of the application:&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;db=h2&lt;BR /&gt;jdbc.driver=org.h2.Driver&lt;BR /&gt;jdbc.url=jdbc:h2:&lt;STRONG&gt;mem&lt;/STRONG&gt;:activiti;DB_CLOSE_DELAY=1000&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;&lt;CODE&gt;&lt;A href="http://activiti-explorer.war/WEB-INF/classes/db.properties" rel="nofollow noopener noreferrer"&gt;activiti-explorer.war/WEB-INF/classes/db.properties&lt;/A&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To persist your changes between the applications restart you need to change the DB persistence mechanism - either to configure the H2 DB to not run in in-memory mode, or to use another DBMS - MySql, Postgre, Oracle, …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, there is a good enough description in the Activiti User Guide: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#activiti.setup.database" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#activiti.setup.database&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 12:36:19 GMT</pubDate>
    <dc:creator>mmaker1234</dc:creator>
    <dc:date>2013-07-09T12:36:19Z</dc:date>
    <item>
      <title>How to keep the process instances alive</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140878#M98684</link>
      <description>Hi, I'm new to Activiti. Now i deploy activiti-explorer.war on tomcat 7.But when i restart the server, the process instances that i started it before will all disappear.How do i change the configuration to keep the process instances alive. Thanks.</description>
      <pubDate>Tue, 09 Jul 2013 10:35:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140878#M98684</guid>
      <dc:creator>alvin_tw</dc:creator>
      <dc:date>2013-07-09T10:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep the process instances alive</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140879#M98685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Alvin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I remember, the demo files (including activiti-explorer.war) are using an in-memory (H&lt;/SPAN&gt;&lt;SUB&gt;2&lt;/SUB&gt;&lt;SPAN&gt;) database. This means that any changes to the DB are lost with the shut-down of the application:&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;db=h2&lt;BR /&gt;jdbc.driver=org.h2.Driver&lt;BR /&gt;jdbc.url=jdbc:h2:&lt;STRONG&gt;mem&lt;/STRONG&gt;:activiti;DB_CLOSE_DELAY=1000&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;&lt;CODE&gt;&lt;A href="http://activiti-explorer.war/WEB-INF/classes/db.properties" rel="nofollow noopener noreferrer"&gt;activiti-explorer.war/WEB-INF/classes/db.properties&lt;/A&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To persist your changes between the applications restart you need to change the DB persistence mechanism - either to configure the H2 DB to not run in in-memory mode, or to use another DBMS - MySql, Postgre, Oracle, …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, there is a good enough description in the Activiti User Guide: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#activiti.setup.database" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#activiti.setup.database&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 12:36:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140879#M98685</guid>
      <dc:creator>mmaker1234</dc:creator>
      <dc:date>2013-07-09T12:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep the process instances alive</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140880#M98686</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your reply first. I already changed the database configuration to mysql, my setting is as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; But when i start a process instance, i can see a record to be inserted into ACT_RU_TASK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; And i also can see that in Activiti Explorer Console. But when i restart the jboss, anything includes data in ACT_RU_TASK and instance in console are all disappeared. Is there anything i misunderstand or lose? Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; db.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ===========================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; db=mysql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jdbc.driver=com.mysql.jdbc.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jdbc.url=jdbc:mysql://localhost:3306/activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jdbc.username=activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; jdbc.password=activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ===========================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 02:50:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140880#M98686</guid>
      <dc:creator>alvin_tw</dc:creator>
      <dc:date>2013-07-10T02:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep the process instances alive</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140881#M98687</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; I found the problem. I don't turn the demo data generator off. The setting i change as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator" init-method="init"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="processEngine" ref="processEngine" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Set following properties to false if certain demo data is not wanted –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoUsersAndGroups" value="false" /&amp;gt; &amp;lt;!– From true to false –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoProcessDefinitions" value="false" /&amp;gt; &amp;lt;!– From true to false –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoModels" value="false" /&amp;gt; &amp;lt;!– From true to false –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="generateReportData" value="false" /&amp;gt; &amp;lt;!– From true to false –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 03:15:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-keep-the-process-instances-alive/m-p/140881#M98687</guid>
      <dc:creator>alvin_tw</dc:creator>
      <dc:date>2013-07-10T03:15:31Z</dc:date>
    </item>
  </channel>
</rss>

