<?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 configure Activiti Explorer and REST to use the same database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119286#M84099</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;Thanks for the reply. The configuration is working, I just wanted to make sure I understood correctly as am new at Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once again, thanks for the kind help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 07:27:38 GMT</pubDate>
    <dc:creator>jcoveron</dc:creator>
    <dc:date>2014-07-07T07:27:38Z</dc:date>
    <item>
      <title>How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119281#M84094</link>
      <description>I have fresh installations of activiti-explorer and activiti-rest running in a local Tomcat server. Both have exactly the same db.properties configuration (the original H2 database). However, any change I apply using Activiti Explorer is not reflected in the REST API (using curl), nor the other way</description>
      <pubDate>Fri, 24 May 2013 18:23:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119281#M84094</guid>
      <dc:creator>ardamose123</dc:creator>
      <dc:date>2013-05-24T18:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119282#M84095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ran into the same thing - I thought it would work since it looked like it was using H2 in a mode that allowed multiple connections from a single process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running H2 in server mode did the trick though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;To run in server mode, locate the jar and issue a command like:&lt;/LI&gt;&amp;lt;code&amp;gt; java -cp h2-1.3.171.jar org.h2.tools.Server -tcpPort 2962&amp;lt;/code&amp;gt;.&amp;nbsp; (The port number appeared to vary on each run, so I gave it a fixed port.)&lt;BR /&gt;&lt;LI&gt;Update the JDBC urls in the db.properties files for both web apps.&lt;/LI&gt;&amp;lt;code&amp;gt;jdbc.url=jdbc:h2:tcp://localhost:2962/~/test&amp;lt;/code&amp;gt; (if the server binds to a specific IP address, you may need to use that)&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 04:04:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119282#M84095</guid>
      <dc:creator>slehman</dc:creator>
      <dc:date>2013-05-26T04:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119283#M84096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@slehman: exactly the way it should be!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 09:54:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119283#M84096</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-05-28T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119284#M84097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do the same thing but with a MySQL database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both my db.properties file for the activiti-explorer and activiti-rest look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; db=mysql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; jdbc.driver=com.mysql.jdbc.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; jdbc.url=jdbc:mysql://localhost:3306/activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; jdbc.username={mysql user}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.password={mysql password}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any chance you could provide a guide on how to configure them to see the same MySQL database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the trouble and thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:22:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119284#M84097</guid>
      <dc:creator>jcoveron</dc:creator>
      <dc:date>2014-06-06T11:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119285#M84098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That should pretty much be it - but it seems its not working for you? Do you have any exceptions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 09:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119285#M84098</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-17T09:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119286#M84099</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;Thanks for the reply. The configuration is working, I just wanted to make sure I understood correctly as am new at Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once again, thanks for the kind help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 07:27:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119286#M84099</guid>
      <dc:creator>jcoveron</dc:creator>
      <dc:date>2014-07-07T07:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119287#M84100</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’ve created a sample process(with just 2 user tasks in sequence) and deployed through REST and all the REST API calls work fine. When I deploy the activiti explorer war along with the REST(both pointing to same DB), I could see the process and the tasks in the explorer. However, if I the restart the server, it’s not persisting the state of the process instance. For example, if I complete task1 and restart the server, it doesn’t show that instance nor task2 anymore. However, it works fine with just the rest. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please let me know if I missed configuring something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feroz.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 19:34:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119287#M84100</guid>
      <dc:creator>feroz1</dc:creator>
      <dc:date>2015-01-12T19:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119288#M84101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Feroz,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By default activity is configured in memory DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to persist state, configure another data source to store the data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 11:22:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119288#M84101</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-01-13T11:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119289#M84102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin, I did configure to point both rest and explorer to point to mysql database.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 14:47:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119289#M84102</guid>
      <dc:creator>feroz1</dc:creator>
      <dc:date>2015-01-13T14:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119290#M84103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So when you shut down the server, you should have an entry in your ACT_RU_TASK. Is that the case?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 12:08:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119290#M84103</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-01-16T12:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119291#M84104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with config database for activiti-rest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my db.properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; db=h2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.driver=org.h2.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.url=jdbc:h2:tcp://localhost/~/activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.username=sa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.password=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but when i start tomcat, activiti-rest can't start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stdout of tomcat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10:59:37,088 [localhost-startStop-1] WARN&amp;nbsp; org.springframework.web.context.support.AnnotationConfigWebApplicationContext&amp;nbsp; - Exception encountered during context initialization - cancelling refresh attempt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoDataConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.activiti.engine.IdentityService org.activiti.rest.conf.DemoDataConfiguration.identityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityService' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.IdentityService]: Factory method 'identityService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [org/activiti/rest/conf/ActivitiEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.activiti.engine.ProcessEngine]: Factory method 'processEngine' threw exception; nested exception is java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactoryBean': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiException: Could not update Activiti database schema: unknown version from database: '5.20.0.0'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone can help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 04:05:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119291#M84104</guid>
      <dc:creator>tunglk</dc:creator>
      <dc:date>2015-12-17T04:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119292#M84105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The exception says you have 5.20.0.0 as version. Are you running a snapshot version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 14:18:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119292#M84105</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-18T14:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119293#M84106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using 5.19.0 version in: &lt;/SPAN&gt;&lt;A href="http://activiti.org/download.html" rel="nofollow noopener noreferrer"&gt;http://activiti.org/download.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 01:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119293#M84106</guid>
      <dc:creator>tunglk</dc:creator>
      <dc:date>2015-12-21T01:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119294#M84107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@tunglk, maybe you used the same database with the snapshoot version and now you are trying to execute 5.19.0 on the same database ? (without cleaning it before)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's happening if you use a fresh new database ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 09:30:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119294#M84107</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-12-21T09:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Activiti Explorer and REST to use the same database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119295#M84108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@vasile.dirla Thank you so much. I resolved it &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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 01:44:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-activiti-explorer-and-rest-to-use-the-same/m-p/119295#M84108</guid>
      <dc:creator>tunglk</dc:creator>
      <dc:date>2015-12-22T01:44:57Z</dc:date>
    </item>
  </channel>
</rss>

