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:
Dave Ward
2009-09-18 16:28:21 +00:00
parent d0d6d61373
commit c3bf64c111
2 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ public class AuditBootstrap extends AbstractLifecycleBean
return null; return null;
} }
}; };
transactionService.getRetryingTransactionHelper().doInTransaction(callback); transactionService.getRetryingTransactionHelper().doInTransaction(callback, transactionService.isReadOnly());
} }
/** /**

View File

@@ -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