<?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 Activiti Explorer - External database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165106#M118815</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;&amp;nbsp; I'd like to connect an activiti explorer instance to an external Activiti database (used by an Activiti engine embedded into another application).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Is there any manner to override the db.properties of Activiti Explorer without modifying the file directly into the war archive ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 09:51:58 GMT</pubDate>
    <dc:creator>mvincent</dc:creator>
    <dc:date>2013-10-14T09:51:58Z</dc:date>
    <item>
      <title>Activiti Explorer - External database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165106#M118815</link>
      <description>Hi,&amp;nbsp; I'd like to connect an activiti explorer instance to an external Activiti database (used by an Activiti engine embedded into another application). Is there any manner to override the db.properties of Activiti Explorer without modifying the file directly into the war archive ?Thanks in advanceMa</description>
      <pubDate>Mon, 14 Oct 2013 09:51:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165106#M118815</guid>
      <dc:creator>mvincent</dc:creator>
      <dc:date>2013-10-14T09:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Explorer - External database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165107#M118816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't found the way yet; currently I deploy the WAR file in tomcat, wait for it to be expanded and then overwrite the db.properties (and activiti-context.xml) files and restart. However, that is not a very nice and stable way to do it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd be happy to hear any other thoughts…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 08:11:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165107#M118816</guid>
      <dc:creator>marksinke</dc:creator>
      <dc:date>2013-10-15T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Explorer - External database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165108#M118817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I did not try any of proposed ideas. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Another way could be to create pull request with the following change:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;file: /WEB-INF/activiti-standalone-context.xml&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;lt;bean id="dbProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="location" value="classpath:db.properties" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; /**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; * Check system properties first, before trying the specified properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; * This allows system properties to override any other property source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="systemPropertiesMode" value="2" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Allow other PropertyPlaceholderConfigurer to run as well –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="ignoreUnresolvablePlaceholders" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/bean&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;2. hack: place your modified db.properties file in&amp;nbsp; the classpath in front of the default db.properties from activiti explorer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 18:52:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165108#M118817</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-10-16T18:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Explorer - External database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165109#M118818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;another way is described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/pull/148" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/pull/148&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 10:46:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-explorer-external-database/m-p/165109#M118818</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-10-17T10:46:16Z</dc:date>
    </item>
  </channel>
</rss>

