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 Yoav Landman, 1 year ago
Could not commit JCR transaction; nested exception is javax.transaction.RollbackException: javax.transaction.xa.XAException
via JFrog JIRA by Yoav Landman, 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$Update.begin(SharedItemStateManager.java:620)
at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:843)
at org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:146)
at org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:152)
at org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:138)
at org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:155)
at org.springmodules.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:101)
at org.springmodules.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:111)
at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:192)
at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:195)
at org.artifactory.jcr.JcrTransactionManager.doCommit(JcrTransactionManager.java:85)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.artifactory.repo.service.RepositoryServiceImpl$$EnhancerByCGLIB$$79b65f35.getResourceStreamHandle()
at org.artifactory.engine.DownloadEngine.respond(DownloadEngine.java:509)
at org.artifactory.engine.DownloadEngine.processStandard(DownloadEngine.java:195)
at org.artifactory.engine.DownloadEngine.process(DownloadEngine.java:115)
at org.artifactory.test.SimpleArtifactoryTest.simpleJarDownload(SimpleArtifactoryTest.java:31)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
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.