Re: can't connect to 2 different locators?

2019-04-12 Thread Charlie Black
The code to do what you are looking for is: ClientCache clientCache = new ClientCacheFactory().create(); PoolFactory poolFactory = PoolManager.createFactory(); poolFactory.addLocator("systemALocator1", 10334); poolFactory.addLocator("systemAlocator2", 10334); poolFactory.create("systemA"); poolF

Re: can't connect to 2 different locators?

2019-04-12 Thread Michael Stolz
You will need to establish separate pools for the 2 clusters. Each pool can talk to separate locators. -- Mike Stolz Principal Engineer, GemFire Product Lead Mobile: +1-631-835-4771 On Fri, Apr 12, 2019, 6:32 PM Jinmei Liao wrote: > I believe multiple caches in one VM are not supported in Geod

Re: can't connect to 2 different locators?

2019-04-12 Thread Jinmei Liao
I believe multiple caches in one VM are not supported in Geode currently. On Fri, Apr 12, 2019, 3:23 PM Claudiu Balciza 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 > > > > Cl

can't connect to 2 different locators?

2019-04-12 Thread Claudiu Balciza
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()

RE: Stucked thread after network outage

2019-04-12 Thread Vahram Aharonyan
Hi All, Thanks for your feedbacks. I will proceed with backporting the fix to version that we are using. Best Regards, Vahram. From: Anthony Baker Sent: Friday, April 12, 2019 3:58 AM To: user@geode.apache.org Subject: Re: Stucked thread after network outage Thanks for the bug report Vahram!