Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

There are two different types of space proxies, local and clustered. The clustered proxy performs a broadcast read/write, while the local proxy only access the JVM in which it is running. An object with a routing value of 1 belongs in partition 1, so if it is written to partition 2 it will return the error you are seeing.

Try the following: space.getClustered().write(...)

See here: https://docs.gigaspaces.com/xap/12.1/dev-java/routing-in-partitioned-spaces.html