<?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 Doesn't activiti explorer was include org.activiti.engine.delegate.JavaDelegate? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/doesn-t-activiti-explorer-was-include-org-activiti-engine/m-p/209617#M162747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all and sorry in advance if there is already an answer for my question. I saw other related threads, but not the same situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some java code that I invoke from my custom tasks, I also have my BPM and it all works both from shell/maven or from Eclipse+Activiti&amp;nbsp; (no server or explorer, only from autogenerated Junit Tests executing my BP). My BP runs and invokes all my Java code perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I finally deploy activiti explorer in my tomcat, I place my libraries (jars) in Tomcat classpath and I manually deploy my .bpmn file. It seems to load correctly, so I push the start button in my new process and that's when the problem comes. It says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.ClassNotFoundException: org.activiti.engine.delegate.JavaDelegate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I add to Tomcat classpath one more jar: activiti-engine-5.14.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now the problem is different… and crazy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiIllegalArgumentException: Incompatible type set on field declaration 'roleName' for class com.blah.MyTask. Declared value has type org.activiti.engine.impl.el.FixedValue, while expecting org.activiti.engine.impl.el.FixedValue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems by adding the engine jar there is duplication of classes which (if true) confirms my initial impression: I shouldn't add this engine jar because this is something activiti explorer should already have in the first place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1* Once activiti explorer is successfully running, should I add ONLY my code, or also some activity jars?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2* Did you have this problem? How do you avoid it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3* Just in case, is there any better alternative instead of extending JavaDelegate?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case it helps, so far I only have the basic setup, I mean, I just deployed in tomcat the activitiexplorer was as it comes so only in-memory DB and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much in advance. cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;antonio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 10:03:11 GMT</pubDate>
    <dc:creator>antonio_fornie</dc:creator>
    <dc:date>2015-02-26T10:03:11Z</dc:date>
    <item>
      <title>Doesn't activiti explorer was include org.activiti.engine.delegate.JavaDelegate?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/doesn-t-activiti-explorer-was-include-org-activiti-engine/m-p/209617#M162747</link>
      <description>Hi all and sorry in advance if there is already an answer for my question. I saw other related threads, but not the same situation.I have some java code that I invoke from my custom tasks, I also have my BPM and it all works both from shell/maven or from Eclipse+Activiti&amp;nbsp; (no server or explorer, onl</description>
      <pubDate>Thu, 26 Feb 2015 10:03:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/doesn-t-activiti-explorer-was-include-org-activiti-engine/m-p/209617#M162747</guid>
      <dc:creator>antonio_fornie</dc:creator>
      <dc:date>2015-02-26T10:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't activiti explorer was include org.activiti.engine.delegate.JavaDelegate?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/doesn-t-activiti-explorer-was-include-org-activiti-engine/m-p/209618#M162748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Explorer has the engine jars on its classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the exception java.lang.ClassNotFoundException: org.activiti.engine.delegate.JavaDelegate is really odd and doesn't make sense. Are you using same versions of the engine? Where did you put your custom jar? In the lib or in WEB-INF/lib ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 09:47:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/doesn-t-activiti-explorer-was-include-org-activiti-engine/m-p/209618#M162748</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-28T09:47:12Z</dc:date>
    </item>
  </channel>
</rss>

