Atomikos Forum |
|
Hi,
We are using Atomikos (community edition) JTA support with spring as part of our test suite, and we have run into some issues. I am not sure to what level of description I should get into so i'll start with posting 2 log files (one for when the problem reproduced and one for a normal execution) The following links contains logs for both a failed execution and a normal execution. https://gist.github.com/3932268 It is worth noting that I have increased the atomikos icatch logging levels to FINEST you can see in failed.log in line 115-117: 2012-10-21 22:41:51,798 FINE [com.atomikos.icatch.imp.CoordinatorImp] - Coordinator 192.168.9.18.tm0000100001 entering state: COMMITTING 2012-10-21 22:42:01,912 WARNING [com.atomikos.icatch.imp.ActiveStateHandler] - Timeout/setRollbackOnly of ACTIVE coordinator ! 2012-10-21 22:42:12,958 INFO [com.atomikos.datasource.xa.XAResourceTransaction] - XAResource.end ( 3139322E3136382E392E31382E746D30303030313030303031:3139322E3136382E392E31382E746D31 , XAResource.TMSUCCESS ) on resource com.j_spaces.core.client.XAResourceImpl@6b1af represented by XAResource instance com.j_spaces.core.client.XAResourceImpl@6b1af7bb You can see that only after about 20 seconds (line 117) the end action is actually delegated to the XAResource. (After which, test fails due to transaction timeout.) On the other hand, most of the time (~97%), no blocking occurs and as you can see in passed.log in lines 232-233 (for the same test on a different execution): 2012-10-21 23:28:21,259 FINE [com.atomikos.icatch.imp.CoordinatorImp] - Coordinator 172.16.10.2.tm0000100002 entering state: COMMITTING 2012-10-21 23:28:21,263 INFO [com.atomikos.datasource.xa.XAResourceTransaction] - XAResource.end ( 3137322E31362E31302E322E746D30303030313030303032:3137322E31362E31302E322E746D31 , XAResource.TMSUCCESS ) on resource com.j_spaces.core.client.XAResourceImpl@5b809 represented by XAResource instance com.j_spaces.core.client.XAResourceImpl@5b8099a Here everything is running smoothly. I will be more than happy to supply further details if there is need. Thanks in advance, Dan Kilman. |