<?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: Not able to connect activiti BPM 5.22 to standalone H2 database server in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38079#M16053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are models and processes being persisted after a restart of tomcat?&lt;/P&gt;&lt;P&gt;If so, then you are simply pointing your console to a different database (try searching for an activiti.h2.db file).&lt;/P&gt;&lt;P&gt;If not, then you have the configuration incorrect and are still using an in memory database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 17:16:36 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-03-31T17:16:36Z</dc:date>
    <item>
      <title>Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38078#M16052</link>
      <description>Hi there,I am new to Activiti bpm - we are evaluating the product, just starting with it though I have good experience in other BPM products. I am trying to connect activiti BPM to standalone H2 database which I have installed on my machine.Just to elaborate, I have apache tomcat 8.5.12 up and runni</description>
      <pubDate>Fri, 31 Mar 2017 09:07:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38078#M16052</guid>
      <dc:creator>rao_diid</dc:creator>
      <dc:date>2017-03-31T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38079#M16053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are models and processes being persisted after a restart of tomcat?&lt;/P&gt;&lt;P&gt;If so, then you are simply pointing your console to a different database (try searching for an activiti.h2.db file).&lt;/P&gt;&lt;P&gt;If not, then you have the configuration incorrect and are still using an in memory database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:16:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38079#M16053</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-03-31T17:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38080#M16054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pramod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my experience this is generally caused by pathing confusions. When you're application, in this case Activiti, utilizes H2 - it creates the local file for the database in the context of the application's location knowledge.&lt;BR /&gt;However,&amp;nbsp;I believe - where ever you start the 'h2 console' jar from is referencing its own context. So when trying to connect to an H2 database, I've found that it's generally the easiest to guarantee a connection if you use the full, absolute path of the database location.&lt;BR /&gt;&lt;BR /&gt;Remember, you're able to login and interact with the app, so the database is there - and the console is working but not seeing the database - so it's probably a location issue. If the right DB file is available, those tables will show up - and it isn't available, H2 synthesizes a file where you specified, which is, of course, empty.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-JEarles&lt;BR /&gt;bp3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 17:35:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38080#M16054</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-03-31T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38081#M16055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Greg and&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;JEarles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;I am able to login to activiti explorer, can see activiti.H2.db file in C:\users\userName directory. Please could you advise what is the url I should use to connect to this database through H2 console.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;I am using&amp;nbsp;jdbc:h2:~/activiti as jdbc.url in db.properties file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Pramod&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38081#M16055</guid>
      <dc:creator>rao_diid</dc:creator>
      <dc:date>2017-03-31T18:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38082#M16056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've also tried to use&amp;nbsp;jdbc:h2:file:C:/Users/Admin/activiti as jdbc url in the H2 console, still seeing a blank database. Kindly help/advise if I am doing anything wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly note I have not executed any db creation scripts etc. I have just followed these steps -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Change jdbc.url in db.properties from IN MEM database to&amp;nbsp;jdbc:h2:~/activiti.&lt;/P&gt;&lt;P&gt;2. Then I started H2 first.&lt;/P&gt;&lt;P&gt;3. Started Tomcat, able to login to activiti explorer console with kermit/kermit and other users.&lt;/P&gt;&lt;P&gt;4. In the H2 web console gave jdbc url as&amp;nbsp;&lt;SPAN&gt;jdbc:h2:file:C:/Users/&lt;/SPAN&gt;&lt;SPAN&gt;Admin&lt;/SPAN&gt;&lt;SPAN&gt;/activiti and hit connect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After doing these steps I just see an empty schema/database. Kindly help/advise to fix this, this would help us evaluate the product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pramod&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 19:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38082#M16056</guid>
      <dc:creator>rao_diid</dc:creator>
      <dc:date>2017-03-31T19:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38083#M16057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just use the same url&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;jdbc:h2:file:C:/Users/&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Admin&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;/activiti&lt;/SPAN&gt;&amp;nbsp;in&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;db.properties&amp;nbsp;too?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Apr 2017 23:44:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38083#M16057</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-04-02T23:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect activiti BPM 5.22 to standalone H2 database server</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38084#M16058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before we work on the H2 console.&lt;/P&gt;&lt;P&gt;Are you able to see the content of the DB tables in the admin tab of activiti-explorer?&lt;/P&gt;&lt;P&gt;If so, does the content of these tables remain after a restart of Tomcat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask these questions to make sure your db.properties setting are correct and that you aren't dropping and recreating the database on restart (this is an option).&lt;/P&gt;&lt;P&gt;If the above all work as you would expect (i.e. database remains intact after an restart and you can see records in the tables from activiti-explorer) then you should simply need to set the path to the DB file in your H2 console properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 16:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-to-connect-activiti-bpm-5-22-to-standalone-h2-database/m-p/38084#M16058</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-04-03T16:24:19Z</dc:date>
    </item>
  </channel>
</rss>

