Questions Tagged With ivyhttps://answers.axonivy.com/tags/ivy/?type=rss&user=Lars%20Tuchelquestions tagged <span class="tag">ivy</span>enTue, 09 Jul 2019 07:31:24 -0400Loading classes from WEB-INF/libhttps://answers.axonivy.com/questions/3879/loading-classes-from-web-inf-lib<p>Dear ivyteam</p> <p>In our project we'd like to have the following structure: Our ivy project contains a jar which has some Java interfaces. Then we'd like the implementations for these interfaces in another external jar that we can deploy independently. Our idea was to put into the WEB-INF/lib folder. </p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/example.png"></p> <p>But if we try to load the class from the jar (using <code>ClassLoader#loadClass</code>) we get a <code>NoClassDefFound</code> exception. Is there any way to get such a structure to work? Maybe with some class loader magic?</p> <p>Best regards Lars</p>Lars TuchelTue, 09 Jul 2019 07:31:24 -0400https://answers.axonivy.com/questions/3879/loading-classes-from-web-inf-libclassloaderivyIssue with receiving and sending the same signal in a processhttps://answers.axonivy.com/questions/1869/issue-with-receiving-and-sending-the-same-signal-in-a-process<p>Hi everyone</p> <p>So I have a process with a User Task that has a signal boundary event that listens to a certain signal X. After the user task is finished I check some values and depending on that I want to send the same signal X. See the image below: </p> <p><img alt="no alt text" src="http://answers.axonivy.com/upfiles/signals.png"></p> <p>But when that signal is sent I get the following exception:</p> <pre><code>java.lang.IllegalStateException: State of Task must be one of the following values CREATED, RESUMED but is DESTROYED at ch.ivyteam.api.API.checkObjectState(API.java:323) at ch.ivyteam.ivy.workflow.internal.Task.end(Task.java:2642) at ch.ivyteam.ivy.workflow.internal.Task$49.execute(Task.java:2618) at ch.ivyteam.ivy.persistence.base.AbstractPersistencyService.execute(AbstractPersistencyService.java:176) at ch.ivyteam.ivy.persistence.base.AbstractPersistencyService.execute(AbstractPersistencyService.java:233) at ch.ivyteam.ivy.persistence.base.ClassPersistencyService.execute(ClassPersistencyService.java:660) [...] </code></pre> <p>I uploaded a demo project here: <a href="https://drive.google.com/file/d/0B3V8Sh7Fl7FXR3dzMFhzVzJlTEk/view?usp=sharing">https://drive.google.com/file/d/0B3V8Sh7Fl7FXR3dzMFhzVzJlTEk/view?usp=sharing</a></p> <p>Thanks in advance</p>Lars TuchelTue, 05 Jul 2016 14:08:11 -0400https://answers.axonivy.com/questions/1869/issue-with-receiving-and-sending-the-same-signal-in-a-processsignalsprocessivy