com.tridion.deployer.ProcessingException: Phase: Deployment Prepare Commit Phase failed. Unable to prepare transaction: tcm:0-1120538-66560

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Tridion by Tridion_Learner
, 1 year ago
Phase: Deployment Prepare Commit Phase failed. Unable to prepare transaction: tcm:0-1120538-66560
via stackexchange.com by Unknown author, 1 year ago
Phase: Deployment Prepare Commit Phase failed. Unable to prepare transaction: tcm:0-1120538-66560
via Tridion by Mukesh Kumar
, 1 year ago
Phase: Deployment Commit Phase failed. Commit failed for transaction: tcm:0-125866-66560
via stackexchange.com by Unknown author, 2 years ago
Phase: Deployment Commit Phase failed. Commit failed for transaction: tcm:0-125866-66560
via Tridion by Sergio Alonso
, 6 months ago
Phase: Deployment Processing Phase failed.
via stackexchange.com by Unknown author, 2 years ago
javax.persistence.OptimisticLockException: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1402)
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1308)
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
at com.tridion.storage.persistence.JPABaseDAO.executeQueryListResult(JPABaseDAO.java:281)
at com.tridion.storage.persistence.JPABaseDAO.executeQueryListResult(JPABaseDAO.java:249)
at com.tridion.storage.persistence.JPABaseDAO.executeQueryListResult(JPABaseDAO.java:220)
at com.tridion.storage.persistence.JPATaxonomyDAO.findTaxonomyKeyword(JPATaxonomyDAO.java:157)
at com.tridion.storage.services.TaxonomyCounterService.updateKeywordReferenceCount(TaxonomyCounterService.java:66)
at com.tridion.storage.services.TaxonomyCounterService.updateKeywordReferenceCount(TaxonomyCounterService.java:86)
at com.tridion.storage.services.TaxonomyCounterService.updateKeywordsReferenceCount(TaxonomyCounterService.java:49)
at com.tridion.storage.services.TaxonomyCounterService.updateKeywordsReferenceCount(TaxonomyCounterService.java:35)
at com.tridion.storage.deploy.workers.PageWorker.doDeploy(PageWorker.java:78)
at com.tridion.deployer.model.transaction.TransactionLogItemWorker.doWork(TransactionLogItemWorker.java:27)
at com.tridion.deployer.phases.PreCommitPhase.runPrepare(PreCommitPhase.java:155)
at com.tridion.deployer.phases.PreCommitPhase.execute(PreCommitPhase.java:101)
at com.tridion.deployer.phases.DeployPipelineExecutor.runMainExecutePhase(DeployPipelineExecutor.java:198)
at com.tridion.deployer.phases.DeployPipelineExecutor.doExecute(DeployPipelineExecutor.java:100)
at com.tridion.deployer.phases.DeployPipelineExecutor.execute(DeployPipelineExecutor.java:64)
at com.tridion.deployer.TransactionManager.handleDeployPackage(TransactionManager.java:82)
at com.tridion.deployer.queue.QueueLocationHandler$1.run(QueueLocationHandler.java:180)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.