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 stackexchange.com by Unknown author, 2 years ago
javax.persistence.RollbackException: Error while committing the transaction
via Tridion by Neelesh Raghuvanshi
, 1 year ago
javax.persistence.RollbackException: Error while committing the transaction
via stackexchange.com by Unknown author, 2 years ago
via Tridion by Charlie
, 1 year ago
javax.persistence.RollbackException: Error while committing the transaction
via stackexchange.com by Unknown author, 2 years ago
javax.persistence.RollbackException: Error while committing the transaction
com.tridion.broker.StorageException: javax.persistence.RollbackException: Error while committing the transaction at com.tridion.storage.persistence.JPABaseDAO.remove(JPABaseDAO.java:157)[cd_datalayer.jar:na] at com.tridion.storage.persistence.JPAItemDAO.remove(JPAItemDAO.java:246)[cd_datalayer.jar:na] at com.tridion.storage.persistence.session.SessionWrapperFactory.deleteItemMeta(SessionWrapperFactory.java:184)[cd_session.jar:na] at com.tridion.storage.persistence.session.SessionWrapperFactory.cleanupSessionData(SessionWrapperFactory.java:160)[cd_session.jar:na] at com.tridion.storage.session.SessionManagerImpl.expireSession(SessionManagerImpl.java:414)[cd_session.jar:na] at com.tridion.storage.session.SessionManagerImpl.performCleanup(SessionManagerImpl.java:230)[cd_session.jar:na] at com.tridion.storage.persistence.session.SessionsCleanerMonitor.run(SessionsCleanerMonitor.java:52)[cd_session.jar:na] at java.lang.Thread.run(Unknown Source)[na:1.7.0_40]Caused by: javax.persistence.RollbackException: Error while committing the transaction at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:90)[hibernate-entitymanager.jar:4.0.1.Final] at com.tridion.storage.persistence.JPABaseDAO.remove(JPABaseDAO.java:148)[cd_datalayer.jar:na] ... 7 moreCaused by: javax.persistence.OptimisticLockException: 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@376ae] at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1394)[hibernate-entitymanager.jar:4.0.1.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1308)[hibernate-entitymanager.jar:4.0.1.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)[hibernate-entitymanager.jar:4.0.1.Final] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:78)[hibernate-entitymanager.jar:4.0.1.Final] ... 8 moreCaused by: 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@376ae] at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2359)[hibernate-core.jar:4.0.1.Final] at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3127)[hibernate-core.jar:4.0.1.Final] at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:3327)[hibernate-core.jar:4.0.1.Final] at org.hibernate.action.internal.EntityDeleteAction.execute(EntityDeleteAction.java:91)[hibernate-core.jar:4.0.1.Final] at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:272)[hibernate-core.jar:4.0.1.Final] at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:264)[hibernate-core.jar:4.0.1.Final] at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:191)[hibernate-core.jar:4.0.1.Final] at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:326)[hibernate-core.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:52)[hibernate-core.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1081)[hibernate-core.jar:4.0.1.Final] at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:315)[hibernate-core.jar:4.0.1.Final] at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)[hibernate-core.jar:4.0.1.Final] at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:175)[hibernate-core.jar:4.0.1.Final] at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:73)[hibernate-entitymanager.jar:4.0.1.Final] ... 8 more