-
1. Re: No transactions available for Infinispan when running in JBoss EAP 6.1?
nadirx Oct 24, 2013 6:50 AM (in response to danielnuss)1 of 1 people found this helpfulDaniel,
the documentation is related to Infinispan Server's use of the caches provided by the Infinispan subsystem. The Infinispan subsystem allows you to configure a cache as transactional, but since none of the remote protocols (HotRod, REST, memcached, Websockets) support transactions yet, it is pretty pointless.
However, in the context of EAP, where an application consumes the cache in embedded fashion, this is fine.
-
2. Re: No transactions available for Infinispan when running in JBoss EAP 6.1?
danielnuss Oct 24, 2013 7:19 AM (in response to nadirx)Okay, this is great news. But then i am entirely missing documentation about how i configure things like eager-locking or pessimistic locking inside the infinispan subsystem inside JBoss. As said in the question, i basically want to do a cluster-wide lock on a specific key (e.g. to be able to implement a cluster-wide counter). Where do i find this information? All i found right now is this xsd (which is outdated, e.g. i could not use the element eager-locking which can be found there): https://raw.github.com/jbossas/jboss-as/7.0.0.Final/build/src/main/resources/docs/schema/jboss-infinispan.xsd
-
4. Re: No transactions available for Infinispan when running in JBoss EAP 6.1?
danielnuss Oct 24, 2013 8:33 AM (in response to nadirx)That was indeed the missing information i was looking for. With this xsd it was no problem to configure pessimistic locking and to obtain a cluster-wide lock on a specific key afterwards. Many thanks, Tristan!