4 Replies Latest reply on Sep 3, 2012 3:23 AM by michcss

    Jdbc cache store on modeshape 3.0.0.beta3 - repository null

    michcss Newbie

      Hi,

      I've configured modeshape to use string keyed jdbc store. With the following configuration:

       

       

      <local-cache name="sample2">
                          <transaction mode="NON_XA"/>
                          <string-keyed-jdbc-store datasource="java:jboss/datasources/OracleDS" passivation="false" purge="false"/>
         </local-cache>
      
      

       

      When I try to open http://localhost:8080/modeshape-rest/sample2 I get

       

       

      {
        "exception": "Error while starting 'sample2' repository: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object ",
        "stacktrace": "javax.jcr.RepositoryException: Error while starting 'sample2' repository: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object 
      at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:611)
      at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147)
      at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109)
      at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58)
      at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55)
      at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
      at java.lang.Thread.run(Thread.java:662)rnCaused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object 
      at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
      at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:882)
      at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:637)
      at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:626)
      at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
      at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:173)
      at org.infinispan.CacheImpl.start(CacheImpl.java:499)
      at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:626)
      at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:516)
      at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:530)
      at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:148)
      at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:139)
      at org.infinispan.schematic.Schematic.get(Schematic.java:106)
      at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1038)
      at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:957)
      at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:352)
      at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:609)
      ... 34 morernCaused by: org.infinispan.CacheException: Unable to start cache loaders
      at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:132)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
      ... 50 morernCaused by: org.infinispan.loaders.CacheLoaderException: java.sql.SQLSyntaxErrorException: ORA-00906: brak lewego nawiasun
      at org.infinispan.loaders.jdbc.TableManipulation.executeUpdateSql(TableManipulation.java:157)
      at org.infinispan.loaders.jdbc.TableManipulation.createTable(TableManipulation.java:130)
      at org.infinispan.loaders.jdbc.TableManipulation.start(TableManipulation.java:231)
      at org.infinispan.loaders.jdbc.binary.JdbcBinaryCacheStore.doConnectionFactoryInitialization(JdbcBinaryCacheStore.java:504)
      at org.infinispan.loaders.jdbc.mixed.JdbcMixedCacheStore.start(JdbcMixedCacheStore.java:93)
      at org.infinispan.loaders.CacheLoaderManagerImpl.start(CacheLoaderManagerImpl.java:129)
      ... 55 morernCaused by: java.sql.SQLSyntaxErrorException: ORA-00906: brak lewego nawiasun
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
      at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1033)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
      at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1838)
      at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1803)
      at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:294)
      at org.jboss.jca.adapters.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:371)
      at org.infinispan.loaders.jdbc.TableManipulation.executeUpdateSql(TableManipulation.java:154)
      ... 60 morern"
      }
      
      

       

      With

       

       

       <local-cache name="sample2">
                          <transaction mode="NON_XA"/>
                          <string-keyed-jdbc-store datasource="OracleDS" passivation="false" purge="false"/>
      </local-cache>
      
      

      I get:

       

      {
        "exception": "Error while starting 'sample2' repository: null",
        "stacktrace": "javax.jcr.RepositoryException: Error while starting 'sample2' repository: null
      at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:611)
      at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147)
      at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109)
      at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58)
      at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55)
      at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
      at java.lang.Thread.run(Thread.java:662)rnCaused by: java.lang.NullPointerException
      at org.modeshape.jcr.txn.SynchronizedTransactions.begin(SynchronizedTransactions.java:60)
      at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:333)
      at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:308)
      at org.modeshape.jcr.cache.RepositoryCache.(RepositoryCache.java:130)
      at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1064)
      at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:957)
      at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:352)
      at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:609)
      ... 34 morern"
      }
      
      

       

      Default sample and artifact repositories works. I've added my sample2 repository as shown in the documentation https://docs.jboss.org/author/display/MODE/Configuring+ModeShape+in+AS7 .

        • 1. Re: Jdbc cache store on modeshape 3.0.0.beta3 - repository null
          Randall Hauch Master

          Does it work if you remove or comment out the "string-keyed-jdbc-store" element from the Infinispan subsystem configuration?

           

          Also, you may find the JDBC configuration in AS7.1.1 thread to be useful; it's related (not quite the same error message, but also using an earlier beta) and identifies a workaround for an Infinispan issue in 7.1 using JDBC cache stores.

          • 2. Re: Jdbc cache store on modeshape 3.0.0.beta3 - repository null
            Chris Poulsen Newbie

            Hi,

             

            I have the string keyed jdbc store running against Oracle XE.

             

            If I lookup the ORA-00906 you get in the bottom of your stacktrace, it seems like something is generating invalid sql (google says it is a missing left paranthesis).

             

            A wild guess would be that the cache store cannot figure out which datatypes oracle requires for the different columns.

             

            I've posted my working cache loader config (where I specify all column names/types) here: https://community.jboss.org/message/757256

             

            - Hope this helps!

             

            --

            Chris

            1 of 1 people found this helpful
            • 3. Re: Jdbc cache store on modeshape 3.0.0.beta3 - repository null
              michcss Newbie

              I managed to get it probably working. I had to specify string-keyed-table types. I'm using Oracle 11g EE. However, when cache transaction mode is set to NON_XA with non-xa datasource, I get exceptions sth like Cannot create transaction etc (I can attach stactrace on monday). When I set FULL_XA with non-xa datasource everything seems to work, only WARN's concerning XA resource (again I can copy full message on monday), but it works properly! When I set FULL_XA with xa datasource I get exception with message sth like "Unable to find active transaction. This might be related to https://jira.jboss.org/browse/ISPN-604".

              • 4. Re: Jdbc cache store on modeshape 3.0.0.beta3 - repository null
                michcss Newbie

                FULL_XA with non-xa datasource - only warnings whitch appears in all cases mentioned below

                 

                 

                09:12:34,823 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord <                                                     resource:null, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a83740:701a8e34:503dd908:e, node_name=1, branch_uid=0:ffffc0a83740:701a8e34:503dd908:                                                    f, subordinatenodename=null, eis_name=unknown eis name >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@4db0590b >

                09:12:34,825 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016038: No XAResource to recover < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a83740                                                    :701a8e34:503dd908:e, node_name=1, branch_uid=0:ffffc0a83740:701a8e34:503dd908:f, subordinatenodename=null, eis_name=unknown eis name >

                 

                 

                NON_XA with non-xa datasource

                 

                09:15:37,884 ERROR [org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore] (http--127.0.0.1-8080-2) ISPN008027: SQL error while fetching stored entry with key: ImmortalCacheEntry{key=4e62e3c7505d64/, value=ImmortalCacheValue {value=SchematicValueImpl{ "metadata" : { "id" : "4e62e3c7505d64/" } , "content" : { "properties" : { "http://www.jcp.org/jcr/1.0" : { "primaryType" : { "$name" : "mode:root" } , "uuid" : "4e62e3c7505d64/" } } , "children" : [ { "key" : "4e62e3c317f1e7jcr:system" , "name" : "jcr:system" } , { "key" : "4e62e3c7505d64c3c1a386-e975-431a-a8a4-ba79c6a91cb1" , "name" : "tttttttttttttttttttttttttt" } ] , "childrenInfo" : { "count" : 2 } } }}}, lockingKey: 4e62e3c7505d64/: java.sql.SQLException: Transaction cannot proceed STATUS_COMMITTED

                        at org.jboss.jca.adapters.jdbc.WrapperDataSource.checkTransactionActive(WrapperDataSource.java:240)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransactionActive(WrappedConnection.java:1599)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:1614)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1588)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:397)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.readStoredEntry(JdbcStringBasedCacheStore.java:400)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:223)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:87)

                        at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheStore.java:193) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.applyModifications(AbstractCacheStore.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.java:154) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand(CacheStoreInterceptor.java:137) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitCommand(EntryWrappingInterceptor.java:90) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:104) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:65) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:120) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:181) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:402)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:103)

                        at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)

                        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)

                        at org.modeshape.jcr.txn.Transactions$SimpleTransaction.commit(Transactions.java:230) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:358) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:308) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.RepositoryCache.workspace(RepositoryCache.java:333) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.RepositoryCache.createSession(RepositoryCache.java:479) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrSession.<init>(JcrSession.java:145) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrXaSession.<init>(JcrXaSession.java:49) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:654) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109) [modeshape-web-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_32]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_32]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_32]

                        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_32]

                        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

                 

                09:15:37,958 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http--127.0.0.1-8080-2) ISPN000136: Execution error: org.infinispan.loaders.CacheLoaderException: SQL error while fetching stored entry with key:             ImmortalCacheEntry{key=4e62e3c7505d64/, value=ImmortalCacheValue {value=SchematicValueImpl{ "metadata" : { "id" : "4e62e3c7505d64/" } , "content" : { "properties" : { "http://www.jcp.org/jcr/1.0" : { "primaryType" : { "$name"             : "mode:root" } , "uuid" : "4e62e3c7505d64/" } } , "children" : [ { "key" : "4e62e3c317f1e7jcr:system" , "name" : "jcr:system" } , { "key" : "4e62e3c7505d64c3c1a386-e975-431a-a8a4-ba79c6a91cb1" , "name" : "tttttttttttttttttt            tttttttt" } ] , "childrenInfo" : { "count" : 2 } } }}}, lockingKey: 4e62e3c7505d64/

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.readStoredEntry(JdbcStringBasedCacheStore.java:410)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:223)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:87)

                        at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheStore.java:193) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.applyModifications(AbstractCacheStore.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.java:154) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand(CacheStoreInterceptor.java:137) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitCommand(EntryWrappingInterceptor.java:90) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:104) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:65) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:120) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:181) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:402)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:103)

                        at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)

                        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)

                        at org.modeshape.jcr.txn.Transactions$SimpleTransaction.commit(Transactions.java:230) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:358) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:308) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.RepositoryCache.workspace(RepositoryCache.java:333) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.RepositoryCache.createSession(RepositoryCache.java:479) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrSession.<init>(JcrSession.java:145) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrXaSession.<init>(JcrXaSession.java:49) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:654) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109) [modeshape-web-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_32]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_32]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_32]

                        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_32]

                        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

                Caused by: java.sql.SQLException: Transaction cannot proceed STATUS_COMMITTED

                        at org.jboss.jca.adapters.jdbc.WrapperDataSource.checkTransactionActive(WrapperDataSource.java:240)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransactionActive(WrappedConnection.java:1599)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:1614)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:1588)

                        at org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:397)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.readStoredEntry(JdbcStringBasedCacheStore.java:400)

                        ... 86 more

                09:15:38,066 WARN  [com.arjuna.ats.jta] (http--127.0.0.1-8080-2) ARJUNA016029: SynchronizationImple.afterCompletion - failed for SynchronizationAdapter{localTransaction=LocalTransaction{remoteLockedNodes=null, isMarkedForRollback=false, transaction=TransactionImple < ac, BasicAction: 0:ffffc0a83740:c53bd9e:50445904:4d status: ActionStatus.COMMITTED >, lockedKeys=null, backupKeyLocks=null, viewId=-1} org.infinispan.transaction.synchronization.SyncLocalTransaction@4} org.infinispan.transaction.synchronization.SynchronizationAdapter@23 with exception: org.infinispan.CacheException: Could not commit.

                        at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:83) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:402)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:103)

                        at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)

                        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)

                        at org.modeshape.jcr.txn.Transactions$SimpleTransaction.commit(Transactions.java:230) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:358) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:308) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.RepositoryCache.workspace(RepositoryCache.java:333) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.RepositoryCache.createSession(RepositoryCache.java:479) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrSession.<init>(JcrSession.java:145) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrXaSession.<init>(JcrXaSession.java:49) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:654) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109) [modeshape-web-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_32]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_32]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_32]

                        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_32]

                        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

                Caused by: javax.transaction.xa.XAException

                        at org.infinispan.transaction.TransactionCoordinator.handleCommitFailure(TransactionCoordinator.java:219) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:184) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        ... 49 more

                 

                FULL_XA with XA datasource

                 

                 

                09:21:18,707 ERROR [org.infinispan.loaders.jdbc.connectionfactory.ManagedConnectionFactory] (http--127.0.0.1-8080-1) ISPN008018: Sql failure retrieving connection from datasource: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction

                        at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:137)

                        at org.infinispan.loaders.jdbc.connectionfactory.ManagedConnectionFactory.getConnection(ManagedConnectionFactory.java:90)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.readStoredEntry(JdbcStringBasedCacheStore.java:399)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:223)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:87)

                        at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheStore.java:193) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.applyModifications(AbstractCacheStore.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.java:154) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand(CacheStoreInterceptor.java:137) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitCommand(EntryWrappingInterceptor.java:90) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:104) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:65) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:120) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:181) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:123) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:667)

                        at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2283)

                        at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1466)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:98)

                        at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)

                        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)

                        at org.modeshape.jcr.txn.Transactions$SimpleTransaction.commit(Transactions.java:230) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:358) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:308) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.SystemContent.save(SystemContent.java:112) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.SystemNamespaceRegistry.register(SystemNamespaceRegistry.java:179) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1093) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:957) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:352) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:609) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109) [modeshape-web-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_32]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_32]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_32]

                        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_32]

                        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

                Caused by: javax.resource.ResourceException: IJ000460: Error checking for a transaction

                        at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:362)

                        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)

                        at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129)

                        ... 90 more

                Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffffc0a83740:-2618f0e4:50445a3e:4f status: ActionStatus.COMMITTING >

                        at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:352)

                        ... 92 more

                 

                 

                09:21:18,749 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http--127.0.0.1-8080-1) ISPN000136: Execution error: org.infinispan.loaders.CacheLoaderException: This might be related to https://jira.jboss.org/browse/ISPN-604

                        at org.infinispan.loaders.jdbc.connectionfactory.ManagedConnectionFactory.getConnection(ManagedConnectionFactory.java:93)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.readStoredEntry(JdbcStringBasedCacheStore.java:399)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:223)

                        at org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore.storeLockSafe(JdbcStringBasedCacheStore.java:87)

                        at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheStore.java:193) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.applyModifications(AbstractCacheStore.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.java:154) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand(CacheStoreInterceptor.java:137) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitCommand(EntryWrappingInterceptor.java:90) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:104) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:65) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:120) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:121) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:66) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:181) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:123) [infinispan-core-5.1.2.FINAL.jar:5.1.2.FINAL]

                        at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:667)

                        at com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2283)

                        at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1466)

                        at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:98)

                        at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)

                        at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)

                        at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)

                        at org.modeshape.jcr.txn.Transactions$SimpleTransaction.commit(Transactions.java:230) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:358) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:308) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.SystemContent.save(SystemContent.java:112) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.SystemNamespaceRegistry.register(SystemNamespaceRegistry.java:179) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1093) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:957) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:352) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:609) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:147) [modeshape-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:109) [modeshape-web-jcr-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:58) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.handler.RestRepositoryHandler.getWorkspaces(RestRepositoryHandler.java:55) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:169) [modeshape-web-jcr-rest-3.0.0.Beta3.jar:3.0.0.Beta3]

                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_32]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_32]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_32]

                        at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_32]

                        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

                Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction

                        at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:137)

                        at org.infinispan.loaders.jdbc.connectionfactory.ManagedConnectionFactory.getConnection(ManagedConnectionFactory.java:90)

                        ... 89 more

                Caused by: javax.resource.ResourceException: IJ000460: Error checking for a transaction

                        at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:362)

                        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)

                        at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129)

                        ... 90 more

                Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffffc0a83740:-2618f0e4:50445a3e:4f status: ActionStatus.COMMITTING >

                        at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:352)

                        ... 92 more

                 

                My configuration:

                 

                 

                <local-cache name="sample3">

                                    <transaction mode="FULL_XA"/>

                                    <string-keyed-jdbc-store datasource="java:jboss/datasources/OracleDSXA" passivation="false" purge="false">

                                        <property name="databaseType">

                                            Oracle

                                        </property>

                                        <property name="createTableOnStart">

                                            true

                                        </property>

                                        <property name="connectionFactoryClass">

                                            org.infinispan.loaders.jdbc.connectionfactory.SimpleConnectionFactory

                                        </property>

                                        <string-keyed-table prefix="PREFIX">

                                            <id-column name="ID" type="VARCHAR2(200)"/>

                                            <data-column name="PAYLOAD" type="BLOB"/>

                                            <timestamp-column name="MARK" type="NUMBER"/>

                                        </string-keyed-table>

                                    </string-keyed-jdbc-store>

                                </local-cache>

                ".