Your example you posted doesn’t have any scheme declarations. Did you trim them 
for the email? If not you need to make sure you include the scheme declaration 
in your xml.



<?xml version="1.0"?>


<client-cache xmlns="http://schema.pivotal.io/gemfire/cache";

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

    xsi:schemaLocation="http://schema.pivotal.io/gemfire/cache 
http://schema.pivotal.io/gemfire/cache/cache-8.1.xsd";

    version="8.1”>



</client-cache>





—

Jacob Barrett

Manager

GemFire Advanced Customer Engineering (ACE)

Pivotal




[email protected]

503-533-3763




For immediate support please contact Pivotal Support at 
http://support.pivotal.io/

On Thu, Aug 13, 2015 at 1:16 PM, Roman Shaposhnik <[email protected]>
wrote:

> On Thu, Aug 13, 2015 at 1:07 PM, Jacob Barrett <[email protected]> wrote:
>> Do you have a corresponding error message or indicator of it not being 
>> compatible?
> Exception in thread "Thread-1" java.lang.IllegalStateException: You
> must use client-cache in the cache.xml when ClientCacheFactory is
> used.
>   at 
> com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:379)
>   at 
> com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:320)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:4248)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.initializeDeclarativeCache(GemFireCacheImpl.java:1174)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.init(GemFireCacheImpl.java:1018)
>   at 
> com.gemstone.gemfire.internal.cache.GemFireCacheImpl.create(GemFireCacheImpl.java:678)
>   at 
> com.gemstone.gemfire.cache.client.ClientCacheFactory.basicCreate(ClientCacheFactory.java:207)
>   at 
> com.gemstone.gemfire.cache.client.ClientCacheFactory.create(ClientCacheFactory.java:162)
>   at com.yahoo.ycsb.db.GemFireClient.init(GemFireClient.java:142)
>   at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:63)
>   at com.yahoo.ycsb.ClientThread.run(Client.java:195)

Reply via email to