Jean-Baptiste Quenot-3 wrote:
> 
> * 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())
> 
When I do this, I get "Page Expired" errors after using my back button and
then clicking a link. This happens regardless of what I'm doing with
reloading (i.e. disabled or enabled). When I switch to the default JDK
serialization or just don't specify anything for serialization, things work
as expected with reloading disabled but I get the same ClassCastException as
before with reloading enabled.

Does the fact that I'm seeing Page Expired errors with
WicketObjectStreamFactory indicate that I have another issue that's
unrelated to the reloading filter that I need to fix?


-- 
View this message in context: 
http://www.nabble.com/Has-something-changed-in-markup-inheritance--tf3963374.html#a11411673
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to