org.springframework.transaction.TransactionSystemException

Could not roll back JCR transaction; nested exception is java.lang.IllegalStateException: Transaction not active

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web300

  • via JFrog JIRA by Frederic Simon, 10 months ago
    Could not roll back JCR transaction; nested exception is java.lang.IllegalStateException: Transaction not active
  • via JFrog JIRA by Raghunathan Semburakkiannan, 10 months ago
    Could not roll back JCR transaction; nested exception is java.lang.IllegalStateException: Transaction not active
  • via JFrog JIRA by Raghunathan Semburakkiannan, 1 year ago
    Could not roll back JCR transaction; nested exception is java.lang.IllegalStateException: Transaction not active
  • Stack trace

    • org.springframework.transaction.TransactionSystemException: Could not roll back JCR transaction; nested exception is java.lang.IllegalStateException: Transaction not active at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doRollback(LocalTransactionManager.java:207)[spring-modules-jcr-0.9.jar:0.9-20080306135025] at org.springframework.transaction.support.AbstractPlatformTransactionManager.doRollbackOnCommitException(AbstractPlatformTransactionManager.java:873)[spring-tx-2.5.6.jar:2.5.6] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:760)[spring-tx-2.5.6.jar:2.5.6] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701)[spring-tx-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321)[spring-tx-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)[spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:79)[artifactory-core-2.1.0-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6] at $Proxy13.importSecurityData(Unknown Source)[na:na] at org.artifactory.security.SecurityServiceImpl.importSecurityXml(SecurityServiceImpl.java:844)[artifactory-core-2.1.0-SNAPSHOT.jar:na] at org.artifactory.security.SecurityServiceImpl.importFrom(SecurityServiceImpl.java:815)[artifactory-core-2.1.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_13] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_13] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_13] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_13] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.6.jar:2.5.6] at $Proxy13.importFrom(Unknown Source)[na:na] at org.artifactory.spring.ArtifactoryApplicationContext.importFrom(ArtifactoryApplicationContext.java:323)[artifactory-core-2.1.0-SNAPSHOT.jar:na] at org.artifactory.webapp.wicket.page.importexport.system.ImportSystemPanel$3.onSubmit(ImportSystemPanel.java:187)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:90)[artifactory-web-common-2.1.0-SNAPSHOT.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1220)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1297)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1399)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.RequestCycle.request(RequestCycle.java:529)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)[wicket-1.3.6.jar:1.3.6] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201)[wicket-1.3.6.jar:1.3.6] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:173)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:83)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:192)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:111)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:89)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:47)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:57)[artifactory-web-application-2.1.0-SNAPSHOT.jar:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.Server.handle(Server.java:324)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)[jetty-6.1.14.jar:6.1.14] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[jetty-6.1.14.jar:6.1.14] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)[jetty-util-6.1.14.jar:6.1.14] Caused by: java.lang.IllegalStateException: Transaction not active at org.springmodules.jcr.jackrabbit.support.JackRabbitUserTransaction.rollback(JackRabbitUserTransaction.java:136)[artifactory-core-2.1.0-SNAPSHOT.jar:0.9-20080306135025] at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doRollback(LocalTransactionManager.java:205)[spring-modules-jcr-0.9.jar:0.9-20080306135025] ... 60 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.