2 Replies Latest reply on Jul 20, 2011 1:14 AM by Martin Kuhn

    Newbie problem with observing of a distributed cache

    Martin Kuhn Newbie



      I'm a newbie with Infininspan and try to do a simple distributed cache (Working with Infinispan 5.0.0.CR7).


      My main problem is notification: I defined a Listener with correspondig Annotation and added the listener to the cache.

      I observed (by debugging) that org.infinispan.notifications.AbstractListenerImpl.validateAndAddListenerInvocation(Object) is passed correct.


      But I get no callbacks in the annotated methods of the listener class.


      The config of the cache is:


      Configuration config = new Configuration();



      The CacheManager is created with

      cacheManager = new DefaultCacheManager(GlobalConfiguration.getClusteredDefault());



      Can anybody of you give me a hint whats going on????


      BTW,The data contained in the cache is replicated fine....