<?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: Is the Activiti QuickStart example not working or out of date in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4572#M2073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Thong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am moving forward with deploying the download and using the GIT repo for&lt;/P&gt;&lt;P&gt;code. I was only trying to fix documentation issues. I still believe&lt;/P&gt;&lt;P&gt;there's a Spring configuration file or something not mentioned to point at&lt;/P&gt;&lt;P&gt;the SQL files. I will likely determine how the DB is created/updated as I&lt;/P&gt;&lt;P&gt;work through a complete deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jan 2017 22:42:28 GMT</pubDate>
    <dc:creator>matykiewicz</dc:creator>
    <dc:date>2017-01-29T22:42:28Z</dc:date>
    <item>
      <title>Is the Activiti QuickStart example not working or out of date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4568#M2069</link>
      <description>I am working through the QuickStart guide (Quick Start Guide | Activiti.org&amp;nbsp;)and I get a runtime error. I did not see any issue in Jira. I thought I'd ask if someone can spot the error or give me a better quickstart. Here most of the info:The error (more detail below):Exception in thread "main" org.</description>
      <pubDate>Wed, 25 Jan 2017 22:44:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4568#M2069</guid>
      <dc:creator>matykiewicz</dc:creator>
      <dc:date>2017-01-25T22:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is the Activiti QuickStart example not working or out of date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4569#M2070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;B&gt;James Matykiewicz&lt;/B&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;Activiti quick start guide is up to date and should work. It works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/12197_activitiquickstart.PNG" style="width: 620px; height: 296px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like there is something wrong during the DB creation process when the engine is created in your case. Looking at your pom.xml, I see you included the ibatis dependencies. You don't really need to do that. But that should not create any problem as well. So strange. Maybe you want to take them out and try again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong Huynh&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>Thu, 26 Jan 2017 10:49:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4569#M2070</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-01-26T10:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is the Activiti QuickStart example not working or out of date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4570#M2071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thong Huynh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, removing the ibatis dependency fixed the error. &amp;nbsp;Now, &amp;nbsp;as I work through other problems, I am stuck on this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If I use the default JDBC URL of "mem", no ACT_ tables are created, so I get an error like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[main] DEBUG org.activiti.engine.impl.persistence.entity.PropertyEntity.selectDbSchemaVersion - ==&amp;gt; Preparing: select VALUE_ from ACT_GE_PROPERTY where NAME_ = 'schema.version' &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[main] ERROR org.activiti.engine.impl.interceptor.CommandContext - Error while closing command context&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;org.activiti.engine.ActivitiException: no activiti tables in db. set &amp;lt;property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do I have to add the activiti.h2.xxx.yyy.sql files somewhere in the classpath?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding a activiti.cfg.xml to src/main/resources, but this did not fix the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding a db.properties file to src/main/resources, but this did not fix the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing the StandaloneProcessEngineConfiguration.setDatabaseSchema() to DB_SCHEMA_UPDATE_CREATE_TRUE in both the Java code and the activiti.cfg.xml &amp;nbsp;which did not work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it looks like the activiti database schema is not being loaded, so ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started an external H2 database, changes the JDBC URL to use tcp://localhost/~/activiti, and I manually added the engine schema to this DB, now when I run the QuickStart application, I get a different&amp;nbsp;'no tables' problem and see an error showing I did not get the table name correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[main] DEBUG org.activiti.engine.impl.interceptor.LogInterceptor - --- SchemaOperationsProcessEngineBuild finished --------------------------------------------------------&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;[main] DEBUG org.activiti.engine.impl.interceptor.LogInterceptor -&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Exception in thread "main" org.activiti.engine.ActivitiException: Activiti database problem: Tables missing for component(s) engine, history, identity&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at org.activiti.engine.impl.db.DbSqlSession.dbSchemaCheckVersion(DbSqlSession.java:935)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1419)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:27)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2017 22:40:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4570#M2071</guid>
      <dc:creator>matykiewicz</dc:creator>
      <dc:date>2017-01-26T22:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is the Activiti QuickStart example not working or out of date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4571#M2072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many different ways to invoke the Activiti process engine. The one being used in the guideline uses the StandaloneConfigure which is an extension of the ProcessEngineConfiguration. This will create the database tables when the engine is invoked. Your error logs show that no tables were created then the engine is started. So double check again in your main class to see if you have followed the instruction correctly at step 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;public&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;class&lt;/SPAN&gt; &lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;OnboardingRequest&lt;/SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;public&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;static&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;main&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt;(String[] args) { ProcessEngineConfiguration cfg = &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-weight: bold; font-size: 11px;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; StandaloneProcessEngineConfiguration() .setJdbcUrl(&lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;"jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000"&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt;) .setJdbcUsername(&lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;"sa"&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt;) .setJdbcPassword(&lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt;) .setJdbcDriver(&lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;"org.h2.Driver"&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt;) .&lt;SPAN style="color: #ff9900;"&gt;setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);&lt;/SPAN&gt; ProcessEngine processEngine = cfg.buildProcessEngine(); String pName = processEngine.getName(); String ver = ProcessEngine.VERSION; System.out.println(&lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;"ProcessEngine ["&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; + pName + &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;"] Version: ["&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt; + ver + &lt;/SPAN&gt;&lt;SPAN class="" style="background: transparent; border: 0px; font-size: 11px;"&gt;"]"&lt;/SPAN&gt;&lt;SPAN style="background-color: #f8f8f8;"&gt;); } }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong&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;P&gt;&lt;SPAN style="color: #333333; background-color: #f8f8f8;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 02:19:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4571#M2072</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-01-27T02:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is the Activiti QuickStart example not working or out of date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4572#M2073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Thong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am moving forward with deploying the download and using the GIT repo for&lt;/P&gt;&lt;P&gt;code. I was only trying to fix documentation issues. I still believe&lt;/P&gt;&lt;P&gt;there's a Spring configuration file or something not mentioned to point at&lt;/P&gt;&lt;P&gt;the SQL files. I will likely determine how the DB is created/updated as I&lt;/P&gt;&lt;P&gt;work through a complete deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 22:42:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4572#M2073</guid>
      <dc:creator>matykiewicz</dc:creator>
      <dc:date>2017-01-29T22:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is the Activiti QuickStart example not working or out of date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4573#M2074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing&amp;nbsp;&lt;A __default_attr="165558" __jive_macro_name="user" _jive_internal="true" class="jive_macro jive_macro_user link-titled" href="https://community.alfresco.com/people/matykiewicz" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you needs anymore help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong Huynh&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>Tue, 31 Jan 2017 16:00:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-the-activiti-quickstart-example-not-working-or-out-of-date/m-p/4573#M2074</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-01-31T16:00:05Z</dc:date>
    </item>
  </channel>
</rss>

