11-30-2015 04:31 AM
11-30-2015 04:55 AM
11-30-2015 05:48 AM
12-01-2015 04:04 AM
12-04-2015 06:47 AM
for (int i=0; i < 50; i++) {
TestIncrementer ti = new TestIncrementer(node);
threadPoolExecuter.submit(ti);
}
int hash = RetryingTransactionHelper.getActiveUserTransaction().hashCode();
log.debug("Thread id: " + Thread.currentThread().getId() + " tx " + hash);
String title = (String) nodeService.getProperty(nodeRef, ContentModel.PROP_TITLE);
Thread.sleep(Math.round(Math.random()* 1000));
nodeService.setProperty(nodeRef, ContentModel.PROP_TITLE, title + "1");
log.debug("Title: " + title);
Transaction commit failed:
Thread: defaultAsyncAction4
Txn: UserTransaction[object=org.alfresco.util.transaction.SpringAwareUserTransaction@65b249f2, status=0]
Iteration: 8
Exception follows:
org.springframework.dao.ConcurrencyFailureException: Failed to update node 126094
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.