org.springframework.transaction.TransactionSystemException: Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JFrog JIRA by Tal Abramson, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Tal Abramson, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Johan-Kees Vliek, 1 year ago
Could not commit JCR transaction; nested exception is java.util.ConcurrentModificationException
via JFrog JIRA by Johan-Kees Vliek, 1 year ago
Could not commit JCR transaction; nested exception is java.util.ConcurrentModificationException
via JFrog JIRA by Andrew Bayer, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Andrew Bayer, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
org.springframework.transaction.TransactionSystemException: Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:270)
at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:648)
at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1062)
at org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:156)
at org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:154)
at org.springframework.extensions.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:91)
at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:189)
at org.artifactory.jcr.JcrTransactionManager.doCommit(JcrTransactionManager.java:83)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321)
at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:71)
at org.artifactory.schedule.aop.AsyncAdvice$1.run(AsyncAdvice.java:119)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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