Hi Chris,

This happens because you tried to create a near cache on a server node. If
that's what you're trying to achieve, then provide near cache configuration
in CacheConfiguration.setNearConfiguration(..) method.

However, the most common use case for a near cache is to have it on a client
node which doesn't store any data. In this case your code is correct, but
the node you're running it on should be in client mode:
https://apacheignite.readme.io/docs/clients-vs-servers

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Question-about-creating-near-cache-tp10099p10101.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to