<?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: Working with H2 database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15111#M6566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi jbarrez&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the total summary of my approach&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first i downloaded activiti designer plugins using "eclipse s/w updates" then i created Activiti project and included all the actviti jars through "eclipse build path". after creation of project these are the folders which i found in my package explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i attached the file with name "package_explorer". there is nothing inside "src/test/resources".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then i tried programing for the workflow using following snippet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;package org.activiti;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.ProcessEngine;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.ProcessEngineConfiguration;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class SampleTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private static ProcessEngine processEngine;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public static void main(String[] args)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(processEngine==null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngine processEngine=ProcessEngineConfiguration.createStandaloneProcessEngineConfigurationFromResource("activiti.cfg.xml").buildProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("processengine"+processEngine.getName());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then i am getting following error "actviti.cfg.xml" file not found&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if i dont specify the file name and tried building with "createdefaultprocessengine" then i am getting above first said error, which is "database tables are not found"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;note: i am not using anything other than these. namely no server, no database installation and all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2011 11:25:43 GMT</pubDate>
    <dc:creator>koteswarrao</dc:creator>
    <dc:date>2011-03-16T11:25:43Z</dc:date>
    <item>
      <title>Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15107#M6562</link>
      <description>Hii am new to H2 database and to activiti as well.now we are in design phase of our prject and wants to decide which workflow should we use.i am developing some prototype application to verify whether activiti fits to my project.i wanted to connect to H2 database without any server support, i config</description>
      <pubDate>Wed, 16 Mar 2011 05:29:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15107#M6562</guid>
      <dc:creator>koteswarrao</dc:creator>
      <dc:date>2011-03-16T05:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15108#M6563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easiest is to use the H2 database that is used in the demo setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the userguide how you can access it : &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#inspecting.database" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#inspecting.database&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 08:09:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15108#M6563</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-03-16T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15109#M6564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi jbarrez&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thankyou for the quick reply. i tried to looking into it and i found only the following things in it and moreover i dont want to depend on apache tomcat server, i just want to work as a standalone JAVA application(like simple java program with database connectivity).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you please guide me on this, because my project is in design phase now and i have to decide whether we can proceed development with activiti or not&amp;nbsp; and i need to give presentation next week to my Teamlead on this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here i am attaching the sample H2 database web console(you can notice that, what all things i am able to visualise through H2 console, this is working only when i build it using ant demo.start)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Koteswar Rao&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 08:22:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15109#M6564</guid>
      <dc:creator>koteswarrao</dc:creator>
      <dc:date>2011-03-16T08:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15110#M6565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't need the whole demo setup, you could just use the h2 start/stop scripts, without starting the tomcat server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 11:16:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15110#M6565</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-03-16T11:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15111#M6566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi jbarrez&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the total summary of my approach&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first i downloaded activiti designer plugins using "eclipse s/w updates" then i created Activiti project and included all the actviti jars through "eclipse build path". after creation of project these are the folders which i found in my package explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i attached the file with name "package_explorer". there is nothing inside "src/test/resources".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then i tried programing for the workflow using following snippet&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;package org.activiti;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.ProcessEngine;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.ProcessEngineConfiguration;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class SampleTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private static ProcessEngine processEngine;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public static void main(String[] args)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(processEngine==null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngine processEngine=ProcessEngineConfiguration.createStandaloneProcessEngineConfigurationFromResource("activiti.cfg.xml").buildProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("processengine"+processEngine.getName());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then i am getting following error "actviti.cfg.xml" file not found&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if i dont specify the file name and tried building with "createdefaultprocessengine" then i am getting above first said error, which is "database tables are not found"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;note: i am not using anything other than these. namely no server, no database installation and all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2011 11:25:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15111#M6566</guid>
      <dc:creator>koteswarrao</dc:creator>
      <dc:date>2011-03-16T11:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15112#M6567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try to build a default process engine, and add&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.setDatabaseSchemaUpdate(true)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;before you call the buildProcessEngine()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 16:33:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15112#M6567</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-03-21T16:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15113#M6568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jbarrez&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your support and information. i am able to set up the standalone environment for Activiti with H2 database. Now i would like to proceed with "DB2" database. how can i configure DB2 database? any help is highly appreciated&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Koteswar Rao&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 04:01:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15113#M6568</guid>
      <dc:creator>koteswarrao</dc:creator>
      <dc:date>2011-03-22T04:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15114#M6569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This chapter in the userguide should get you on your way: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#databaseConfiguration" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#databaseConfiguration&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 06:54:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15114#M6569</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-03-22T06:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15115#M6570</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;ya i tried in that way…but here my DB2 database is a remote system and specified the configuarations as follows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;property name="jdbcUrl" value="jdbc:db2://ipaddress&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ortno/ActivitiTEST:retrieveMessagesFromServerOnGetMessage=true;" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="com.ibm.db2.jcc.DB2Driver" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="username" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="password"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but its not working and giving error like 'the name "DB2/NT" cannot be resolved"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what can i do now??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 07:49:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15115#M6570</guid>
      <dc:creator>koteswarrao</dc:creator>
      <dc:date>2011-03-22T07:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Working with H2 database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15116#M6571</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;This is a known bug in DB2 support (experimental), and will be fixed in 5.4: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-681" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-681&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround you could build activiti yourself with modified database mappings&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:53:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/working-with-h2-database/m-p/15116#M6571</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-03-22T09:53:11Z</dc:date>
    </item>
  </channel>
</rss>

