<?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 Adding an event listener in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242750#M195880</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;Sorry for the basic question, I'm new to Activiti and Spring.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to add a simple "Hello World" event listener from the guide (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#eventDispatcherListener" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#eventDispatcherListener&lt;/A&gt;&lt;SPAN&gt;) but haven't been able to get it working where I can see the output yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I've done so far:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Compile the MyEventListener class and package it in a JAR, and copy that JAR into &lt;/SPAN&gt;&lt;STRONG&gt;activiti/tomcat/webapps/activiti-app/WEB-INF/lib&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;- Create a activiti.cfg.xml file and save it in &lt;/SPAN&gt;&lt;STRONG&gt;activiti/tomcat/webapps/activiti-app/WEB-INF/classes&lt;/STRONG&gt;&lt;SPAN&gt; with the contents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;beans xmlns="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&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;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&amp;nbsp;&amp;nbsp; &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;"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="eventListeners"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="org.activiti.engine.example.MyEventListener" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then after shutting down and restarting Activiti, stepping through a workflow, I haven't seen any output from MyEventListener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this look right?&amp;nbsp; Am I missing any steps?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 19:24:12 GMT</pubDate>
    <dc:creator>esilkensen</dc:creator>
    <dc:date>2016-06-13T19:24:12Z</dc:date>
    <item>
      <title>Adding an event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242750#M195880</link>
      <description>Hi,Sorry for the basic question, I'm new to Activiti and Spring.I'm trying to add a simple "Hello World" event listener from the guide (http://activiti.org/userguide/index.html#eventDispatcherListener) but haven't been able to get it working where I can see the output yet.What I've done so far:- Com</description>
      <pubDate>Mon, 13 Jun 2016 19:24:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242750#M195880</guid>
      <dc:creator>esilkensen</dc:creator>
      <dc:date>2016-06-13T19:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242751#M195881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(It looks like the forum inserted an "a" tag in the xsi:schemaLocation after posting which isn't actually there)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 19:27:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242751#M195881</guid>
      <dc:creator>esilkensen</dc:creator>
      <dc:date>2016-06-13T19:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242752#M195882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That looks alright to me. How does your event listener look like?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adding-an-event-listener/m-p/242752#M195882</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-20T12:57:11Z</dc:date>
    </item>
  </channel>
</rss>

