Hello,i'm developing a webapp combining osgi (equinox) and wicket. it works fine, except of this case: let's say we've got two bundles - "core" and "chat". the "chat" bundle depends on "core" bundle. now, i've made some modifications to the "chat" bundle, exported it and deployed it to osgi container, leaving the "core" bundle unchanged. because i need the changes to be seen by the "core", i have to refresh it.
and here is the problem. when i now access the webapp, i get an exception which says - MySession can not be cast to org.apache.wicket.Session. i think the problem is that the old session, containing old classes (in some Page store maybe? i'm still a newbie :)) is saved to disk before actually refreshing core classes and then loaded again - but confliting with new, freshly loaded classes. the exception goes away and webapp loads correctly after i restart my browser :) so my question is: do you know about some workaround for this problem? the best scenario would be that the Session will load correctly, but it's not necessary - it can be dropped. i know there's a lot of osgi, but i think this is a wicket problem - but correct me if i'm mistaken. :) thanks for your answers! -- -danoh-
