Hi Cristiano,

Do you use TCCL ?

Regards
JB

On 06/21/2016 07:20 PM, Cristiano Costantini wrote:
Hello all,

I'm struggling to fix an issue where I am sending a message to topic
over the Hazelcast instance of Cellar.

I get a ClassNotFoundException from within the CombinedClassLoader when
deserializing the topic.

 From the Javadoc of the class I see that "A bundle can add itself for
to this class loader, so that the class loader can load classes from the
bundle. It is meant to be used together with the extender pattern in
order to extends Cellar class space."

But I have no idea how to put in practice this extender pattern...
could you help me?

thank you in advance!

Cristiano


P.S. This the exception full stack trace:

Caused by: java.lang.ClassNotFoundException:
net.cristcost.model.Availability
at
org.apache.karaf.cellar.core.utils.CombinedClassLoader.findClass(CombinedClassLoader.java:60)[270:org.apache.karaf.cellar.core:4.0.0]

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[:1.8.0_60]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_60]
at com.hazelcast.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:125)
at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:114)
at com.hazelcast.nio.IOUtil$1.resolveClass(IOUtil.java:113)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1613)[:1.8.0_60]




--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to