mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix for the problem of locking connection being gone
This commit is contained in:
parent
8755044ea9
commit
009e60266d
@ -68,7 +68,7 @@ public class Merovingian2 extends StandardMBean implements MerovingianMBean {
|
||||
conn = Transaction.getStandaloneConnectionWithException();
|
||||
conn.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
|
||||
conn.setAutoCommit(true);
|
||||
_concierge = new ConnectionConcierge("LockMaster", conn, false);
|
||||
_concierge = new ConnectionConcierge("LockMaster", conn, true);
|
||||
} catch (SQLException e) {
|
||||
s_logger.error("Unable to get a new db connection", e);
|
||||
throw new CloudRuntimeException("Unable to initialize a connection to the database for locking purposes: ", e);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user