Hi, If I get your problem right you need either enable peer class loading on both the client and the server or make sure that all required class definitions are available on the classpath of the client. https://apacheignite.readme.io/v2.0/docs/deployment-modes#section-configuration
Kind regards, Alex. On Thu, Jun 15, 2017 at 10:42 AM, Helge Waastad [via Apache Ignite Users] < [email protected]> wrote: > Hi, > I'm pretty new to the Apache Ignite. > I'm working with peerclassloading and need to understand a couple of thing. > > Scenario: > 1x server and 1x client > > Cache: > CacheConfiguration<String, List> cc = new CacheConfiguration<>("my- > cache"); > > Code creating classnotfound: > FluidGridItem item = new FluidGridItem(UUID.randomUUID()); > List<FluidGridItem> ll = new ArrayList<>(); > ll.add(item); > cache.put(key, ll); > > Code loading class ok: (INFO: Class locally deployed: class > org.primefaces.extensions.model.fluidgrid.FluidGridItem) > FluidGridItem item = new FluidGridItem(UUID.randomUUID()); > List<FluidGridItem> ll = new ArrayList<>(); > ll.add(item); > cache.put(key, Arrays.asList(ll.toArray())); > > > Can someone please explain why this is? > (It's been a headache resolving this - been trying to get a JCS project > migrated to Ignite) > > br hw > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/Understanding- > peerclassloading-tp13805.html > To start a new topic under Apache Ignite Users, email > [email protected] > To unsubscribe from Apache Ignite Users, click here > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=YWxleGFuZGVyLmZlZG90b2ZmQGdtYWlsLmNvbXwxfC0xMzYxNTU0NTg=> > . > NAML > <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Understanding-peerclassloading-tp13805p13816.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
