<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: "State of Task must be one of the following values CREATED, RESUMED but is ZOMBIE" error when using Java threads on Ivy start event bean</title><link>https://answers.axonivy.com/questions/880/state-of-task-must-be-one-of-the-following-values-created-resumed-but-is-zombie-error-when-using-java-threads-on-ivy-start-event-bean</link><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In an our Ivy project, we used Ivy trigger to execute many processes (to speed up our services). But it made the Ivy server being slow down so much when many processes are executed. So we use Java threads instead of Ivy trigger, but we get an error about "State of Task must be one of the following values CREATED, RESUMED but is ZOMBIE" sometimes.&lt;/p&gt;
&lt;p&gt;Is anyone know how to solve this problem?&lt;/p&gt;
&lt;p&gt;Thank you in advance&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/880/state-of-task-must-be-one-of-the-following-values-created-resumed-but-is-zombie-error-when-using-java-threads-on-ivy-start-event-bean" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 24 Jul 2014 12:55:21 -0400</lastBuildDate><item><title>Answer by vydong</title><link>https://answers.axonivy.com/questions/880/state-of-task-must-be-one-of-the-following-values-created-resumed-but-is-zombie-error-when-using-java-threads-on-ivy-start-event-bean/882</link><description>&lt;p&gt;Thanks Daniel. But &lt;a href="http://answers.xpertivy.ch/questions/694/how-to-avoid-illegalstateexception-during-login-logout-in-a-script-step"&gt;Task Error&lt;/a&gt; you mentioned above is not my case. I do not do any login &amp;amp; logout in my process. &lt;/p&gt;
&lt;p&gt;In my process, I have an Ivy event bean, I tried to use Java Threads on the Ivy event bean business process, but I got the error about "Can not access Ivy variable", then I changed to use Java Threads on Ivy event bean Java class and it is OK but I get the "task error" problem.&lt;/p&gt;
&lt;p&gt;I am wondering that is it reasonable to use Java Threads on an Ivy process or not.
What is the good way to execute a process asynchronously in Ivy?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">vydong</dc:creator><pubDate>Thu, 24 Jul 2014 12:55:21 -0400</pubDate><guid>https://answers.axonivy.com/questions/880/state-of-task-must-be-one-of-the-following-values-created-resumed-but-is-zombie-error-when-using-java-threads-on-ivy-start-event-bean/882</guid></item><item><title>Answer by Daniel Oechslin</title><link>https://answers.axonivy.com/questions/880/state-of-task-must-be-one-of-the-following-values-created-resumed-but-is-zombie-error-when-using-java-threads-on-ivy-start-event-bean/881</link><description>&lt;p&gt;This looks similar to &lt;a href="http://answers.xpertivy.ch/questions/694/how-to-avoid-illegalstateexception-during-login-logout-in-a-script-step"&gt;Task Error&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Oechslin</dc:creator><pubDate>Thu, 24 Jul 2014 11:44:30 -0400</pubDate><guid>https://answers.axonivy.com/questions/880/state-of-task-must-be-one-of-the-following-values-created-resumed-but-is-zombie-error-when-using-java-threads-on-ivy-start-event-bean/881</guid></item></channel></rss>