-
1. Re: Infinispan cluster as hibernate second level cache
manik Oct 19, 2009 5:32 AM (in response to alexlooi)Have you tried testing that the nodes can see each other in the first place? The JGroups Draw test is a good starting point, see the JGroups docs on how to do this.
-
2. Re: Infinispan cluster as hibernate second level cache
alexlooi Oct 19, 2009 6:16 PM (in response to alexlooi)I've tested Infinispan on it's own (without Hibernate/JPA) and it was working. Only when used with Hibernate/JPA I am having problems.
Apart from @Cache and the usual entity annotations, do we have to annotate the entity with anything else?
I have also followed the instructions documented here
http://www.jboss.org/community/wiki/UsingInfinispanasJPAHibernateSecondLevelCacheProvider
I am running out of ideas.
Thanks. -
3. Re: Infinispan cluster as hibernate second level cache
galder.zamarreno Nov 27, 2009 7:29 AM (in response to alexlooi)alexlooi, What information are you using exactly to determine that the cluster does not seem to join? Remember that as explained in the wiki, by default, entities are not replicated but instead are invalidated. So, changes you make to an entity are not replicated to other nodes but instead stale entities are invalidated in other cluster nodes.