I believe multiple caches in one VM are not supported in Geode currently.

On Fri, Apr 12, 2019, 3:23 PM Claudiu Balciza <cbalc...@1wa.org> wrote:

> I have 2 geode hosts (dev and test) and I was trying to sync 2 regions
>
> These 2 hosts are not supposed to communicate between them
>
>
>
> But when I try
>
>
>
> ClientCache cache1 = *new *ClientCacheFactory()
>     .addPoolLocator(*"host1.local"*, 2001)
>     .create()
>
> ClientCache cache2 = *new *ClientCacheFactory()
>     .addPoolLocator(*"host2.local"*, 2002)
>     .create()
>
>
>
> The first one works just fine, the second one throws:
>
> Caught: java.lang.IllegalStateException: Existing cache's default pool was
> not compatible
>
>
>
> I could work around this by having one cache open at a time but I’d like
> to have them both open
>
> Any ideas?
>
>
>
> *Claudiu Balcîza*    BSc
>
> Database Architect
> Architecte de base de données
> Arhitect Baze de Date
>
>
>

Reply via email to