On 05/16/2013 01:46 PM, Galder ZamarreƱo wrote:
On May 14, 2013, at 3:54 PM, Mark Addy <maddy(a)c2b2.co.uk>
wrote:
> Hi,
> Thanks for the replies, all sorted now. I went back through the
> previous archives and found ISPN-2281 and the changes associated to this.
> So to get Hotrod working you must supply a custom Equivalence
> implementation as an attribute of the dataContainer element for the cache.
> I have created a wrapper around the enum
> org.infinispan.util.ByteArrayEquivalence and placed it on the server
> classpath so I could use it in the XML configuration.
^ The thing is that you shouldn't need to do this. If you've downloaded the new
Infinsispan server download from
(
http://downloads.jboss.org/infinispan/5.3.0.Beta1/infinispan-server-5.3.0...),
it ships a default configuration that has this setting correctly set. (@Tristan, correct
me if I'm wrong...)
You are right Galder.
Hence, if you can explain how you're using the Hot Rod server, we
can see if there's anything wrong here.
Tristan