cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Hair <j...@greenqloud.com>
Subject TransactionContextInterceptor Keeps Releasing My Lock
Date Wed, 14 Oct 2015 17:04:28 GMT
I'm using the DAO API to create a lock in the lock table as per
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Data+Access+Layer.
However, the lock seems to mysteriously vanish after acquireInLockTable or
lockInLockTable method returns. Looking at the code, I've discovered that
TransactionContextInterceptor is closing the TransactionLegacy after the
method returns.

I have @DB on the method calling acquireFromLockTable. What am I doing
wrong?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message