Hello, I've got a problem with JTA transactions using atomikos transaction 
manager implementation.

I'm using atomikos 3.4.4 and jboss-cache 3.0.2, I know that these are not the 
latest, but I've checked at least jboss-cache 3.1.0 sources and it looks like 
it's the same there, let me know if it's not true.

Issue is that cache loader commit is never being called, and that is caused by 
the fact that atomikos removes transaction from current thread between 
handlePrepareCommand(...) and handleCommitCommand(...) is being called on 
CacheStoreInterceptor. 

After calling beforeCompletion() transaction is being removed from the thread, 
so when afterCompletion() and then CacheStoreInterceptor.handleCommitCommand is 
being invoked (with a command containing global transaction handle), 
CacheStoreInterceptor.inTransaction() returns false and the command is just 
ignored.

Please let me know if it's a known issue with atomikos (or it's their issue?).

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242024
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to