<?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 and JDK 1.8 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162508#M116385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;I am not so very happy with the solution Joram recommended in his blog (see above), because I do not know how our customers will react&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;when we tell them they have to modify all their proceses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not happy neither. But the JDK devs have been changing stuff in the JS engine quite regularly from java 6 onwards. From 7-&amp;gt; 8 is probably the biggest one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Frauke: you could help me by providing a unit test that fails on JDK 8, but works on JDK7.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 10:48:36 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-02-09T10:48:36Z</dc:date>
    <item>
      <title>Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162501#M116378</link>
      <description>Hi,I was wondering if JDK 1.8 is supported in the latest version of Activiti? My current processes seem to run fine in 1.8, but I ran into a little problem that probably is related to the new javascript engine (nashorn) in Java 8.When my process has a &amp;lt;scriptTask id="scripttask1" name="Set notice</description>
      <pubDate>Thu, 01 May 2014 09:21:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162501#M116378</guid>
      <dc:creator>sebas1</dc:creator>
      <dc:date>2014-05-01T09:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162502#M116379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram wrote a blogpost about this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jorambarrez.be/blog/2014/04/24/running-activiti-on-jdk8/" rel="nofollow noopener noreferrer"&gt;http://www.jorambarrez.be/blog/2014/04/24/running-activiti-on-jdk8/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 14:30:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162502#M116379</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-05-06T14:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162503#M116380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That looks like a solution I can work with. It does not describe the error i'm getting, but according to that page I should not be getting one so I have to look outside of activiti for a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Much appreciated for the reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 15:19:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162503#M116380</guid>
      <dc:creator>sebas1</dc:creator>
      <dc:date>2014-05-06T15:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162504#M116381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to close this thread, been digging a bit deeper and I found that in org.activiti.engine.impl.scripting.ScriptingEngines the ScriptEngineManager gets created, and without constructor it uses the classloader from the current thread. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that this is a problem in my environment (probably sbt related) since the classloader cannot find nashorn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 11:42:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162504#M116381</guid>
      <dc:creator>sebas1</dc:creator>
      <dc:date>2014-05-08T11:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162505#M116382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not so very happy with the solution Joram recommended in his blog (see above), because I do not know how our customers will react when we tell them they have to modify all their proceses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that we recommended a script like the following for setting (more than one) process variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scriptTask id="scriptInitData" name="Init Process Data" scriptFormat="javascript"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable("MyVariable1", "myValue1")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; execution.setVariable("MyVariable2", "myValue2")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This script throws the serializable exception on a class of Nashorn itself, named ScriptObjectMirror.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And the suggested solution by adding &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;load("nashorn:mozilla_compat.js");&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to the script does not help here!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't you have a suggestion how to handle this kind of problem in the code instead of the script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frauke&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 07:55:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162505#M116382</guid>
      <dc:creator>frauke</dc:creator>
      <dc:date>2015-01-23T07:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162506#M116383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now I even tried out the trick you presented in&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.jorambarrez.be/blog/2013/03/25/bug-on-jdk-1-7-0_17-when-using-scripttask-in-activiti/" rel="nofollow noopener noreferrer"&gt;http://www.jorambarrez.be/blog/2013/03/25/bug-on-jdk-1-7-0_17-when-using-scripttask-in-activiti/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But it didn't help here….I think nashorn is really a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frauke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:13:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162506#M116383</guid>
      <dc:creator>frauke</dc:creator>
      <dc:date>2015-01-23T08:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162507#M116384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just fyi, problem was never solved for me, we are just keeping that specific project at java 7. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The framework is supposedly the problem, but the developers from the framework i'm using are telling me nothing changed in the class loading, so it is a dead end. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 08:39:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162507#M116384</guid>
      <dc:creator>sebas1</dc:creator>
      <dc:date>2015-01-23T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and JDK 1.8</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162508#M116385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;I am not so very happy with the solution Joram recommended in his blog (see above), because I do not know how our customers will react&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;when we tell them they have to modify all their proceses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not happy neither. But the JDK devs have been changing stuff in the JS engine quite regularly from java 6 onwards. From 7-&amp;gt; 8 is probably the biggest one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Frauke: you could help me by providing a unit test that fails on JDK 8, but works on JDK7.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 10:48:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-jdk-1-8/m-p/162508#M116385</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-09T10:48:36Z</dc:date>
    </item>
  </channel>
</rss>

