[jboss-user] [JBoss Cache Users] - Re: Cache does not release locked nodes on transaction rollb

feutche do-not-reply at jboss.com
Fri Sep 25 07:42:44 EDT 2009


So is it a bug in TxInterceptor?:

Line 923:
      public void afterCompletion(int status)
      {
         // could happen if a rollback is called and beforeCompletion() doesn't get called.
         if (ctx == null)
         {
            ctx = invocationContextContainer.get();
            setTransactionalContext(tx, gtx, transactionContext, ctx);


if afterCompletion() is called in a different thread than beforeCompletion() was called, then ctx is not null and invocation context is not initialized

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257057#4257057

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257057



More information about the jboss-user mailing list