<?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: Restart/refresh engine at runtime in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164587#M118320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks frederikheremans!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.juegosdecasinoespana.com/" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #FDFDFF; text-decoration: underline;"&gt;visitar&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2013 07:51:40 GMT</pubDate>
    <dc:creator>danielhale</dc:creator>
    <dc:date>2013-09-24T07:51:40Z</dc:date>
    <item>
      <title>Restart/refresh engine at runtime</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164584#M118317</link>
      <description>Imagine a multi-tenant database (tenant column in each table). For Activiti the process definitions and instances are prefixed with a tenant specific string. Now I want to offer a backup/restore mechanism. Backup is no problem. All relevant data is stored in csv files. Each table results in a csv fi</description>
      <pubDate>Wed, 18 Sep 2013 09:18:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164584#M118317</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-09-18T09:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Restart/refresh engine at runtime</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164585#M118318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can always call processEngine.shutdown() and create a new process-engine from the factory again, if you want activiti to reboot without rebooting the JVM…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 12:51:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164585#M118318</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-09-20T12:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Restart/refresh engine at runtime</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164586#M118319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I can't find "shutdown" for a process engine (in 5.13). Did you mean "close"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And for starting the process engine I use the cdi extension which automatically starts the engine after the application deployment. If I now want to restart the engine I probably have to do similar things. Especially it seems to be necessary to set the newly created process engine via ActivityServices.setProcessEngine!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So what would be the best way to (re)start the process engine in this scenario?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processEngine.close();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;activitiServices.setProcessEngine(processEngineLookup.getProcessEngine());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 07:54:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164586#M118319</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2013-09-23T07:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restart/refresh engine at runtime</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164587#M118320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks frederikheremans!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.juegosdecasinoespana.com/" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #FDFDFF; text-decoration: underline;"&gt;visitar&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 07:51:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164587#M118320</guid>
      <dc:creator>danielhale</dc:creator>
      <dc:date>2013-09-24T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Restart/refresh engine at runtime</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164588#M118321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it's the close method that Frederik was referring to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the CDI extension it's a bit harder to do this. You would have to look into the internals of the activiti-cdi what's done at startup.&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>Tue, 24 Sep 2013 09:48:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-refresh-engine-at-runtime/m-p/164588#M118321</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-24T09:48:33Z</dc:date>
    </item>
  </channel>
</rss>

