<?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: Reuse of Java delegate class fails in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210498#M163628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Upgrade to Tomcat 7.0.57 and Java 1.7.0_71 unfortunately made no any effect&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 07:12:38 GMT</pubDate>
    <dc:creator>pekour</dc:creator>
    <dc:date>2014-12-18T07:12:38Z</dc:date>
    <item>
      <title>Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210497#M163627</link>
      <description>Hello everyone.I'm Activiti of version 5.16.3.0 on Tomcat 7.0.32 and Java 1.7.0_09. Generally i need to use the loop which will contain Java Delegate task, but I encountered the problem with delegate class instantiating. After variable number of iterations the task fails with the stack trace in the</description>
      <pubDate>Wed, 17 Dec 2014 14:34:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210497#M163627</guid>
      <dc:creator>pekour</dc:creator>
      <dc:date>2014-12-17T14:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210498#M163628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Upgrade to Tomcat 7.0.57 and Java 1.7.0_71 unfortunately made no any effect&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 07:12:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210498#M163628</guid>
      <dc:creator>pekour</dc:creator>
      <dc:date>2014-12-18T07:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210499#M163629</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;CODE&gt;&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.dummy.DummyDelegate&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;Is &lt;/SPAN&gt;&lt;CODE&gt;com.dummy.DummyDelegate&lt;/CODE&gt;&lt;SPAN&gt; class in the classpath?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 07:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210499#M163629</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-12-18T07:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210500#M163630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Of course. I may be missed to emphasize that it works for the first occurence of the java task and the error triggers only for the second one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 07:21:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210500#M163630</guid>
      <dc:creator>pekour</dc:creator>
      <dc:date>2014-12-18T07:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210501#M163631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you create jUnit test for it (to be able to reproduce the issue easily)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 07:49:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210501#M163631</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-12-18T07:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210502#M163632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again. I've attached the testcase with txt extention since zips are not allowed here. The testcase shows that the process is still stuck after 15 seconds and the second execution of the delegate doesn't happen, but i'm not sure how to take a look into the H2 database in order to get the stacktrace from the ACT_GE_BYTEARRAY.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 08:49:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210502#M163632</guid>
      <dc:creator>pekour</dc:creator>
      <dc:date>2014-12-18T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210503#M163633</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;add&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true"/&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;to &lt;/SPAN&gt;&lt;CODE&gt;activiti.cfg.xml&lt;/CODE&gt;&lt;SPAN&gt; file. JobExecutor is not activated by default. Another possibility is to use &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.engine.impl.test.AbstractActivitiTestCase#waitForJobExecutorToProcessAllJobs&lt;/CODE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 07:10:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210503#M163633</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-12-19T07:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse of Java delegate class fails</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210504#M163634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the idea. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that i finally found the reason of the failure: i had several activiti installations connected to the same db and their shared the execution of the loop while having differend codebase because in 5.16.3 jobExecutorActivate is true by default in activiti-explorer.war.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Dec 2014 08:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reuse-of-java-delegate-class-fails/m-p/210504#M163634</guid>
      <dc:creator>pekour</dc:creator>
      <dc:date>2014-12-26T08:21:11Z</dc:date>
    </item>
  </channel>
</rss>

