* Watter: > > Most of the time the following holds true when I reach that statement: > ---- > Session.get().getClass().getClassLoader() = > org.apache.wicket.application.ReloadingClassLoader > FusionAuthenticatedWebSession.class.getClassLoader() = > org.apache.wicket.application.ReloadingClassLoader > ---- > > However, when I am use the behaviour described earlier in the thread > (browser back button, click any link), I instead see that the following with > that cast: > ---- > Session.get().getClass().getClassLoader() = > org.apache.wicket.application.ReloadingClassLoader > FusionAuthenticatedWebSession.class.getClassLoader() = ContextLoader > ----
That's very interesting. It may be caused by some page deserialization not using the right classloader, when Wicket pulls pages out of the second-level cache. May be worth trying with org.apache.wicket.util.lang.Objects.setObjectStreamFactory(new WicketObjectStreamFactory()) -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user