7 Replies Latest reply on Jun 12, 2012 10:21 AM by galder.zamarreno

    IllegalStateException - ActionStatus.COMMITTED  is not in a valid state to be invoking cache operations on

    sudheerk84

      Hi,

       

      I am trying to access(cache.get(key)) the cache item in one of the cache listeners. The exact event i am accesing is as part of @TransactionCompleted.

       

      Also i am accesing after the check event.isTransactionSuccessful().

       

      I get the above mentioned error. Any idea what i am doing wrong ?

       

      My cache replication mode is REPLICATED - ASYN - with listeners being SYNC.

       

      I get this exception only when listeners are SYNC . When i change the listener to be ASYNC(@Listener(sync = false) , evrything works fine.