org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is java.lang.RuntimeException: Failed to create jcr session.

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 Frederic Simon, 1 year ago
Could not open JCR session for transaction; nested exception is java.lang.RuntimeException: Failed to create jcr session.
via JFrog JIRA by Frederic Simon, 1 year ago
Could not open JCR session for transaction; nested exception is java.lang.RuntimeException: Failed to create jcr session.
org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is java.lang.RuntimeException: Failed to create jcr session.
at org.apache.commons.pool.BaseObjectPool.assertOpen(BaseObjectPool.java:99)
at org.artifactory.jcr.JcrSessionFactory.newSession(JcrSessionFactory.java:95)
at org.artifactory.jcr.JcrSessionFactory.getSession(JcrSessionFactory.java:65)
at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:116)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:377)
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.artifactory.repo.service.RepositoryServiceImpl$$EnhancerByCGLIB$$c3a42f11.onMessage()
at org.jetlang.channels.ChannelSubscription$1.run(ChannelSubscription.java:31)
at org.jetlang.core.BatchExecutorImpl.execute(BatchExecutorImpl.java:11)
at org.jetlang.fibers.PoolFiber.flush(PoolFiber.java:64)
at org.jetlang.fibers.PoolFiber.access$000(PoolFiber.java:22)
at org.jetlang.fibers.PoolFiber$1.run(PoolFiber.java:38)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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