java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffff7f000101:a356:575eb4bb:16 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.

Sakai JIRA | Lukáš Jáně | 4 months ago
  1. 0

    When using Fedora 4 transactions and making many thousand changes in single transaction, if commiting this transaction takes more than 2 minutes, Fedora returns internal error and is unusable after. We catalogize books, where every page has several objects, including high-res scan and such, so when saving a book, we have a transaction that can include thousands of objects and quite a few gigabytes. This prolongs the commit time of Fedora transaction. However, once it takes more than 2 minutes, everything breaks. There seems to be internal transaction reaper in infinispan that execs after 2-3 minutes and destroys this long running (internal, not fedora) transaction. Immediately after this Fedora can not continue commiting its own transaction so fails. However, this thread remains broken - I understand that Fedora uses pool of about 8 threads when serving requests and accessing its internal Infinispan. When this happens, approximately every 8th request on Fedora fails because it's assigned to thread whose Infinispan transaction has been destroyed and it never opens a new one. This persists until Fedora is restarted, rendering it unusable. There should be a way to control and prevent this timeout, or at least Fedora should not break when this timeout happens. Log when this happens including stack trace: ...many updates in fedora transaction... INFO 17:01:33.665 (FedoraLdp) PATCH for 'tx:3b7196cd-80c6-4b12-9cbf-7f4d0499b58e/ce/d7/af/6f/ced7af6f-8e95-4e1d-9b41-ecdb5181b632/fcr:metadata' INFO 17:01:33.718 (FedoraLdp) PUT resource 'tx:3b7196cd-80c6-4b12-9cbf-7f4d0499b58e/ea/8f/50/f7/ea8f50f7-88dc-416b-884e-73bb7c745368' INFO 17:01:33.751 (FedoraTransactions) Commit transaction 'tx:3b7196cd-80c6-4b12-9cbf-7f4d0499b58e' ...fedora silently processes commit... WARN 17:04:01.998 (arjuna) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff7f000101:a356:575eb4bb:16 in state RUN WARN 17:04:02.018 (arjuna) ARJUNA012095: Abort of action id 0:ffff7f000101:a356:575eb4bb:16 invoked while multiple threads active within it. WARN 17:04:02.018 (arjuna) ARJUNA012108: CheckedAction::check - atomic action 0:ffff7f000101:a356:575eb4bb:16 aborting with 1 threads active! WARN 17:04:02.036 (arjuna) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffff7f000101:a356:575eb4bb:16 ERROR 17:04:02.045 (InvocationContextInterceptor) ISPN000136: Execution error java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffff7f000101:a356:575eb4bb:16 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:389) ~[TxInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.TxInterceptor.enlistIfNeeded(TxInterceptor.java:351) ~[TxInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:345) ~[TxInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:318) ~[TxInterceptor.class:7.2.4.Final] at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) ~[GetKeyValueCommand.class:7.2.4.Final] at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97) ~[CommandInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.CacheMgmtInterceptor.visitDataReadCommand(CacheMgmtInterceptor.java:103) ~[CacheMgmtInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:91) ~[CacheMgmtInterceptor.class:7.2.4.Final] at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) ~[GetKeyValueCommand.class:7.2.4.Final] at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97) ~[CommandInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102) ~[InvocationContextInterceptor.class:7.2.4.Final] at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71) ~[InvocationContextInterceptor.class:7.2.4.Final] at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:86) ~[AbstractVisitor.class:7.2.4.Final] at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) ~[GetKeyValueCommand.class:7.2.4.Final] at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336) ~[InterceptorChain.class:7.2.4.Final] at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:430) [CacheImpl.class:7.2.4.Final] at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:422) [CacheImpl.class:7.2.4.Final] at org.infinispan.schematic.internal.CacheSchematicDb.get(CacheSchematicDb.java:77) [CacheSchematicDb.class:4.5.0.Final] at org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:71) [LocalDocumentStore.class:4.5.0.Final] at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:188) [WorkspaceCache.class:4.5.0.Final] at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:207) [WorkspaceCache.class:4.5.0.Final] at org.modeshape.jcr.cache.document.WorkspaceCache.persistedCache(WorkspaceCache.java:418) [WorkspaceCache.class:4.5.0.Final] at org.modeshape.jcr.cache.document.WritableSessionCache.lockNodes(WritableSessionCache.java:1499) [WritableSessionCache.class:4.5.0.Final] at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:638) [WritableSessionCache.class:4.5.0.Final] at org.modeshape.jcr.JcrSession.save(JcrSession.java:1171) [JcrSession.class:4.5.0.Final] at org.fcrepo.kernel.modeshape.TransactionImpl.commit(TransactionImpl.java:130) [TransactionImpl.class:4.5.1] at org.fcrepo.kernel.modeshape.services.TransactionServiceImpl.commit(TransactionServiceImpl.java:202) [TransactionServiceImpl.class:4.5.1] at org.fcrepo.http.api.FedoraTransactions.finalizeTransaction(FedoraTransactions.java:143) [FedoraTransactions.class:4.5.1] at org.fcrepo.http.api.FedoraTransactions.commit(FedoraTransactions.java:103) [FedoraTransactions.class:4.5.1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_66] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_66] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_66] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [ResourceMethodInvocationHandlerFactory$1.class:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151) [AbstractJavaResourceMethodDispatcher$1.class:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171) [AbstractJavaResourceMethodDispatcher.class:na] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) [JavaResourceMethodDispatcherProvider$ResponseOutInvoker.class:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104) [AbstractJavaResourceMethodDispatcher.class:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384) [ResourceMethodInvoker.class:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342) [ResourceMethodInvoker.class:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101) [ResourceMethodInvoker.class:na] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271) [ServerRuntime$1.class:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [Errors$1.class:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [Errors$1.class:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [Errors.class:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [Errors.class:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [Errors.class:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297) [RequestScope.class:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254) [ServerRuntime.class:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1030) [ApplicationHandler.class:na] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:373) [WebComponent.class:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) [ServletContainer.class:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) [ServletContainer.class:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) [ServletContainer.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.14] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.14] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.14] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.14] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.14] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) [catalina.jar:8.0.14] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.14] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.14] at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.14] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.14] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) [catalina.jar:8.0.14] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081) [tomcat-coyote.jar:8.0.14] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) [tomcat-coyote.jar:8.0.14] at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) [tomcat-coyote.jar:8.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) [tomcat-coyote.jar:8.0.14] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) [tomcat-coyote.jar:8.0.14] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_66] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.14] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66] ...from now, any request on this thread fails... ERROR 17:04:02.049 (RepositoryExceptionMapper) Caught a repository exception: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffff7f000101:a356:575eb4bb:16 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.

    Sakai JIRA | 4 months ago | Lukáš Jáně
    java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffff7f000101:a356:575eb4bb:16 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.
  2. 0

    When sending an HTTP DELETE request on a container with a large number of children, the application throws an exception. The number of children of the container where this happens cannot be easily calculated at the moment; it goes between tens of thousands to over 100k. Command line to reproduce the error: $ time curl -X DELETE http://localhost:8080/fcrepo/rest/prod javax.jcr.RepositoryException: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.modeshape.jcr.JcrSession.save(JcrSession.java:1190) at org.fcrepo.http.api.FedoraLdp.deleteObject(FedoraLdp.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1030) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:373) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:203) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:664) at org.modeshape.jcr.JcrSession.save(JcrSession.java:1171) ... 43 more Caused by: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:389) at org.infinispan.interceptors.TxInterceptor.enlistIfNeeded(TxInterceptor.java:351) at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:345) at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:318) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97) at org.infinispan.interceptors.CacheMgmtInterceptor.visitDataReadCommand(CacheMgmtInterceptor.java:103) at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:91) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97) at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102) at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:86) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:430) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:422) at org.infinispan.schematic.internal.CacheSchematicDb.get(CacheSchematicDb.java:77) at org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:71) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:188) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:207) at org.modeshape.jcr.cache.document.WorkspaceCache.persistedCache(WorkspaceCache.java:414) at org.modeshape.jcr.cache.document.WritableSessionCache.lockNodes(WritableSessionCache.java:1503) at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:626) ... 44 more real 2m51.756s user 0m0.022s sys 0m0.013s

    Sakai JIRA | 1 year ago | Stefano Cossu
    javax.jcr.RepositoryException: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.
  3. 0

    When sending an HTTP DELETE request on a container with a large number of children, the application throws an exception. The number of children of the container where this happens cannot be easily calculated at the moment; it goes between tens of thousands to over 100k. Command line to reproduce the error: $ time curl -X DELETE http://localhost:8080/fcrepo/rest/prod javax.jcr.RepositoryException: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.modeshape.jcr.JcrSession.save(JcrSession.java:1190) at org.fcrepo.http.api.FedoraLdp.deleteObject(FedoraLdp.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101) at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1030) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:373) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:203) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:664) at org.modeshape.jcr.JcrSession.save(JcrSession.java:1171) ... 43 more Caused by: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on. at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:389) at org.infinispan.interceptors.TxInterceptor.enlistIfNeeded(TxInterceptor.java:351) at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:345) at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:318) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97) at org.infinispan.interceptors.CacheMgmtInterceptor.visitDataReadCommand(CacheMgmtInterceptor.java:103) at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:91) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97) at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102) at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71) at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:86) at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40) at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:430) at org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:422) at org.infinispan.schematic.internal.CacheSchematicDb.get(CacheSchematicDb.java:77) at org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:71) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:188) at org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:207) at org.modeshape.jcr.cache.document.WorkspaceCache.persistedCache(WorkspaceCache.java:414) at org.modeshape.jcr.cache.document.WritableSessionCache.lockNodes(WritableSessionCache.java:1503) at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:626) ... 44 more real 2m51.756s user 0m0.022s sys 0m0.013s

    Sakai JIRA | 1 year ago | Stefano Cossu
    javax.jcr.RepositoryException: org.modeshape.common.SystemFailureException: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffffc6281b91:b590:5663c3ad:12 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DOC: ActionStatus.ABORTED ao pesquisar um documento

    GitHub | 1 year ago | Markenson
    javax.servlet.ServletException: your controller raised an exception
  6. 0

    db:: 3.41::Modeshape 3.1.1 installed as module in JBossAS 7.1.3 results in warnings zj

    hivmr.com | 5 months ago
    java.lang.IllegalStateException: Transaction TransactionImple ac, BasicAction: 0:ffff0a0cdc39:392918e1:5159cda2:815 status: ActionStatus.COMMITTED is not in a valid state to be invoking cache operations on.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Transaction TransactionImple < ac, BasicAction: 0:ffff7f000101:a356:575eb4bb:16 status: ActionStatus.ABORTED > is not in a valid state to be invoking cache operations on.

      at org.infinispan.interceptors.TxInterceptor.enlist()
    2. Infinispan Core
      CacheImpl.get
      1. org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:389)[TxInterceptor.class:7.2.4.Final]
      2. org.infinispan.interceptors.TxInterceptor.enlistIfNeeded(TxInterceptor.java:351)[TxInterceptor.class:7.2.4.Final]
      3. org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:345)[TxInterceptor.class:7.2.4.Final]
      4. org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:318)[TxInterceptor.class:7.2.4.Final]
      5. org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40)[GetKeyValueCommand.class:7.2.4.Final]
      6. org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)[CommandInterceptor.class:7.2.4.Final]
      7. org.infinispan.interceptors.CacheMgmtInterceptor.visitDataReadCommand(CacheMgmtInterceptor.java:103)[CacheMgmtInterceptor.class:7.2.4.Final]
      8. org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:91)[CacheMgmtInterceptor.class:7.2.4.Final]
      9. org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40)[GetKeyValueCommand.class:7.2.4.Final]
      10. org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:97)[CommandInterceptor.class:7.2.4.Final]
      11. org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:102)[InvocationContextInterceptor.class:7.2.4.Final]
      12. org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:71)[InvocationContextInterceptor.class:7.2.4.Final]
      13. org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:86)[AbstractVisitor.class:7.2.4.Final]
      14. org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:40)[GetKeyValueCommand.class:7.2.4.Final]
      15. org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:336)[InterceptorChain.class:7.2.4.Final]
      16. org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:430)[CacheImpl.class:7.2.4.Final]
      17. org.infinispan.cache.impl.CacheImpl.get(CacheImpl.java:422)[CacheImpl.class:7.2.4.Final]
      17 frames
    3. Schematic API
      CacheSchematicDb.get
      1. org.infinispan.schematic.internal.CacheSchematicDb.get(CacheSchematicDb.java:77)[CacheSchematicDb.class:4.5.0.Final]
      1 frame
    4. ModeShape JCR Repository
      JcrSession.save
      1. org.modeshape.jcr.cache.document.LocalDocumentStore.get(LocalDocumentStore.java:71)[LocalDocumentStore.class:4.5.0.Final]
      2. org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:188)[WorkspaceCache.class:4.5.0.Final]
      3. org.modeshape.jcr.cache.document.WorkspaceCache.documentFor(WorkspaceCache.java:207)[WorkspaceCache.class:4.5.0.Final]
      4. org.modeshape.jcr.cache.document.WorkspaceCache.persistedCache(WorkspaceCache.java:418)[WorkspaceCache.class:4.5.0.Final]
      5. org.modeshape.jcr.cache.document.WritableSessionCache.lockNodes(WritableSessionCache.java:1499)[WritableSessionCache.class:4.5.0.Final]
      6. org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:638)[WritableSessionCache.class:4.5.0.Final]
      7. org.modeshape.jcr.JcrSession.save(JcrSession.java:1171)[JcrSession.class:4.5.0.Final]
      7 frames
    5. org.fcrepo.kernel
      TransactionServiceImpl.commit
      1. org.fcrepo.kernel.modeshape.TransactionImpl.commit(TransactionImpl.java:130)[TransactionImpl.class:4.5.1]
      2. org.fcrepo.kernel.modeshape.services.TransactionServiceImpl.commit(TransactionServiceImpl.java:202)[TransactionServiceImpl.class:4.5.1]
      2 frames
    6. org.fcrepo.http
      FedoraTransactions.commit
      1. org.fcrepo.http.api.FedoraTransactions.finalizeTransaction(FedoraTransactions.java:143)[FedoraTransactions.class:4.5.1]
      2. org.fcrepo.http.api.FedoraTransactions.commit(FedoraTransactions.java:103)[FedoraTransactions.class:4.5.1]
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_66]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_66]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_66]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_66]
      4 frames
    8. jersey-core-server
      ServerRuntime$1.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[ResourceMethodInvocationHandlerFactory$1.class:na]
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)[AbstractJavaResourceMethodDispatcher$1.class:na]
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)[AbstractJavaResourceMethodDispatcher.class:na]
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)[JavaResourceMethodDispatcherProvider$ResponseOutInvoker.class:na]
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)[AbstractJavaResourceMethodDispatcher.class:na]
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:384)[ResourceMethodInvoker.class:na]
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:342)[ResourceMethodInvoker.class:na]
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)[ResourceMethodInvoker.class:na]
      9. org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)[ServerRuntime$1.class:na]
      9 frames
    9. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[Errors$1.class:na]
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[Errors$1.class:na]
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[Errors.class:na]
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[Errors.class:na]
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)[Errors.class:na]
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)[RequestScope.class:na]
      6 frames
    10. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)[ServerRuntime.class:na]
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1030)[ApplicationHandler.class:na]
      2 frames
    11. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:373)[WebComponent.class:na]
      2. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381)[ServletContainer.class:na]
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344)[ServletContainer.class:na]
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)[ServletContainer.class:na]
      4 frames
    12. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)[catalina.jar:8.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.14]
      2 frames
    13. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.0.14]
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)[catalina.jar:8.0.14]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:8.0.14]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)[catalina.jar:8.0.14]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.14]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)[catalina.jar:8.0.14]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)[catalina.jar:8.0.14]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.14]
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)[catalina.jar:8.0.14]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.14]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)[catalina.jar:8.0.14]
      10 frames
    15. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)[tomcat-coyote.jar:8.0.14]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)[tomcat-coyote.jar:8.0.14]
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)[tomcat-coyote.jar:8.0.14]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)[tomcat-coyote.jar:8.0.14]
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)[tomcat-coyote.jar:8.0.14]
      5 frames
    16. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_66]
      2 frames
    17. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.14]
      1 frame
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_66]
      1 frame