---------- Forwarded message ---------- From: Amila Jayasekara <[email protected]> Date: Thu, Jun 14, 2012 at 5:10 PM Subject: Re: Error -Remember Me Carbon login UI To: Dushan Abeyruwan <[email protected]>
Hi Dushan, This could possible be due to the non-serializable objects we put inside session. If we put a non-serializable object that will not get persisted during session persistence. So once you restart, the session will get restored. But non-serializable objects will not be there in the session. In earlier releases we disabled session persistence. So when you restart the server and if someone try to invoke a service he will be re-authenticated. Basically will be directed to dashboard. (Since you have enabled remember me). But now we have enabled session persistence and after a restart we have the sessions and according to session user is already authenticated. But current JSP page might be referring to non-serialized objects which are not persisted during restart. So to solve this we need to figure to which non-serializable object it is trying to invoke. Either we have to make it serializable or else we have to handle the situation of not having object in the session. Thanks AmilaJ On Thu, Jun 14, 2012 at 2:59 PM, Dushan Abeyruwan <[email protected]> wrote: > Hi > Regarding the following issue https://wso2.org/jira/browse/CARBON-13142 > and the QA team informed that this has already reported can you please let > me know any update on this ASAP > > How to recreate > ------------------------ > 1. Before login click "Remember Me" then login > 2. Then shutdown the server and restart it again > 3. Re-login click any of the list given in the description you will find > error similar to this > -14 14:50:29,523] INFO - CarbonUIServiceComponent Mgt Console > URL : https://10.200.3.173:9443/carbon/ > [2012-06-14 14:50:36,559] ERROR - SequenceAdmin Unable to get Dynamic > Sequence Info > java.lang.NullPointerException > at > org.wso2.carbon.sequences.services.SequenceAdmin.getMimeTypeResult(SequenceAdmin.java:180) > at > org.wso2.carbon.sequences.services.SequenceAdmin.getDynamicSequences(SequenceAdmin.java:128) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) > at > org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) > at > org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageRecei > > cheers, > Dushan Abeyruwan > Senior Software Engineer > Integration Technologies Team > WSO2 Inc. http://wso2.com/ > Mobile:(+94)714408632 -- Mobile : +94773330538 -- Dushan Abeyruwan *Senior Software Engineer* *Integration Technologies Team* *WSO2 Inc. http://wso2.com/* *Mobile:(+94)714408632*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
