[infinispan-dev] problems configuring distributed mode

Galder Zamarreño galder at redhat.com
Mon May 23 03:21:06 EDT 2011


This question should be posted in http://community.jboss.org/en/infinispan?view=discussions along with further info such as version of Infinispan used...etc.

On May 21, 2011, at 10:22 PM, Anders wrote:

> Hi,
> 
> Im getting the following error whenever i try to write to inifnispan 
> over memcached:
> 
>     java.lang.IllegalStateException: If clustered, Version prefix 
> cannot be 0. Rank calculator probably not in use.
> 
> This is my relevant inifnispan-config.xml file:
> 
> <clustering mode="distribution">
> <async/>
> <hash numOwners="1"/>
> </clustering>
> 
> im using jgroups udp transport, but ive tried ec2 and tcp...all with the 
> same result.
> 
> ive also tried different clustering modes. the only one that works is 
> local...but that kind of deceives the purpose of what we need to do.
> 
> Ive downloaded the src code and found a ClusterId generator class and 
> attached it (programatically) like so:
> 
>         cacheManager.addListener(new 
> ClusterIdGenerator().getRankCalculatorListener());
>         cacheManager.start();
> 
> 
> any help figuring out how to get clustered mode running would be much 
> appreciated.
> 
> -A
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list