<?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: Avoid generating demodata in rest-webapp in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159216#M113256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One step further: When I just deploy the activiti-rest.war (without the activiti explorer), the webapp generates after each restart an entry in the two tables act_hi_taskinst and act_ru_task even though I disabled the generation of demodata. The table act_ru_task looks like this after some restarts: &lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/s/3a4u16nzlupus3a/activiti-database.png" rel="nofollow noopener noreferrer"&gt;https://www.dropbox.com/s/3a4u16nzlupus3a/activiti-database.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone has a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 11:52:01 GMT</pubDate>
    <dc:creator>b_schnarr</dc:creator>
    <dc:date>2013-12-19T11:52:01Z</dc:date>
    <item>
      <title>Avoid generating demodata in rest-webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159215#M113255</link>
      <description>Hello at all,I have the following deployment&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ne MySQL-Database for both instances (activiti-rest.war and activiti-explorer.war). Database name is activiti. First, I deployed the activiti-rest.war. After that, I configured the database like this in db.properties:db=mysqljdbc.driver=com.mysql.jdbc.Dr</description>
      <pubDate>Thu, 19 Dec 2013 10:43:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159215#M113255</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2013-12-19T10:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid generating demodata in rest-webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159216#M113256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One step further: When I just deploy the activiti-rest.war (without the activiti explorer), the webapp generates after each restart an entry in the two tables act_hi_taskinst and act_ru_task even though I disabled the generation of demodata. The table act_ru_task looks like this after some restarts: &lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/s/3a4u16nzlupus3a/activiti-database.png" rel="nofollow noopener noreferrer"&gt;https://www.dropbox.com/s/3a4u16nzlupus3a/activiti-database.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone has a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 11:52:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159216#M113256</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2013-12-19T11:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid generating demodata in rest-webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159217#M113257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue with the REST web application generating demo tasks is fixed in Github master. So it will be fixed in release 5.15.&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, 19 Dec 2013 13:30:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159217#M113257</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-12-19T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid generating demodata in rest-webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159218#M113258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found a workaround: When you set the properties in the activiti-context.xml to false like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="demoDataGenerator" class="org.activiti.rest.service.demo.DemoDataGenerator"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; init-method="init"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="processEngine" ref="processEngine" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="createDemoUsersAndGroups" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoProcessDefinitions" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoModels" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the rest app still produces demo data. If you comment out the whole code-block like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;!– Comment this if you don't need demo data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="demoDataGenerator" class="org.activiti.rest.service.demo.DemoDataGenerator"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; init-method="init"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="processEngine" ref="processEngine" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="createDemoUsersAndGroups" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoProcessDefinitions" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createDemoModels" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no demo data will be generated. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 14:19:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159218#M113258</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2013-12-19T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid generating demodata in rest-webapp</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159219#M113259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've found a solution for this problem but I don't know, how much is this stable!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After configuration Activiti-Rest and Activiti-Explorer to use the same PostgreSql database, I ran into this problem! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried to modify the Postgres tables and clean the demo data to solve the problem. I use ECM postgreSQL manager to remove demo data from tables. But the DELETE status of act_ru_identifylink (and also other tables that have the demo data and you should clean them) should be changed to CASCADE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After cleaning database, I can run my REST properly. Also I don't have any strange Latin task in Kermit task list. For the second time that I wanted to run my Tomcat, I've commented out the whole code-block in activiti-context.xml. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works now properly! I don't know, how much is this solution reliable!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 13:47:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/avoid-generating-demodata-in-rest-webapp/m-p/159219#M113259</guid>
      <dc:creator>m_koohi_m</dc:creator>
      <dc:date>2014-02-17T13:47:58Z</dc:date>
    </item>
  </channel>
</rss>

