It appears that the even though InjectedCacheResolver has been configured in the beans.xml
of the example, at runtime DefaultCacheResolver is in use, which creates a brand new cache
manager instead of using an injected one. That's how it's ending up with two cache
managers. I'm debugging this further...
Cheers,
On Nov 15, 2013, at 3:06 PM, Pedro Ruivo <pedro(a)infinispan.org> wrote:
Hi,
I've updating the infinispan quickstart to use the 6.0.0.CR1 version. I've
successfully update all the quickstart but I'm getting trouble with the
cdi-quickstart.
I took a look at the logs and it seems that it is creating 2 cache managers and the put
operation (performed by @CacheResult annotation) is hitting the cache in cacheManager 1
and the get operation is hitting the cache in another cacheManager (and always returning
nothing).
Any suggestion?
the code is here:
https://github.com/pruivo/infinispan-quickstart/tree/ISPN-3669/cdi
Cheers,
Pedro
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org