3 Replies Latest reply on Apr 5, 2013 11:16 AM by Randall Hauch

    Use Infinispan JDBC CacheLoader for Indexes

    Juraj Holtak Newbie

      Hi,

       

      I have troubles to place indexes into Infinispan witch JDBC CacheLoader.

       

      I get following stacktrace after first attempt of modeshape to create indexes:

       

      My configuration: JBossAS 7.1.3 (same problem with 7.1.1) and ModeShape 3.1.1 (same with 3.1.0)

       

      I`ve seen simillar stacktrace in this bugreport: https://issues.jboss.org/browse/MODE-1609

       

      I`ve attached my config file from AS 7.1.3.

       

       

      18:15:49,428 INFO  [org.hibernate.search.Version] (http-/127.0.0.1:8080-1) HSEARCH000034: Hibernate Search 4.1.1.Final

      18:15:49,448 INFO  [org.hibernate.annotations.common.Version] (http-/127.0.0.1:8080-1) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

      18:15:49,586 INFO  [org.jboss.as.clustering.infinispan] (CacheStartThread,ISPN,ucsmodeshapeindexmeta) JBAS010281: Started __recoveryInfoCacheName__ cache from ucsmodeshapeindexes container

      18:15:49,707 INFO  [org.infinispan.jmx.CacheJmxRegistration] (CacheStartThread,ISPN,ucsmodeshapeindexlocks) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:15:49,707 INFO  [org.jboss.as.clustering.infinispan] (CacheStartThread,ISPN,ucsmodeshapeindexlocks) JBAS010281: Started ucsmodeshapeindexlocks cache from ucsmodeshapeindexes container

      18:15:49,754 INFO  [org.infinispan.jmx.CacheJmxRegistration] (CacheStartThread,ISPN,ucsmodeshapeindexmeta) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:15:49,754 INFO  [org.jboss.as.clustering.infinispan] (CacheStartThread,ISPN,ucsmodeshapeindexmeta) JBAS010281: Started ucsmodeshapeindexmeta cache from ucsmodeshapeindexes container

      18:15:49,758 INFO  [org.infinispan.jmx.CacheJmxRegistration] (CacheStartThread,ISPN,ucsmodeshapeindexdata) ISPN000031: MBeans were successfully registered to the platform mbean server.

      18:15:49,758 INFO  [org.jboss.as.clustering.infinispan] (CacheStartThread,ISPN,ucsmodeshapeindexdata) JBAS010281: Started ucsmodeshapeindexdata cache from ucsmodeshapeindexes container

      18:15:49,912 WARN  [org.modeshape.jcr.cache.RepositoryCache] (http-/127.0.0.1:8080-1) An error occurred during the initial (one time) initialization: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager nodeinfo

          at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.modeshape.jcr.RepositoryQueryManager.queryEngine(RepositoryQueryManager.java:146) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.RepositoryQueryManager.getIndexes(RepositoryQueryManager.java:132) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory.createMonitor(JcrRepository.java:1774) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.txn.Transactions.newMonitor(Transactions.java:220) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.txn.Transactions$BaseTransaction.createMonitor(Transactions.java:233) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:377) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:341) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.cache.RepositoryCache.runSystemOneTimeInitializationOperation(RepositoryCache.java:455) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository$RunningState.postInitialize(JcrRepository.java:1264) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:358) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:611) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:149) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.web.jcr.RepositoryManager.getSession(RepositoryManager.java:116) [modeshape-web-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.web.jcr.rest.handler.AbstractHandler.getSession(AbstractHandler.java:63) [modeshape-web-jcr-rest-3.1.1.Final.jar:3.1.1.Final]

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

          at org.modeshape.web.jcr.rest.ModeShapeRestService.getWorkspaces(ModeShapeRestService.java:177) [modeshape-web-jcr-rest-3.1.1.Final.jar:3.1.1.Final]

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

      Caused by: org.infinispan.config.ConfigurationException: Invocation batching not enabled in current configuration!  Please use the <invocationBatching /> element.

          at org.infinispan.CacheImpl.startBatch(CacheImpl.java:605) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

          at org.infinispan.AbstractDelegatingCache.startBatch(AbstractDelegatingCache.java:75) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

          at org.infinispan.lucene.InfinispanIndexOutput.close(InfinispanIndexOutput.java:195) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

          at org.apache.lucene.store.ChecksumIndexOutput.close(ChecksumIndexOutput.java:61) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.SegmentInfos.finishCommit(SegmentInfos.java:901) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.finishCommit(IndexWriter.java:3539) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3529) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1879) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1822) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1786) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:160) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:89) [hibernate-search-infinispan-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:93) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          ... 50 more

       

      18:15:49,937 INFO  [org.jboss.as.clustering.infinispan] (http-/127.0.0.1:8080-1) JBAS010281: Started ucs-modeshape-repo/default cache from modeshape container

      18:15:49,955 ERROR [org.jboss.as.txn] (http-/127.0.0.1:8080-1) JBAS010152: APPLICATION ERROR: transaction still active in request with status 0

      18:20:10,761 ERROR [org.modeshape.jcr.JcrRepository] (modeshape-cron-2-thread-1) Error during background garbage collection: HSEARCH000103: Unable to initialize IndexManager nodeinfo: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager nodeinfo

          at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.modeshape.jcr.RepositoryQueryManager.queryEngine(RepositoryQueryManager.java:146) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.RepositoryQueryManager.getIndexes(RepositoryQueryManager.java:132) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory.createMonitor(JcrRepository.java:1774) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.txn.Transactions.newMonitor(Transactions.java:220) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.txn.Transactions$BaseTransaction.createMonitor(Transactions.java:233) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:377) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:341) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

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

          at org.modeshape.jcr.JcrRepository$RunningState.cleanUpLocks(JcrRepository.java:1647) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.JcrRepository.cleanUp(JcrRepository.java:879) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at org.modeshape.jcr.ModeShapeEngine$GarbageCollectionTask.run(ModeShapeEngine.java:135) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_11]

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [rt.jar:1.7.0_11]

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [rt.jar:1.7.0_11]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_11]

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_11]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

      Caused by: org.infinispan.config.ConfigurationException: Invocation batching not enabled in current configuration!  Please use the <invocationBatching /> element.

          at org.infinispan.CacheImpl.startBatch(CacheImpl.java:605) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

          at org.infinispan.AbstractDelegatingCache.startBatch(AbstractDelegatingCache.java:75) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

          at org.infinispan.lucene.InfinispanIndexOutput.close(InfinispanIndexOutput.java:195) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

          at org.apache.lucene.store.ChecksumIndexOutput.close(ChecksumIndexOutput.java:61) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.SegmentInfos.finishCommit(SegmentInfos.java:901) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.finishCommit(IndexWriter.java:3539) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3529) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1879) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1822) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1786) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

          at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:160) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:89) [hibernate-search-infinispan-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:93) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

          ... 23 more

       

      18:25:10,749 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff7f000101:354fd032:510aa69e:64 in state  RUN

      18:25:10,751 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffff7f000101:354fd032:510aa69e:64 invoked while multiple threads active within it.

      18:25:10,751 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffff7f000101:354fd032:510aa69e:64 aborting with 1 threads active!

      18:25:10,754 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffff7f000101:354fd032:510aa69e:64

        • 1. Re: Use Infinispan JDBC CacheLoader for Indexes
          Juraj Holtak Newbie

          ok I`ve moved littlebit forward

           

          by add batching="true" to all index <local-cache> elements deployment is OK

           

          but after creation of 10,000 node index update kicks in and I get very simmilar problems. I`ve even switched to NON_XA datasource

           

           

          19:05:16,223 ERROR [org.infinispan.loaders.jdbc.connectionfactory.ManagedConnectionFactory] (http-/127.0.0.1:8080-3) 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:147)

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

              at org.infinispan.loaders.jdbc.binary.JdbcBinaryCacheStore.loadBucket(JdbcBinaryCacheStore.java:277)

              at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:49) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.loaders.LockSupportCacheStore.load(LockSupportCacheStore.java:142) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:148) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeededAndUpdateStats(CacheLoaderInterceptor.java:208) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:98) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.EntryWrappingInterceptor.visitGetKeyValueCommand(EntryWrappingInterceptor.java:113) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

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

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitGetKeyValueCommand(AbstractTxLockingInterceptor.java:93) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitGetKeyValueCommand(OptimisticLockingInterceptor.java:147) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

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

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:189) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:184) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:94) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:132) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:91) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:86) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.CacheImpl.get(CacheImpl.java:278) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.CacheImpl.get(CacheImpl.java:270) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.AbstractDelegatingCache.get(AbstractDelegatingCache.java:303) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.lucene.FileListOperations.getFileList(FileListOperations.java:62) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.infinispan.lucene.InfinispanDirectory.list(InfinispanDirectory.java:163) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.infinispan.lucene.InfinispanDirectory.listAll(InfinispanDirectory.java:318) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:641) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:593) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:359) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:1076) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:157) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:89) [hibernate-search-infinispan-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:93) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.modeshape.jcr.RepositoryQueryManager.queryEngine(RepositoryQueryManager.java:146) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.RepositoryQueryManager.getIndexes(RepositoryQueryManager.java:132) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory.createMonitor(JcrRepository.java:1774) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.Transactions.newMonitor(Transactions.java:220) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction.afterCommit(SynchronizedTransactions.java:165) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction$1.afterCompletion(SynchronizedTransactions.java:120) [modeshape-jcr-3.1.1.Final.jar:3.1.1.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.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:90) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:331) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:181) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:110) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at ResourcePlanner.jwh.modeshape.war.ModeShapeAccess.doSomething(ModeShapeAccess.java:16)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

              at org.apache.el.parser.AstValue.invoke(AstValue.java:264)

              at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)

              at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              at javax.faces.component.UICommand.broadcast(UICommand.java:315)

              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

              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.core.StandardContextValve.invoke(StandardContextValve.java)

              at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:165)

              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:372)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

          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:139)

              ... 141 more

          Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffff7f000101:-663d0f45:510ab233:1a status: ActionStatus.COMMITTED >

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

              ... 143 more

           

          19:05:16,256 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http-/127.0.0.1:8080-3) 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:96)

              at org.infinispan.loaders.jdbc.binary.JdbcBinaryCacheStore.loadBucket(JdbcBinaryCacheStore.java:277)

              at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:49) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.loaders.LockSupportCacheStore.load(LockSupportCacheStore.java:142) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:148) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeededAndUpdateStats(CacheLoaderInterceptor.java:208) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:98) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.EntryWrappingInterceptor.visitGetKeyValueCommand(EntryWrappingInterceptor.java:113) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

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

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitGetKeyValueCommand(AbstractTxLockingInterceptor.java:93) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitGetKeyValueCommand(OptimisticLockingInterceptor.java:147) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

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

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:189) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:184) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:94) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:132) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:91) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:86) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.CacheImpl.get(CacheImpl.java:278) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.CacheImpl.get(CacheImpl.java:270) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.AbstractDelegatingCache.get(AbstractDelegatingCache.java:303) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.lucene.FileListOperations.getFileList(FileListOperations.java:62) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.infinispan.lucene.InfinispanDirectory.list(InfinispanDirectory.java:163) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.infinispan.lucene.InfinispanDirectory.listAll(InfinispanDirectory.java:318) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:641) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:593) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:359) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:1076) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:157) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:89) [hibernate-search-infinispan-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:93) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.modeshape.jcr.RepositoryQueryManager.queryEngine(RepositoryQueryManager.java:146) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.RepositoryQueryManager.getIndexes(RepositoryQueryManager.java:132) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory.createMonitor(JcrRepository.java:1774) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.Transactions.newMonitor(Transactions.java:220) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction.afterCommit(SynchronizedTransactions.java:165) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction$1.afterCompletion(SynchronizedTransactions.java:120) [modeshape-jcr-3.1.1.Final.jar:3.1.1.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.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:90) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:331) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:181) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:110) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at ResourcePlanner.jwh.modeshape.war.ModeShapeAccess.doSomething(ModeShapeAccess.java:16)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

              at org.apache.el.parser.AstValue.invoke(AstValue.java:264)

              at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)

              at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              at javax.faces.component.UICommand.broadcast(UICommand.java:315)

              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

              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.core.StandardContextValve.invoke(StandardContextValve.java)

              at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:165)

              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:372)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

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

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

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

              ... 140 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:139)

              ... 141 more

          Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffff7f000101:-663d0f45:510ab233:1a status: ActionStatus.COMMITTED >

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

              ... 143 more

           

          19:05:16,309 WARN  [com.arjuna.ats.jta] (http-/127.0.0.1:8080-3) ARJUNA016029: SynchronizationImple.afterCompletion - failed for org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction$1@2d72ccdf with exception: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager nodeinfo

              at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:244) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:111) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:411) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:221) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:145) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.modeshape.jcr.RepositoryQueryManager.queryEngine(RepositoryQueryManager.java:146) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.RepositoryQueryManager.getIndexes(RepositoryQueryManager.java:132) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory.createMonitor(JcrRepository.java:1774) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.Transactions.newMonitor(Transactions.java:220) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction.afterCommit(SynchronizedTransactions.java:165) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]

              at org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction$1.afterCompletion(SynchronizedTransactions.java:120) [modeshape-jcr-3.1.1.Final.jar:3.1.1.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.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:90) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:331) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:181) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.3.Final.jar:7.1.3.Final]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

              at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:110) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at ResourcePlanner.jwh.modeshape.war.ModeShapeAccess.doSomething(ModeShapeAccess.java:16)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_11]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_11]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_11]

              at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_11]

              at org.apache.el.parser.AstValue.invoke(AstValue.java:264)

              at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)

              at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              at javax.faces.component.UICommand.broadcast(UICommand.java:315)

              at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

              at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.9.Final.jar:2012-08-06 19:12]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

              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.core.StandardContextValve.invoke(StandardContextValve.java)

              at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.3.Final.jar:7.1.3.Final]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:165)

              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:372)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

          Caused by: org.infinispan.CacheException: org.infinispan.loaders.CacheLoaderException: This might be related to https://jira.jboss.org/browse/ISPN-604

              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:353) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.CacheImpl.get(CacheImpl.java:278) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.CacheImpl.get(CacheImpl.java:270) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.AbstractDelegatingCache.get(AbstractDelegatingCache.java:303) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.lucene.FileListOperations.getFileList(FileListOperations.java:62) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.infinispan.lucene.InfinispanDirectory.list(InfinispanDirectory.java:163) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.infinispan.lucene.InfinispanDirectory.listAll(InfinispanDirectory.java:318) [infinispan-lucene-directory-5.1.2.FINAL.jar:5.1.2.FINAL]

              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:641) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:593) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:359) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:1076) [lucene-core-3.5.0.jar:3.5.0 1204988 - simon - 2011-11-22 14:46:51]

              at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:157) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:89) [hibernate-search-infinispan-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:93) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              at org.hibernate.search.indexes.impl.IndexManagerHolder.createDirectoryManager(IndexManagerHolder.java:241) [hibernate-search-engine-4.1.1.Final.jar:4.1.1.Final]

              ... 88 more

          Caused by: 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:96)

              at org.infinispan.loaders.jdbc.binary.JdbcBinaryCacheStore.loadBucket(JdbcBinaryCacheStore.java:277)

              at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.loaders.bucket.BucketBasedCacheStore.loadLockSafe(BucketBasedCacheStore.java:49) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.loaders.LockSupportCacheStore.load(LockSupportCacheStore.java:142) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:148) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.loadIfNeededAndUpdateStats(CacheLoaderInterceptor.java:208) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.CacheLoaderInterceptor.visitGetKeyValueCommand(CacheLoaderInterceptor.java:98) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.EntryWrappingInterceptor.visitGetKeyValueCommand(EntryWrappingInterceptor.java:113) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

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

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitGetKeyValueCommand(AbstractTxLockingInterceptor.java:93) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitGetKeyValueCommand(OptimisticLockingInterceptor.java:147) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

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

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:189) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:184) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.CacheMgmtInterceptor.visitGetKeyValueCommand(CacheMgmtInterceptor.java:94) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:132) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:91) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:86) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.AbstractVisitor.visitGetKeyValueCommand(AbstractVisitor.java:104) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

              at org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:60) [infinispan-core-5.1.7.Final.jar:5.1.7.Final]

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

              ... 102 more

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

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

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

              ... 140 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:139)

              ... 141 more

          Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffff7f000101:-663d0f45:510ab233:1a status: ActionStatus.COMMITTED >

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

              ... 143 more

           

          19:05:16,341 WARN  [com.arjuna.ats.arjuna] (http-/127.0.0.1:8080-3) ARJUNA012127: TwoPhaseCoordinator.afterCompletion - returned failure for SynchronizationImple< 0:ffff7f000101:-663d0f45:510ab233:1e, org.modeshape.jcr.txn.SynchronizedTransactions$SynchronizedTransaction$1@2d72ccdf >

          19:05:16,341 INFO  [stdout] (http-/127.0.0.1:8080-3) Returned from ModeshapeEval

          19:09:36,173 INFO  [org.hibernate.search.indexes.serialization.avro.impl.AvroSerializationProvider] (modeshape-cron-2-thread-1) HSEARCH000079: Serialization protocol version 1.0

           

          • 2. Re: Use Infinispan JDBC CacheLoader for Indexes
            Brian Wallis Master

            Hi, did you get anywhere with this?

             

            I have the same issue with the following infinispan and modeshape configuration running in EAP 6.1 alpha1 with a recent modeshape 3.2 snapshot.

             

            {code}        <subsystem xmlns="urn:jboss:domain:infinispan:1.4">

                        <cache-container name="modeshapeCache">

                            <local-cache name="testRepositoryCache">

                                <transaction mode="NON_XA"/>

                                <eviction strategy="LIRS" max-entries="512"/>

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

                                    <property name="databaseType">

                                        postgres

                                    </property>

                                    <property name="createTableOnStart">

                                        true

                                    </property>

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

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

                                        <data-column name="datum" type="BYTEA"/>

                                        <timestamp-column name="version" type="BIGINT"/>

                                    </string-keyed-table>

                                </string-keyed-jdbc-store>

                            </local-cache>

                        </cache-container>

                        <cache-container name="modeshapeBinaryCache">

                            <local-cache name="testRepository_binary_data">

                                <transaction mode="NON_XA"/>

                                <eviction strategy="LIRS" max-entries="5"/>

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

                                    <property name="databaseType">

                                        postgres

                                    </property>

                                    <property name="createTableOnStart">

                                        true

                                    </property>

                                    <binary-keyed-table prefix="binarybased">

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

                                        <data-column name="datum" type="BYTEA"/>

                                        <timestamp-column name="version" type="BIGINT"/>

                                    </binary-keyed-table>

                                </binary-keyed-jdbc-store>

                            </local-cache>

                            <local-cache name="testRepository_binary_metadata">

                                <transaction mode="NON_XA"/>

                                <eviction strategy="LIRS" max-entries="2000"/>

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

                                    <property name="databaseType">

                                        postgres

                                    </property>

                                    <property name="createTableOnStart">

                                        true

                                    </property>

                                    <binary-keyed-table prefix="binarybased">

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

                                        <data-column name="datum" type="BYTEA"/>

                                        <timestamp-column name="version" type="BIGINT"/>

                                    </binary-keyed-table>

                                </binary-keyed-jdbc-store>

                            </local-cache>

                        </cache-container>

                        <cache-container name="modeshapeIndexCache">

                            <local-cache name="testRepository_index_locks" batching="false">

                                <transaction mode="NON_XA"/>

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

                                    <property name="databaseType">

                                        postgres

                                    </property>

                                    <property name="createTableOnStart">

                                        true

                                    </property>

                                    <binary-keyed-table prefix="binarybased">

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

                                        <data-column name="datum" type="BYTEA"/>

                                        <timestamp-column name="version" type="BIGINT"/>

                                    </binary-keyed-table>

                                </binary-keyed-jdbc-store>

                            </local-cache>

                            <local-cache name="testRepository_index_data" batching="false">

                                <transaction mode="NON_XA"/>

                                <eviction strategy="LIRS" max-entries="2000"/>

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

                                    <property name="databaseType">

                                        postgres

                                    </property>

                                    <property name="createTableOnStart">

                                        true

                                    </property>

                                    <binary-keyed-table prefix="binarybased">

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

                                        <data-column name="datum" type="BYTEA"/>

                                        <timestamp-column name="version" type="BIGINT"/>

                                    </binary-keyed-table>

                                </binary-keyed-jdbc-store>

                            </local-cache>

                            <local-cache name="testRepository_index_metadata" batching="false">

                                <transaction mode="NON_XA"/>

                                <eviction strategy="LIRS" max-entries="2000"/>

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

                                    <property name="databaseType">

                                        postgres

                                    </property>

                                    <property name="createTableOnStart">

                                        true

                                    </property>

                                    <binary-keyed-table prefix="binarybased">

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

                                        <data-column name="datum" type="BYTEA"/>

                                        <timestamp-column name="version" type="BIGINT"/>

                                    </binary-keyed-table>

                                </binary-keyed-jdbc-store>

                            </local-cache>

                        </cache-container>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:modeshape:1.0">

                        <repository name="testRepository" cache-name="testRepositoryCache" cache-container="modeshapeCache">

                            <cache-index-storage data-cache-name="testRepository_index_data" metadata-cache-name="testRepository_index_metadata" lock-cache-name="testRepository_index_locks" cache-container="modeshapeIndexCache"/>

                            <cache-binary-storage data-cache-name="testRepository_binary_data" metadata-cache-name="testRepository_binary_metadata" cache-container="modeshapeBinaryCache"/>

                        </repository>

                        <webapp name="modeshape-rest.war"/>

                        <webapp name="modeshape-cmis.war"/>

                        <webapp name="modeshape-webdav.war"/>

                    </subsystem>

            {code}

             

            To get the error (same stack trace) all I have to do is access the repository via the rest api at http://localhost:8080/modeshape-rest/testRepository

             

            Enabling batching on all three caches does make the initial error go away but I don't think it is fixing anything, just putting it off for a while as you have seen.

             

            Any help (from anyone) or pointers to documentation of how to configure more complex setups with databases for the backing store would be greatly appreciated. I want to get something working with replication across a few hosts and am struggling working out what configuration should be used  and what the various options might be.

             

            thanks