<?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: Process Variable Problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113515#M79927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, but there is a problem with the serializable variable-type in case a serializable class isn't loaded by the class-loader they loaded the activiti-engine jar itself, when DEserializing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to wait for 5.11, beginning of next month, use 5.11-SNAPSHOT OR use a custom variable-type that fixes the deserialisation&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 08:16:21 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-11-21T08:16:21Z</dc:date>
    <item>
      <title>Process Variable Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113512#M79924</link>
      <description>Hi,I am using the activity engine in a small web application configured like this:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ProcessEngines.init();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ProcessEngineConfiguration engConf = ProcessEngineConfiguration&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.createStandaloneProcessEngineConfiguration();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;engConf.setDataSourceJndiName(dataSourceJndiN</description>
      <pubDate>Mon, 19 Nov 2012 01:34:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113512#M79924</guid>
      <dc:creator>se040</dc:creator>
      <dc:date>2012-11-19T01:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Process Variable Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113513#M79925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems like a classloading-issue, I guess it has something to do with this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;engConf.setClassLoader(Thread.currentThread().getContextClassLoader()); //added after problem ocurred!&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Pleas note, activiti chains class-loading (first custom class loader set on engConf, second CurrentThread.CCL, and lastly class-local one. It seems that these class loaders aren't used when deserializing the variables, this will be resolved (also see &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/pull/3/files" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/pull/3/files&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A solution for now (until 5.11 is released) is to use a custom variable-type (extending serializableType) deserializing the object using the right class loader.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 09:10:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113513#M79925</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-19T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Process Variable Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113514#M79926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the answer, but I didn't really understand what you mean by using a custom variable type, sorry. All the variables / types I use implement Serializable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 03:06:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113514#M79926</guid>
      <dc:creator>se040</dc:creator>
      <dc:date>2012-11-20T03:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Process Variable Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113515#M79927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, but there is a problem with the serializable variable-type in case a serializable class isn't loaded by the class-loader they loaded the activiti-engine jar itself, when DEserializing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to wait for 5.11, beginning of next month, use 5.11-SNAPSHOT OR use a custom variable-type that fixes the deserialisation&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 08:16:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-variable-problem/m-p/113515#M79927</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-21T08:16:21Z</dc:date>
    </item>
  </channel>
</rss>

