com.tridion.deployer.ProcessingException: Unable to prepare transaction: tcm:0-978299-66560

Tridion | user1035 | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. org.hibernate.SessionException

    Session is closed!

    at org.hibernate.internal.AbstractSessionImpl.errorIfClosed()
  2. Hibernate
    SessionImpl.merge
    1. org.hibernate.internal.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:126)[hibernate-core.jar:4.0.1.Final]
    2. org.hibernate.internal.SessionImpl.getPersistenceContext(SessionImpl.java:1693)[hibernate-core.jar:4.0.1.Final]
    3. org.hibernate.event.internal.DefaultMergeEventListener.cascadeOnMerge(DefaultMergeEventListener.java:635)[hibernate-core.jar:4.0.1.Final]
    4. org.hibernate.event.internal.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:497)[hibernate-core.jar:4.0.1.Final]
    5. org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:256)[hibernate-core.jar:4.0.1.Final]
    6. org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:86)[hibernate-core.jar:4.0.1.Final]
    7. org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:781)[hibernate-core.jar:4.0.1.Final]
    8. org.hibernate.internal.SessionImpl.merge(SessionImpl.java:766)[hibernate-core.jar:4.0.1.Final]
    9. org.hibernate.internal.SessionImpl.merge(SessionImpl.java:770)[hibernate-core.jar:4.0.1.Final]
    9 frames
  3. Hibernate EJB
    AbstractEntityManagerImpl.merge
    1. org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:867)[hibernate-entitymanager.jar:4.0.1.Final]
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)[na:na]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_25]
    3. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_25]
    3 frames
  5. Spring ORM
    ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)[spring-orm.jar:3.1.0.RELEASE]
    1 frame
  6. Unknown
    $Proxy50.merge
    1. $Proxy50.merge(Unknown Source)[na:na]
    1 frame
  7. com.tridion.storage
    ComponentWorker.doDeploy
    1. com.tridion.storage.persistence.JPABaseDAO.create(JPABaseDAO.java:77)[cd_datalayer.jar:na]
    2. com.tridion.storage.persistence.JPAItemDAO.store(JPAItemDAO.java:262)[cd_datalayer.jar:na]
    3. com.tridion.storage.deploy.workers.ComponentWorker.doDeploy(ComponentWorker.java:46)[cd_datalayer.jar:na]
    3 frames
  8. com.tridion.deployer
    QueueLocationHandler$1.run
    1. com.tridion.deployer.model.transaction.TransactionLogItemWorker.doWork(TransactionLogItemWorker.java:27)[cd_model.jar:na]
    2. com.tridion.deployer.phases.PreCommitPhase.runPrepare(PreCommitPhase.java:155)[cd_deployer.jar:na]
    3. com.tridion.deployer.phases.PreCommitPhase.execute(PreCommitPhase.java:101)[cd_deployer.jar:na]
    4. com.tridion.deployer.phases.DeployPipelineExecutor.runMainExecutePhase(DeployPipelineExecutor.java:198)[cd_deployer.jar:na]
    5. com.tridion.deployer.phases.DeployPipelineExecutor.doExecute(DeployPipelineExecutor.java:100)[cd_deployer.jar:na]
    6. com.tridion.deployer.phases.DeployPipelineExecutor.execute(DeployPipelineExecutor.java:64)[cd_deployer.jar:na]
    7. com.tridion.deployer.TransactionManager.handleDeployPackage(TransactionManager.java:82)[cd_deployer.jar:na]
    8. com.tridion.deployer.queue.QueueLocationHandler$1.run(QueueLocationHandler.java:180)[cd_deployer.jar:na]
    8 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[na:1.6.0_25]
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_25]
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_25]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_25]
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_25]
    6. java.lang.Thread.run(Thread.java:662)[na:1.6.0_25]
    6 frames