AnsweredAssumed Answered

Transaction Error

Question asked by lock999 on Aug 27, 2007
Latest reply on Sep 3, 2007 by derek

I get the following transaction errors while uploading around 3000 files at the same time using CIFS. For each file, i execute a javascript using rules. The javascript writes the status of each file to a log file.

Question: Is the transaction error occuring since mutiple javascript instances are trying to write to the same log file at the same time? Is there any way to lock and unlock while writing? Is there any way to perform writes one file at a time?

Error Messages:
16:56:24,807 ERROR [org.alfresco.repo.transaction.AlfrescoTransactionSupport] After completion (rolled-back) listener exception:
   listener: org.alfresco.userToAuthorityTransactionalCache
java.lang.IllegalStateException: The CacheManager is not alive.
   at net.sf.ehcache.CacheManager.checkStatus(
   at net.sf.ehcache.CacheManager.removeCache(
   at org.alfresco.repo.cache.TransactionalCache.removeCaches(
   at org.alfresco.repo.cache.TransactionalCache.afterRollback(
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.afterCompletion(
   at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(
   at org.alfresco.util.transaction.SpringAwareUserTransaction.rollback(
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
   at java.util.concurrent.ThreadPoolExecutor$

This is followed by Caused by:
org.alfresco.error.AlfrescoRuntimeException: Wrapped org.alfresco.service.cmr.repository.ContentIOException: Failed to set content property on stream closure

and other errors…