<?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: Problem with events in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198649#M151779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You, now it is working, after all &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 17:13:53 GMT</pubDate>
    <dc:creator>swsw1</dc:creator>
    <dc:date>2014-11-12T17:13:53Z</dc:date>
    <item>
      <title>Problem with events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198644#M151774</link>
      <description>I have got a Vaadin application with a Button which throws events of type ClickEvent. Although I imported all activity-jars, there is always a NullPointerException - I cannot create the ProcessEngine. The exception reads as follows&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ervlet.service() for servlet [Vaadin Application] in context with p</description>
      <pubDate>Fri, 24 Oct 2014 08:58:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198644#M151774</guid>
      <dc:creator>swsw1</dc:creator>
      <dc:date>2014-10-24T08:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198645#M151775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you mean that ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine(); gives a NPE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default, Activiti will look for an activiti.cfg.xml file on the classpath. Do you have that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 11:03:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198645#M151775</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-27T11:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198646#M151776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You! Being a noob, I forgot adding the cfg.xml to the classpath. Now, there is still a classloader problem, but the creation of the engine is working now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 08:42:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198646#M151776</guid>
      <dc:creator>swsw1</dc:creator>
      <dc:date>2014-11-03T08:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198647#M151777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forums.activiti.org/" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;swsw 666sdf76&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started programming a new application where I also want to create my process engine based on a activiti.cfg.xml-file (and once again I take the one that is there in the documentation), and again, I am running into a nullpointer exception, and everything I tried in order to add the cfg.xml-file to the classpath did not succeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On running my code on Tomcat, I have a NullPointerException for my "processEngine" remains null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RuntimeService runtimeService = processEngine.getRuntimeService();&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&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;So what do I have to do to add the activiti.cfg.xml to my classpath?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my activiti.cfg.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&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;lt;property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="org.h2.Driver" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="sa" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="mailServerHost" value="mail.my-corp.com" /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="mailServerPort" value="5025" /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/beans&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 15:04:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198647#M151777</guid>
      <dc:creator>swsw1</dc:creator>
      <dc:date>2014-11-07T15:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198648#M151778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just put it on the tomcat classpath: /lib or (better) WEB-INF/lib of the war&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 11:44:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198648#M151778</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-10T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198649#M151779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You, now it is working, after all &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 17:13:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-events/m-p/198649#M151779</guid>
      <dc:creator>swsw1</dc:creator>
      <dc:date>2014-11-12T17:13:53Z</dc:date>
    </item>
  </channel>
</rss>

