Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: Gemfire Error -Since a cache already existed a pool should also exist

$
0
0

Hi Barry,

 

<?xml version="1.0"?>

<!DOCTYPE client-cache PUBLIC "-//GemStone Systems, Inc.//GemFire Declarative Caching 6.5//EN" "http://www.gemstone.com/dtd/cache6_6.dtd">

 

       <client-cache>

              <pool name="TESTPOOL" subscription-enabled="true" read-timeout="60000" pr-single-hop-enabled="true" max-connections="60" min-connections="10" server-group="testGroup">

                     <locator host="x.x.x.x" port="50001"/>

                     <locator host="x.x.x.x" port="50001"/>

 

              </pool>

              <region name="test" refid="PROXY">

                     <region-attributes pool-name="TESTPOOL" data-policy="empty">

                           <subscription-attributes interest-policy="all"/>

 

                     </region-attributes>

              </region>

 

       </client-cache>

 

 

 

 

Code -

 

clientCache = new ClientCacheFactory()
                                .set("cache-xml-file", path)
                                .setPdxSerializer(pdxSerializer).create();

 

 

 

I am using Gemfire 7 on server and GF 6.6.3 jars on client.


Viewing all articles
Browse latest Browse all 232869

Trending Articles