<?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-osgi classloader issue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98694#M68080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should try that approach, indeed (setting the class loader).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 07:03:33 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-07-19T07:03:33Z</dc:date>
    <item>
      <title>activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98691#M68077</link>
      <description>Hi,I have two bundles : activiti-osgi-karaf: configures and starts process engine (depends on activiti-osgi)activiti-osgi-process: contains process.bpmn20.xml, java delegates, process-request beanreference: activiti-in-action book. java delegates are binded into osgi container as serviceprocess-requ</description>
      <pubDate>Tue, 17 Jul 2012 19:03:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98691#M68077</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-07-17T19:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98692#M68078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure your ProcessRequestBean implements Serializable. If it's a simple service-task, the process is not persisted and the POJO is still in memory (variable values are cached). Once you have an async, it's serialized to DB and when job-executor does the async work, it's de-serialized again when needed…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you did implement Serializable, it's indeed an issue with classloading in the job-executor… Can you debug to see what's causing the " org.activiti.engine.ActivitiException: coudn't deserialize object in variable 'request'" in the first place?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 06:15:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98692#M68078</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-18T06:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98693#M68079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Make sure your ProcessRequestBean implements Serializable. If it's a simple service-task, the process is not persisted and the POJO is still in memory (variable values are cached). Once you have an async, it's serialized to DB and when job-executor does the async work, it's de-serialized again when needed…&lt;BR /&gt;&lt;BR /&gt;If you did implement Serializable, it's indeed an issue with classloading in the job-executor… Can you debug to see what's causing the " org.activiti.engine.ActivitiException: coudn't deserialize object in variable 'request'" in the first place?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;frederikheremans&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessRequestBean does implements Serializable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I debugged, the issue appears to be de-serializing the ProcessRequestBean&amp;nbsp; bytes&amp;nbsp; from the db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears to be classloader issue. ProcessRequestBean&amp;nbsp; classloader, is perhaps, not available in the activiti-osgi-karaf bundle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think the following may help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=4&amp;amp;t=1433&amp;amp;start=0" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=4&amp;amp;t=1433&amp;amp;start=0&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 17:56:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98693#M68079</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-07-18T17:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98694#M68080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should try that approach, indeed (setting the class loader).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 07:03:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98694#M68080</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-19T07:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98695#M68081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi frederikheremans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I further looked into this issue and it appears that it might be related to OSGi bundling of activiti-engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;activiti engine need to allow importing client packages in addition to its own dependencies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since these packages/classes are not known during activiti-engine bundle/build time, the MANIFEST.MF file should contain something like below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DynamicImport-Package: *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at libraries similar to activiti and they use the same mechanism to allow loading client packages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know your thought and if you want me to test/work on this while I am working on other osgi issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;activiti newbie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You should try that approach, indeed (setting the class loader).&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2012 04:43:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98695#M68081</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-07-21T04:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98696#M68082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this would be good to work on and test to allow cross-bundle imports, not know at build-time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 06:40:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98696#M68082</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-23T06:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-osgi classloader issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98697#M68083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you able to solve this problem? I also got in to a similar issue , when JobExecutor is trying to access the service task which is deployed in a different bundle. I am getting a class not found exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Oct 2013 20:42:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-osgi-classloader-issue/m-p/98697#M68083</guid>
      <dc:creator>rahulkrs</dc:creator>
      <dc:date>2013-10-06T20:42:18Z</dc:date>
    </item>
  </channel>
</rss>

