<?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: Activiti doe not trigger m event listener in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205121#M158251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for the response at my stupid question &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i'm receiving the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiException: couldn't instantiate class com.xxxx.SendMailTaskAssign&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the jar containing my event class in the root/lib dir of tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 07:43:51 GMT</pubDate>
    <dc:creator>amorgos</dc:creator>
    <dc:date>2015-08-20T07:43:51Z</dc:date>
    <item>
      <title>Activiti doe not trigger m event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205119#M158249</link>
      <description>Hello,i'm trying to configure in the process definition a my event listener:&amp;lt;blockcode&amp;gt;&amp;nbsp; &amp;lt;process id="buildxxx" name="Buildxxx" isExecutable="true"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:executionListener class="com…..SendMailTaskAssign" /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&amp;lt;/b</description>
      <pubDate>Wed, 19 Aug 2015 14:16:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205119#M158249</guid>
      <dc:creator>amorgos</dc:creator>
      <dc:date>2015-08-19T14:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti doe not trigger m event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205120#M158250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mario, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You defined the listener as an execution listener in the BPMN XML, not as an event listener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 19:47:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205120#M158250</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-08-19T19:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti doe not trigger m event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205121#M158251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for the response at my stupid question &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i'm receiving the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiException: couldn't instantiate class com.xxxx.SendMailTaskAssign&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the jar containing my event class in the root/lib dir of tomcat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:43:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205121#M158251</guid>
      <dc:creator>amorgos</dc:creator>
      <dc:date>2015-08-20T07:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti doe not trigger m event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205122#M158252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to put the jar containing my event class in WEB-INF/lib of activity-rest war and does work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know why does not work with the jar in root/lib dir of tomcat?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Mario&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:50:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205122#M158252</guid>
      <dc:creator>amorgos</dc:creator>
      <dc:date>2015-08-20T07:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti doe not trigger m event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205123#M158253</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;Generically talking about tomcat class loader there could be some reasons:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. your tomcat is configured to load classes from other path but not (root/lib) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. your web application has a custom class loader. (probably is not your case but it also could be a reason)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. you put this jar in a proper path (visible to the classloader but you didn't restart your tomcat in order to reload it)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you know it's not easy to answer exactly to your question without having access to your tomcat in order to see the tomcat configs, tomcat version, logs,&amp;nbsp; etc… but these coudl be some of the reasons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look here: &lt;/SPAN&gt;&lt;A href="https://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html" rel="nofollow noopener noreferrer"&gt;https://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html&lt;/A&gt;&lt;SPAN&gt; (maybe you already know this url, but it could be useful for the people who see this post and never read about the classloader hierarchy in tomcat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 08:09:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205123#M158253</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-20T08:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti doe not trigger m event listener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205124#M158254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vasile,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm using the same root/lib of tomcat to deploy mysql jar and does work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, never mind &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was just curious to know if someone had my same problem but i can deploy my events in the WEB-INF/lib of activity res war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 08:15:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-doe-not-trigger-m-event-listener/m-p/205124#M158254</guid>
      <dc:creator>amorgos</dc:creator>
      <dc:date>2015-08-20T08:15:15Z</dc:date>
    </item>
  </channel>
</rss>

