powered by Jive Software

New cache in clustering

I have this problem:

I put in clustering plugin, in coherence-cache-config.xml this lines:

Jrdesktop distributed back-size-high 0 back-expiry 0 back-size-low 0

And I have one class using CacheFactory.createCache(“Jrdesktop”);

Why it gives me this error?

[java] java.lang.IllegalArgumentException: No scheme for cache: Jrdesktop
[java] at com.jivesoftware.util.cache.JiveConfigurableCacheFactory.findSchemeMapping(Jive ConfigurableCacheFactory.java:117)
[java] at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurabl eCacheFactory.java:270)
[java] at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:689)
[java] at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:667)
[java] at com.jivesoftware.util.cache.ClusteredCache.(ClusteredCache.java:58)
[java] at com.jivesoftware.util.cache.CoherenceClusteredCacheFactory.createCache(Coherenc eClusteredCacheFactory.java:177)
[java] at org.jivesoftware.util.cache.CacheFactory.createCache(CacheFactory.java:337)

Suggest taking a look at http://wiki.tangosol.com/display/COH31UG/Coherence+3.1+Home

Look at Cache doc links