mirror of https://github.com/apache/cloudstack.git
fix for the problem of locking connection being gone
This commit is contained in:
parent
2317c426db
commit
29a0f8b1f8
|
|
@ -69,7 +69,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…
Reference in New Issue