Hi Eelco, >>> Is there a How-to for OSGI and wicket, not from pax >>> I managed to install jetty servlet api in equinox...now I have to install >>> wicket somehow >> >> Good luck! >> >> Due to serialization issues, it's not an easy problem to solve. >> >> I don't know of any "how-to". All I can say is that you have a long road >> ahead of you. > > Really? That's disappointing. I thought introducing IClassResolver way > back when and asking OSGi people to work with that did the trick? How > come it doesn't?
The IClassResolver does indeed make it possible, but not necessarily easy. OSGi (or at least "proper" use thereof) is very strict in terms of which packages can be seen by which other packages. In many cases, the actual classes that are serialized are dependencies of dependencies of depen... you get the idea. The problem that nobody appears to have take the time to solve in a satisfactory way is that upon deserialization, the actual classes being deserialized are not visible to the bundle that is doing the deserialization, so a CNFE is thrown. Cheers, =David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
