com.tridion.broker.StorageException: javax.persistence.RollbackException: Error while committing the transaction

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.
  1. 0

    experience manager - Preview Service is Not Working - Tridion Stack Exchange

    stackexchange.com | 1 year ago
    com.tridion.broker.StorageException: javax.persistence.RollbackException: Error while committing the transaction
  2. 0

    Preview Service is Not Working

    Tridion | 1 year ago | Neelesh Raghuvanshi
    com.tridion.broker.StorageException: javax.persistence.RollbackException: Error while committing the transaction
  3. 0

    Database exception on Session Broker database for Experience Manager on Tridion 2013 SP1 - Tridion Stack Exchange

    stackexchange.com | 1 year ago
    com.tridion.broker.StorageException: javax.persistence.RollbackException: Error while committing the transaction
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Database exception on Session Broker database for Experience Manager on Tridion 2013 SP1

    Tridion | 3 years ago | Charlie
    com.tridion.broker.StorageException: javax.persistence.RollbackException: Error while committing the transaction
  6. 0

    Locking in Hibernate JPA on waitingforcode.com - articles about Hibernate

    waitingforcode.com | 1 year ago
    javax.persistence.RollbackException: Error while committing the transaction

  1. tfr 7 times, last 10 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hibernate.StaleObjectStateException

    Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.tridion.storage.PageMeta#com.tridion.storage.ItemMetaPK@2441b]

    at org.hibernate.persister.entity.AbstractEntityPersister.check()
  2. Hibernate
    AbstractTransactionImpl.commit
    1. org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2359)[hibernate-core.jar:4.0.1.Final]
    2. org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3127)[hibernate-core.jar:4.0.1.Final]
    3. org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3327)[hibernate-core.jar:4.0.1.Final]
    4. org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:91)[hibernate-core.jar:4.0.1.Final]
    5. org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272)[hibernate-core.jar:4.0.1.Final]
    6. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264)[hibernate-core.jar:4.0.1.Final]
    7. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:191)[hibernate-core.jar:4.0.1.Final]
    8. org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)[hibernate-core.jar:4.0.1.Final]
    9. org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)[hibernate-core.jar:4.0.1.Final]
    10. org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)[hibernate-core.jar:4.0.1.Final]
    11. org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)[hibernate-core.jar:4.0.1.Final]
    12. org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)[hibernate-core.jar:4.0.1.Final]
    13. org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)[hibernate-core.jar:4.0.1.Final]
    13 frames
  3. Hibernate EJB
    TransactionImpl.commit
    1. org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)[hibernate-entitymanager.jar:4.0.1.Final]
    1 frame
  4. com.tridion.storage
    SessionsCleanerMonitor.run
    1. com.tridion.storage.persistence.JPABaseDAO.remove(JPABaseDAO.java:148)[cd_datalayer.jar:na]
    2. com.tridion.storage.persistence.JPAItemDAO.remove(JPAItemDAO.java:246)[cd_datalayer.jar:na]
    3. com.tridion.storage.persistence.session.SessionWrapperFactory.deleteItemMeta(SessionWrapperFactory.java:184)[cd_session.jar:na]
    4. com.tridion.storage.persistence.session.SessionWrapperFactory.cleanupSessionData(SessionWrapperFactory.java:160)[cd_session.jar:na]
    5. com.tridion.storage.session.SessionManagerImpl.expireSession(SessionManagerImpl.java:414)[cd_session.jar:na]
    6. com.tridion.storage.session.SessionManagerImpl.performCleanup(SessionManagerImpl.java:230)[cd_session.jar:na]
    7. com.tridion.storage.persistence.session.SessionsCleanerMonitor.run(SessionsCleanerMonitor.java:52)[cd_session.jar:na]
    7 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[na:1.7.0_71]
    1 frame