Questions asked by hspreiterhttps://answers.axonivy.com/questions/asked-by/489/hspreiter/?type=rssQuestions asked by <a href="/users/489/hspreiter" >hspreiter</a>enWed, 05 Aug 2015 10:13:36 -0400Failed to serialize an object of class ch.ivyteam.ivy.event.SystemEvent. After de-serialization this instance will be null.https://answers.axonivy.com/questions/1428/failed-to-serialize-an-object-of-class-ch-ivyteam-ivy-event-systemevent-after-de-serialization-this-instance-will-be-null<p>Hello</p> <p>We repeatedly see this error message in our production logs:</p> <pre><code>05.08.2015 09:00:00.000 ERROR [ch.ivyteam.ivy.scripting.serialization.IvyScriptSerializer] [Incoming--649,XpertIvy,yyy-123] [application=1, requestId=123456789, pmv=app$MyProcessModel$1, task=123456, session=0 (SYSTEM), request=Business Processes/MyProcess/MyMod.mod/eventLink.ivp(1106682.1930715.0.0), executionContext=SYSTEM] Failed to serialize an object of class ch.ivyteam.ivy.event.SystemEvent. After de-serialization this instance will be null. </code></pre> <p>The parameter for the SystemEvent implements Serializable and has a public no arg constructor.</p> <p>We have a 2 Ivy node cluster setup.</p> <p>This error can't be reproduced in a local designer.</p> <p>I can see that SystemEvent doesn't implement Serializable, nor has a default constructor which seems to be a requirement by IvyScriptSerializer if it's not a Collection, Map, Array, Enum or Axis Enum. This, in my opinion, leads to the error in the log.</p> <p>My suspicion is that since our ProcessStartEventBean doesn't support more than one instance and if the event occurs on the same cluster node that processes this SystemEvent the SystemEvent is not serialized. If this is not the case it has to serialize the SystemEvent in order to send it to the master node.</p> <p>Can you confirm this?</p>hspreiterWed, 05 Aug 2015 10:13:36 -0400https://answers.axonivy.com/questions/1428/failed-to-serialize-an-object-of-class-ch-ivyteam-ivy-event-systemevent-after-de-serialization-this-instance-will-be-nullsystemeventUnique or custom URL for JSF pagehttps://answers.axonivy.com/questions/909/unique-or-custom-url-for-jsf-page<p>Hello</p> <p>Is there a way to identify a JSF page by its URL?</p> <p>Or is there a way to modify the urls for the JSF pages?</p> <p>Currently they look like this:</p> <p>/ivy/faces/instances/147C4D28F14CC8CC/MainWindow.xhtml</p> <p>What I would like to do is to have something like this:</p> <p>/ivy/faces/instances<strong>/custom-part</strong>/147C4D28F14CC8CC/MainWindow.xhtml</p> <p>Or:</p> <p>/ivy/faces/instances<strong>/ivy-project-name</strong>/147C4D28F14CC8CC/MainWindow.xhtml</p> <p>Is there a way to do this in ivy or in tomcat?</p>hspreiterTue, 12 Aug 2014 15:15:51 -0400https://answers.axonivy.com/questions/909/unique-or-custom-url-for-jsf-pagejsf