thank you very much JB!
(then I have to learn how to make fragments :-D)

Have a nice day

Il giorno ven 25 mar 2016 alle ore 09:02 Jean-Baptiste Onofré <
[email protected]> ha scritto:

> Hi Cristiano,
>
> it should be a fragment of the Hazelcast bundle.
>
> Regards
> JB
>
> On 03/25/2016 09:00 AM, Cristiano Costantini wrote:
> > Hi All,
> >
> > If I want to configure persistence in the hazelcast.xml and I add a
> > MapStore configuration like this:
> >
> > <map-store
> >
> enabled="true"><class-name>com.hazelcast.examples.DummyStore</class-name><write-delay-seconds>60</write-delay-seconds><write-batch-size>1000</write-batch-size><write-coalescing>true</write-coalescing></map-store>
> >
> > How and where I can publish the com.hazelcast.examples.DummyStore class
> > in order to avoid the exception:
> >
> > 2016-03-25 08:44:01,467 | WARN  | pool-46-thread-1 | Activator
> >               | 109 - org.apache.karaf.cellar.hazelcast - 4.0.0 | Error
> > starting activator
> > com.hazelcast.core.HazelcastException: java.lang.ClassNotFoundException:
> > com.hazelcast.examples.DummyStore
> > at
> >
> com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:67)[15:com.hazelcast:3.5.2]
> > at
> >
> com.hazelcast.map.impl.mapstore.StoreConstructor.getStoreFromClassOrNull(StoreConstructor.java:84)[15:com.hazelcast:3.5.2]
> > [...]
> > at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
> > at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
> > at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
> > Caused by: java.lang.ClassNotFoundException:
> > com.hazelcast.examples.DummyStore
> > at
> >
> org.apache.karaf.cellar.core.utils.CombinedClassLoader.findClass(CombinedClassLoader.java:60)[107:org.apache.karaf.cellar.core:4.0.0]
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[:1.8.0_60]
> > [...]
> > at
> >
> com.hazelcast.map.impl.mapstore.StoreConstructor.getStoreFromClassOrNull(StoreConstructor.java:82)[15:com.hazelcast:3.5.2]
> > ... 28 more
> >
> >
> >
> > Thanks !
> > Cristiano
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to