aspose file tools*
The moose likes Gemfire and the fly likes Connect to two different caches from a client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Caching » Gemfire
Bookmark "Connect to two different caches from a client" Watch "Connect to two different caches from a client" New topic
Author

Connect to two different caches from a client

Reddy Prashanth
Ranch Hand

Joined: Aug 09, 2005
Posts: 61
Hi,

Looks this is the first message in Gemfire forum.
could someone please advice here. I am using Gemfire v6.5.

I have two different cache servers running on two different machines. These two are not related to each other. Lets say one is PRODUCT cache and the other is PRICE cache.
Now I have a client application, which need data from both cache servers.

I could create a distributed system and connect to the first cache, but while trying to connect to second cache, it says, there is already a distributed system exists.
As per documentation we can have only one distributed system per VM. How can I get the data from both the caches simultaneously.
 
jQuery in Action, 2nd edition
 
subject: Connect to two different caches from a client