Hi Hervé,
Karaf itself doesn't provide a DOSGi implementation. However, you can
install Karaf Cellar in your Karaf instance: Cellar provides a DOSGi
implementation (powered by Hazelcast).
Another possible DOSGi implementation in Karaf is to use CXF DOSGi.
Regards
JB
On 04/25/2012 09:53 AM, Hervé BARRAULT wrote:
Hi, thanks for the tip.
I just think that Karaf provides DOSGi implementation [not in my old
version]. I guess this implementation has the right implementation of
serialization.
Regards
Hervé
On Tue, Apr 24, 2012 at 10:45 PM, Christian Schneider
<[email protected] <mailto:[email protected]>> wrote:
As you can not change the jdk code I think such a workaround is
acceptable.
Btw. It is a good practice to save the old ThreadContextClassLoader
and restore it after the call.
Christian
Am 24.04.2012 22 <tel:24.04.2012%2022>:08, schrieb Hervé BARRAULT:
Hi, i did a really ugly quick fix using ThreadContextClassLoader
and it is working (using resolveClass for ObjectInputStream).
I say ugly because it is still based on class name [not OSGI
compliant] but it validates the ThreadContextClassLoader
"Workaround".
Thanks
Regards
hervé
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com