<?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: activiti-rest &amp; -explorer sharing process engine? (v5.7) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54892#M32867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone explain how I can combine these two? I am new to web application deployment. I'd like to be able to upload a bpmn20.xml file through the explorer UI and be able to get those process definitions through the REST API. Is there a tutorial on how to combine the web apps so that they use a single process instance?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2012 15:40:59 GMT</pubDate>
    <dc:creator>vnama</dc:creator>
    <dc:date>2012-01-18T15:40:59Z</dc:date>
    <item>
      <title>activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54889#M32864</link>
      <description>Hello,in the previous versions of Activiti (&amp;lt;= 5.6) my understanding was that there was one instance of a process engine that was shared using the REST interface; activiti-probe and activiti-explorer would use the REST interface to manipulate the state of the process engine.Now, in Activity 5.7 i</description>
      <pubDate>Mon, 12 Sep 2011 15:34:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54889#M32864</guid>
      <dc:creator>f3lix</dc:creator>
      <dc:date>2011-09-12T15:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54890#M32865</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;BR /&gt;&lt;SPAN&gt;Yes you're right, both web applications have a process engine instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In a production setup this is probably not the best setup. But it's really easy to combine the explorer and REST application into one web application using the same process instance.&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>Mon, 12 Sep 2011 19:24:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54890#M32865</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-09-12T19:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54891#M32866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, this information saved me some time. Now, I simply combined activiti-rest and -explorer as you proposed. Works fine as far as I can tell.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Felix&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 07:51:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54891#M32866</guid>
      <dc:creator>f3lix</dc:creator>
      <dc:date>2011-09-14T07:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54892#M32867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone explain how I can combine these two? I am new to web application deployment. I'd like to be able to upload a bpmn20.xml file through the explorer UI and be able to get those process definitions through the REST API. Is there a tutorial on how to combine the web apps so that they use a single process instance?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 15:40:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54892#M32867</guid>
      <dc:creator>vnama</dc:creator>
      <dc:date>2012-01-18T15:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54893#M32868</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;BR /&gt;&lt;SPAN&gt;I've described it in Activiti in Action with an example project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it's really easy, just combine the web.xml and the Spring configurations and combine the classes from both web apps.&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 Jan 2012 07:27:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54893#M32868</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-01-19T07:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54894#M32869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the insight. I was hoping the web apps did not each have a process engine, but you were right in that it was fairly easy to combine them. Thank you for the response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 21:52:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54894#M32869</guid>
      <dc:creator>vnama</dc:creator>
      <dc:date>2012-02-01T21:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54895#M32870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I've described it in Activiti in Action with an example project.&lt;BR /&gt;But it's really easy, just combine the web.xml and the Spring configurations and combine the classes from both web apps.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could not find the example in the &lt;/SPAN&gt;&lt;A href="https://code.google.com/p/activitiinaction/source/browse/#svn%2Ftrunk" rel="nofollow noopener noreferrer"&gt;svn repo&lt;/A&gt;&lt;SPAN&gt;, and in Section 8.1.2 of the book it is only mentioned that it is possible without explaining how. Did I miss something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 12:33:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54895#M32870</guid>
      <dc:creator>damokles</dc:creator>
      <dc:date>2012-02-08T12:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54896#M32871</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;BR /&gt;&lt;SPAN&gt;same here. I would like to combine the activiti explorer and the rest web application for activiti 5.14. I am very new to activiti. We need a shared state between explorer and rest web app. I bought and read Activiti in Action. There is described that it is possible to combine these two apps, but without further details. It would be a great help if there was a tutorial or an out-of-the-box appliance so that user without so much programming and activiti skill can easier start with activiti. I am of the opinion that this requirement (sharing one process instance for explorer and rest) is needed by nearly all users with a stand alone deployment. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 10:21:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54896#M32871</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2013-12-10T10:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54897#M32872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's the same as you whould combine ANY 2 webapps. Steps involved (high-level):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 1) Expand both war's (if not already exploded)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 2) Merge all folders into one (ignoring web.xml), incuding libs, classes, …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 3) Create a single web.xml file, containing both the servlets and filters from WEB-INF/web.xml-files from both war-files. normally, this is a straight forward copy-paste action of the relevant sections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 4) Enjoy!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 12:56:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54897#M32872</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-10T12:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54898#M32873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also the dispatcher servlet for both webapps is mapped on /service/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you have to merge the Spring config as well. Also we can't assume there won't be any URL conflict, can we ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 16:48:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54898#M32873</guid>
      <dc:creator>ndup0nt</dc:creator>
      <dc:date>2015-02-27T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54899#M32874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, there wont be a conflict.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 10:07:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54899#M32874</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-28T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54900#M32875</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;Did anyone managed to produce combined webapp based on 5.17?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After adding of libs and classes from rest webapp into explorer and adding WebConfigurer filter into explorer web.xml I got NullPointerException (see below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have experience with the Spring, but I guess that it is related to Spring content initialization. Any hints? *help* &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mar 18, 2015 12:42:47 PM org.apache.catalina.core.StandardContext listenerStart&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: Exception sending context initialized event to listener instance of class org.activiti.rest.servlet.WebConfigurer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.rest.servlet.WebConfigurer.initSpring(WebConfigurer.java:71)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.rest.servlet.WebConfigurer.contextInitialized(WebConfigurer.java:54)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.FutureTask.run(FutureTask.java:262)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:745)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 11:00:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54900#M32875</guid>
      <dc:creator>ays</dc:creator>
      <dc:date>2015-03-18T11:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54901#M32876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the problem is that you now have multiple WebConfigurer classes in the web.xml, right? I dont believe that will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To make a combination, you would need to create a new webapp yourself, and combine the Webconfigurer for both endpoints. But i dont think that has been done before.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 12:45:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54901#M32876</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-24T12:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54902#M32877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram, thank you very much for this comment! It really helped to merge two apps &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will be playing with the result during the next few days. Hopefully the thing will not only start but also work as expected (quick tests shown no issues with explorer part). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for what you are doing!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 20:56:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54902#M32877</guid>
      <dc:creator>ays</dc:creator>
      <dc:date>2015-03-25T20:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54903#M32878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to confirm that the result acheived. For those who would attempt to merge &lt;/SPAN&gt;&lt;EM&gt;explorer&lt;/EM&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;EM&gt;rest&lt;/EM&gt;&lt;SPAN&gt; 5.17:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* get sources for classes from WEB-INF/classes/org&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* merge them one by one. I created a different package, then copied there &lt;/SPAN&gt;&lt;EM&gt;explorer&lt;/EM&gt;&lt;SPAN&gt; part and then added parts from &lt;/SPAN&gt;&lt;EM&gt;rest&lt;/EM&gt;&lt;SPAN&gt; which was missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* you can skip Demo related classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Change web.xml, make sure that it references new classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Merge WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* replace WEB-INF/classes with the newly created&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should do the job. Good luck to all of you! &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 19:07:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54903#M32878</guid>
      <dc:creator>ays</dc:creator>
      <dc:date>2015-03-27T19:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54904#M32879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for posting this back. i'm sure this will be helpful to a lot of people!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 08:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54904#M32879</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-31T08:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54905#M32880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I've just added activiti-rest API to activiti-explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The merger is not so complex, but it heavily depends on the sources which have been changing throughout the different actitviti releases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The question of merging rest and esplorer has been resumed different times in the forum, in my opinion it should be considered the opportunity of including the activiti-rest API in the next releases of activiti-explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a nutshell, what I did to add the API to&amp;nbsp; release 5.17 was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- copying the following jars from activiti-rest's WEB-INF/lib to activiti-explorer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; activiti-rest-5.17.0.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; commons-fileupload-1.2.2.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jsr250-api-1.0.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- downloading the source of activiti-webapp-explorer2 and activiti-webapp-rest2 from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://repo1.maven.org/maven2/org/activiti/activiti-webapp-explorer2/" rel="nofollow noopener noreferrer"&gt;http://repo1.maven.org/maven2/org/activiti/activiti-webapp-explorer2/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://repo1.maven.org/maven2/org/activiti/activiti-webapp-rest2/" rel="nofollow noopener noreferrer"&gt;http://repo1.maven.org/maven2/org/activiti/activiti-webapp-rest2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Copying from activiti-webapp-rest2 the files below and just changing the package to org.activiti.explorer.conf:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestConfiguration.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SecurityConfiguration .java&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Then the modification regarding Spring MVC dispatcher to apply to activiti-webapp-explorer2 to inject the rest api:&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; One solution was to append "org.activiti.rest.exception" and "org.activiti.rest.service.api" to the ComponentScan annotation arguments in the class DispatcherServletConfiguration.java:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; @ComponentScan({"org.activiti.rest.editor", "org.activiti.rest.diagram", "org.activiti.rest.exception", "org.activiti.rest.service.api"})&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; with the negative side effect that anyone could invoke the API without being authenticated, because /activiti-explorer/service is not protected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The second possibility was to create a subcontext of "/service", let's say "/service/api", protected by the basic authentication (actually if the&amp;nbsp; authentication is enabled on /service the diagram-viewer ceases to work), and configure the rest API with this context:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So I copied DispatcherServletConfiguration.java from activiti-webapp-rest2 to activiti-webapp-explorer2 as DispatcherServletAPIConfiguration.java and then I modified WebConfigurer.java:&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; public void contextInitialized(ServletContextEvent sce) {&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; initSpring(servletContext, rootContext);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; initSpringAPI(servletContext, rootContext);&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; EnumSet&amp;lt;DispatcherType&amp;gt; disps = EnumSet.of(DispatcherType.REQUEST, DispatcherType.FORWARD, DispatcherType.ASYNC);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; initSpringSecurity(servletContext, disps);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; log.debug("Web application fully configured");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; * Initializes Spring and Spring MVC for /service/api context (activiti-rest services)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private ServletRegistration.Dynamic initSpringAPI(ServletContext servletContext, AnnotationConfigWebApplicationContext rootContext) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /** ADD /api dispatcher */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; log.debug("Configuring Spring Web application context (activiti-rest API)");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AnnotationConfigWebApplicationContext dispatcherServletAPIConfiguration = new AnnotationConfigWebApplicationContext();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dispatcherServletAPIConfiguration.setParent(rootContext);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dispatcherServletAPIConfiguration.register(DispatcherServletAPIConfiguration.class);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; log.debug("Registering Spring MVC Servlet (activiti-rest API)");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ServletRegistration.Dynamic dispatcherAPIServlet = servletContext.addServlet("dispatcher-rest", new DispatcherServlet(dispatcherServletAPIConfiguration));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dispatcherAPIServlet.addMapping("/service/api/*");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dispatcherAPIServlet.setLoadOnStartup(1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dispatcherAPIServlet.setAsyncSupported(true);&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; return dispatcherAPIServlet;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; /**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; * Initializes Spring Security for /service/api context (activiti-rest services)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; private void initSpringSecurity(ServletContext servletContext, EnumSet&amp;lt;DispatcherType&amp;gt; disps) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; log.debug("Registering Spring Security Filter");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FilterRegistration.Dynamic springSecurityFilter = servletContext.addFilter("springSecurityFilterChain", new DelegatingFilterProxy());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; springSecurityFilter.addMappingForUrlPatterns(disps, false, "/service/api/*");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; springSecurityFilter.setAsyncSupported(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; To finish, compile the modified activiti-webapp-explorer2 and copy the classes to activiti-explorer/WEB-INF/classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The API are accessible asking for authentication at "/activiti-explorer/service/api", such as in this example :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-explorer/service/api/repository/process-definitions" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-explorer/service/api/repository/process-definitions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; It would be also possible to configure a prefix different from "/activti-explorer/service" but this means impacts on the activiti-explorer's org.activiti.explorer.filter.ExplorerFilter class which contains the context exceptions to the default activiti explorer authentication based on form (ignoreList variable).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Bye.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Andrea&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:33:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54905#M32880</guid>
      <dc:creator>andrealuciano71</dc:creator>
      <dc:date>2015-08-28T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54906#M32881</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;Thank you Andrea for your contribution to this forum.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:39:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54906#M32881</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-28T19:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54907#M32882</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;BR /&gt;&lt;SPAN&gt;I am new to Activiti and would like to understand this topic better to make an informed decision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. What are the benefits of merging Activiti-REST and Activiti-Explorer? Why do we need a single Activiti-Engine instance? If the 2 engine instances share state via DB what are the benefits of combining them? The flip side of merging them is that upgrades will get complicated and will require manual work that is error prone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. My understanding is that Activiti-Engine embedded within the application is preferable because of transaction management. Using REST will create a Transactions boundary where one may not be able to guarantee data integrity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate any inputs on the above 2 points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;srini&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 13:39:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54907#M32882</guid>
      <dc:creator>srini_n</dc:creator>
      <dc:date>2015-09-22T13:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-rest &amp; -explorer sharing process engine? (v5.7)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54908#M32883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello vnama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to this url, I have written&amp;nbsp;a tutorial that exactly match your requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://alfrescoactivit.blogspot.in/2017/03/how-to-configure-activiti-explorer-and.html" title="http://alfrescoactivit.blogspot.in/2017/03/how-to-configure-activiti-explorer-and.html" rel="nofollow noopener noreferrer"&gt;How to configure Activiti Explorer and REST to use the same database&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:54:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-rest-explorer-sharing-process-engine-v5-7/m-p/54908#M32883</guid>
      <dc:creator>ratik_singhal</dc:creator>
      <dc:date>2017-03-30T13:54:44Z</dc:date>
    </item>
  </channel>
</rss>

