mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix Enterprise build - allow system to boot up in read only mode again
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -65,7 +65,7 @@ public class AuditBootstrap extends AbstractLifecycleBean
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
transactionService.getRetryingTransactionHelper().doInTransaction(callback);
|
transactionService.getRetryingTransactionHelper().doInTransaction(callback, transactionService.isReadOnly());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -273,7 +273,8 @@ public class AuditModelRegistry
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
auditPathMapper = new PathMapper();
|
auditPathMapper = new PathMapper();
|
||||||
transactionService.getRetryingTransactionHelper().doInTransaction(loadModelsCallback, false, true);
|
transactionService.getRetryingTransactionHelper().doInTransaction(loadModelsCallback,
|
||||||
|
transactionService.isReadOnly(), true);
|
||||||
auditPathMapper.lock();
|
auditPathMapper.lock();
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
Reference in New Issue
Block a user