[infinispan-dev] problems configuring distributed mode

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[infinispan-dev] problems configuring distributed mode

Anders
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
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Reply | Threaded
Open this post in threaded view
|

Re: [infinispan-dev] problems configuring distributed mode

Galder Zamarreno
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
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

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


_______________________________________________
infinispan-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/infinispan-dev