1 2 Previous Next 15 Replies Latest reply on May 30, 2012 4:25 PM by rhauch

    Simple Infinispan Configuration Problem

    duncanmcintyre

      I have a JCR performance test suite which I am trying to run against Infinispan 3 Alpha4. The suite runs fine as long as I give it an empty repository configuration. When I try to use a configuration with Infinispan and BDB it dies on startup with an NPE:

       

      Error: Error while starting 'modeshape_test_repo' repository: java.lang.NullPointerException

      Exception in thread "main" javax.jcr.RepositoryException: Error while starting 'modeshape_test_repo' repository: java.lang.NullPointerException

                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:566)

                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)

                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)

                at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)

                at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)

                at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)

                at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)

      Caused by: java.lang.RuntimeException: java.lang.NullPointerException

                at org.modeshape.jcr.JcrRepository$RepositorySessionEnvironment.currentTransaction(JcrRepository.java:1531)

                at org.modeshape.jcr.JcrRepository$RepositorySessionEnvironment.createMonitor(JcrRepository.java:1537)

                at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:330)

                at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:294)

                at org.modeshape.jcr.cache.RepositoryCache.<init>(RepositoryCache.java:128)

                at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1004)

                at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:901)

                at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)

                at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)

                ... 6 more

      Caused by: java.lang.NullPointerException

                at org.modeshape.jcr.JcrRepository$RepositorySessionEnvironment.currentTransaction(JcrRepository.java:1529)

                ... 14 more

       

      The config files I am using are simple:

       

      repository.json

      {

          "name" : "modeshape_test_repo",

         

           "workspaces" : {

              "predefined" : ["otherWorkspace"],

              "default" : "default",

              "allowCreation" : true

          },

          "security" : {

              "anonymous" : {

                  "roles" : ["readonly","readwrite","admin"],

                  "useOnFailedLogin" : false

              }

          },

         

          "storage" : {

              "cacheConfiguration" : "/home/duncan/perf-tests/configurations/modeshape-3/infinispan-bdb.xml",

              "cacheName" : "modeshape_test_repo",

              "transactionManagerLookup" : "org.infinispan.transaction.lookup.GenericTransactionManagerLookup",

              "binaryStorage" : {

                  "minimumBinarySizeInBytes" : 4096,

                  "type" : "file",

                  "directory" : "/home/duncan/perf-tests/disk-repository"

              }

          }

         

      }

       

      infinispan-bdb.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <infinispan

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"

      xmlns="urn:infinispan:config:5.1">

      <global />

      <default />

      <namedCache name="modeshape_test_repo">

        <loaders passivation="false" shared="false" preload="false">

                  <loader class="org.infinispan.loaders.bdbje.BdbjeCacheStore"

                  fetchPersistentState="false"

                  purgeOnStartup="false">

                            <properties>

                                      <property name="location" value="/home/duncan/perf-tests/disk-repository/bdb" />

                            </properties>

                  </loader>

        </loaders>

      </namedCache>

      </infinispan>

       

       

      The database is being created in /home/duncan/perf-tests/disk-repository/bdb, so BDB is starting up properly. I'm stuck trying to figure out what might be broken.

        • 1. Re: Simple Infinispan Configuration Problem
          duncanmcintyre

          Oops. infinispan-bdb.xml got munched. Here it is:

           

          <?xml version="1.0" encoding="UTF-8"?>

          <infinispan

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"

          xmlns="urn:infinispan:config:5.1">

          <global />

          <default />

          <namedCache name="modeshape_test_repo">

            <loaders passivation="false" shared="false" preload="false">

                      <loader class="org.infinispan.loaders.bdbje.BdbjeCacheStore"

                      fetchPersistentState="false"

                      purgeOnStartup="false">

                                <properties>

                                          <property name="location" value="/home/duncan/perf-tests/disk-repository/bdb" />

                                </properties>

                      </loader>

            </loaders>

          </namedCache>

          </infinispan>

          • 2. Re: Simple Infinispan Configuration Problem
            rhauch

            Hmmm... this is awefully similar to this other thread (started not long ago), though Neil was using the file system cache loader rather than BerkleyDB.

             

            We've definitely done this with our unit tests (see a config file and test case), but we specify the DummyTransactionManagerLookup class (since we don't start a real transaction manager in Java SE environments).

            • 3. Re: Simple Infinispan Configuration Problem
              duncanmcintyre

              It does look similar doesn't it.. I tried the DummyTransactionManager and it made no difference.

               

              The code is not running in any sort of container - it's a command line app (basically the Jackrabbit test suite with my own tweaks to allow plugging different repositories).

               

              For completeness, here are my Maven dependencies - I'm not missing anything vital am I?

               

               

                <dependencies>

               

                  <dependency>

                    <groupId>hsqldb</groupId>

                    <artifactId>hsqldb</artifactId>

                    <version>1.8.0.2</version>

                    <scope>runtime</scope>

                  </dependency>

               

               

               

                        <dependency>

                                  <groupId>mysql</groupId>

                                  <artifactId>mysql-connector-java</artifactId>

                                  <version>5.1.6</version>

                        </dependency>

               

                                         

                <!-- Core Modeshape dependency -->

                <dependency>

                  <groupId>javax.jcr</groupId>

                  <artifactId>jcr</artifactId>

                  <version>2.0</version>

                </dependency>

               

                <dependency>

                  <groupId>org.modeshape</groupId>

                  <artifactId>modeshape-jcr</artifactId>

                  <version>3.0.0.Alpha4</version>

                </dependency>

               

               

                <dependency>

                  <groupId>org.infinispan</groupId>

                  <artifactId>infinispan-cachestore-jdbc</artifactId>

                  <version>5.1.0.BETA3</version>

                </dependency>

               

               

               

                <dependency>

                  <groupId>org.infinispan</groupId>

                  <artifactId>infinispan-cachestore-bdbje</artifactId>

                  <version>5.1.0.BETA3</version>

                </dependency>

               

               

               

               

                            <!-- Put this dependency after the modeshape dependencies so we resolve the JCR2.0 api instead of 1.0 -->

                  <dependency>

                                    <groupId>com.mom.jcrperf</groupId>

                                    <artifactId>jcr-perf-suite</artifactId>

                                    <version>2.0.0-PERF</version>

                          </dependency>

               

                </dependencies>

              • 4. Re: Simple Infinispan Configuration Problem
                duncanmcintyre

                Hmm. I've single-stepped to the point where it tries to get the transaction manager, which is indeed null. Setting the "transactionManagerLookup" property to something random does not provoke any errors though, so I'm wondering if it's even trying to load it. Is there something I can do in my code to provoke a load?

                • 5. Re: Simple Infinispan Configuration Problem
                  rhauch

                  Is there a reason you're not using Infinispan 5.1.2.Final? That's what ModeShape 3.0.0.Alpha4 is designed to use.

                   

                  Also, you might try this example with your configuration (and Maven dependencies). Hopefully we can trace what's going wrong, and perhaps even replicate it.

                   

                  BTW, I'd like to release Alpha5 early next week, since we've fixed a lot of bugs and are passing far more of the TCK tests now.

                  • 6. Re: Simple Infinispan Configuration Problem
                    rhauch

                    Hmm. I've single-stepped to the point where it tries to get the transaction manager, which is indeed null. Setting the "transactionManagerLookup" property to something random does not provoke any errors though, so I'm wondering if it's even trying to load it. Is there something I can do in my code to provoke a load?

                    You're right. The Repository is no longer using that configuration information; instead, we're always getting the transaction manager directly from the Infinispan Cache. (Wanna log an issue?) Have you tried setting the transaction manager lookup class in the Infinispan configuration (you're earlier config didn't do that)?

                    • 7. Re: Simple Infinispan Configuration Problem
                      duncanmcintyre

                      I've tried setting the transaction manager lookup in the Infinispan config and it makes no difference. Infinispan is using the config - if I set the classname of the lookup manager to something random it throws an error - but Modeshape isn't getting hold of it.

                       

                      Any chance you could post a simple working example project using Infinispan?

                      • 8. Re: Simple Infinispan Configuration Problem
                        rhauch

                        All of the test cases in our codebase work this way, and are obviously working (see my first response for several links), plus we have the example repository (see my second post). Does the latter not work for you?

                        • 9. Re: Simple Infinispan Configuration Problem
                          duncanmcintyre

                          I seem to have managed not to include modeshape-common in my pom. Ahem.

                           

                          [Slinks off and hides under a rock]

                          • 10. Re: Simple Infinispan Configuration Problem
                            rhauch

                            I seem to have managed not to include modeshape-common in my pom. Ahem.

                            Huh. Adding 'modeshape-common' as a dependency in your POM file fixed the Infinispan configuration issue? That should've been included by transitive dependencies (unless you turned them off or explicitly excluded artifacts). I'm really glad you got it to work, but I'm still worried something isn't right with the ModeShape 3A4 release.

                            • 11. Re: Simple Infinispan Configuration Problem
                              duncanmcintyre

                              [Unslinking]

                               

                              My brain seems to have an issue today. That *didn't* fix anything. Commenting out the <loaders> section of my infinispan config makes it work.

                               

                              Using a FileCqacheStore causes one problem, while using a BdbjeCacheStore causes another.

                               

                              FileCacheStore:

                               

                              Exception in thread "main" javax.jcr.RepositoryException: Error while starting 'modeshape_test_repo' repository: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable
                                  at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:566)
                                  at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                  at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                  at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                  at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                  at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                  at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                              Caused by: org.infinispan.marshall.NotSerializableException: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable

                               

                              BdbjeCacheStore:

                               

                              Exception in thread "main" javax.jcr.RepositoryException: Error while starting 'modeshape_test_repo' repository: null
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:566)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                   at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                   at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                   at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                   at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                              Caused by: java.lang.NullPointerException
                                   at org.modeshape.jcr.SystemContent.namespacesKey(SystemContent.java:142)
                                   at org.modeshape.jcr.SystemContent.mutableNamespacesNode(SystemContent.java:193)
                                   at org.modeshape.jcr.SystemContent.registerNamespaces(SystemContent.java:685)
                                   at org.modeshape.jcr.SystemNamespaceRegistry.register(SystemNamespaceRegistry.java:178)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1034)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:901)
                                   at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)
                                   ... 6 more
                              

                               

                              Your test-case referred to above has the following code, would that be why it works?

                               

                                  @Override

                                  protected CacheLoaderConfig getCacheLoaderConfiguration() {

                                      BdbjeCacheStoreConfig config = new BdbjeCacheStoreConfig();

                                      config.setLocation(dbDir.getAbsolutePath());

                                      return config;

                                  }

                               


                              Here's a complete log of a test run and exception trace

                              SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
                              SLF4J: Defaulting to no-operation (NOP) logger implementation
                              SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
                              29-May-2012 16:51:29 org.infinispan.factories.GlobalComponentRegistry start
                              INFO: ISPN000128: Infinispan version: Infinispan 'Brahma' 5.1.2.FINAL
                              
                              *************************************************************************************
                              Berkeley DB Java Edition version: 4.0.92
                              Infinispan can use Berkeley DB Java Edition from Oracle 
                              (http://www.oracle.com/database/berkeley-db/je/index.html)
                              for persistent, reliable and transaction-protected data storage.
                              If you choose to use Berkeley DB Java Edition with Infinispan, you must comply with the terms
                              of Oracle's public license, included in the file LICENSE.txt.
                              If you prefer not to release the source code for your own application in order to comply
                              with the Oracle public license, you may purchase a different license for use of
                              Berkeley DB Java Edition with Infinispan.
                              See http://www.oracle.com/database/berkeley-db/je/index.html for pricing and license terms
                              *************************************************************************************
                              29-May-2012 16:51:30 org.infinispan.interceptors.InvocationContextInterceptor handleAll
                              ERROR: ISPN000136: Execution error
                              org.infinispan.loaders.CacheLoaderException: Problem preparing transaction
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.convertToCacheLoaderException(BdbjeCacheStore.java:589)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.prepare(BdbjeCacheStore.java:315)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.prepare(BdbjeCacheStore.java:274)
                                   at org.infinispan.interceptors.CacheStoreInterceptor.prepareCacheLoader(CacheStoreInterceptor.java:268)
                                   at org.infinispan.interceptors.CacheStoreInterceptor.visitPrepareCommand(CacheStoreInterceptor.java:182)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
                                   at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:80)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:120)
                                   at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:105)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:106)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130)
                                   at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89)
                                   at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345)
                                   at org.infinispan.transaction.TransactionCoordinator.prepare(TransactionCoordinator.java:140)
                                   at org.infinispan.transaction.TransactionCoordinator.prepare(TransactionCoordinator.java:122)
                                   at org.infinispan.transaction.xa.TransactionXaAdapter.prepare(TransactionXaAdapter.java:109)
                                   at org.infinispan.transaction.tm.DummyTransaction.runPrepare(DummyTransaction.java:246)
                                   at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:85)
                                   at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:100)
                                   at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:344)
                                   at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:294)
                                   at org.modeshape.jcr.cache.RepositoryCache.(RepositoryCache.java:128)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1004)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:901)
                                   at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                   at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                   at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                   at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                   at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                              Caused by: java.io.StreamCorruptedException: Invalid length value for string in stream (0)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:296)
                                   at org.jboss.marshalling.river.BlockUnmarshaller.readToEndBlockData(BlockUnmarshaller.java:124)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1276)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
                                   at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
                                   at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:158)
                                   at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:148)
                                   at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:401)
                                   at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:290)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
                                   at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
                                   at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:148)
                                   at org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:110)
                                   at org.infinispan.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:90)
                                   at org.infinispan.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:79)
                                   at org.infinispan.loaders.bdbje.InternalCacheEntryBinding.entryToObject(InternalCacheEntryBinding.java:43)
                                   at org.infinispan.loaders.bdbje.InternalCacheEntryBinding.entryToObject(InternalCacheEntryBinding.java:33)
                                   at com.sleepycat.collections.DataView.makeValue(DataView.java:596)
                                   at com.sleepycat.collections.DataCursor.getCurrentValue(DataCursor.java:350)
                                   at com.sleepycat.collections.DataCursor.initForPut(DataCursor.java:814)
                                   at com.sleepycat.collections.DataCursor.put(DataCursor.java:752)
                                   at com.sleepycat.collections.StoredContainer.putKeyValue(StoredContainer.java:322)
                                   at com.sleepycat.collections.StoredMap.put(StoredMap.java:280)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.store(BdbjeCacheStore.java:429)
                                   at org.infinispan.loaders.bdbje.ModificationsTransactionWorker.doWork(ModificationsTransactionWorker.java:66)
                                   at org.infinispan.loaders.bdbje.PreparableTransactionRunner.prepare(PreparableTransactionRunner.java:78)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.prepare(BdbjeCacheStore.java:309)
                                   ... 46 more
                              Caused by: an exception which occurred:
                                   in object of type org.infinispan.schematic.internal.SchematicEntryLiteral
                              29-May-2012 16:51:30 org.infinispan.transaction.TransactionCoordinator prepare
                              ERROR: Error while processing prepare
                              org.infinispan.CacheException: org.infinispan.loaders.CacheLoaderException: Problem preparing transaction
                                   at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:353)
                                   at org.infinispan.transaction.TransactionCoordinator.prepare(TransactionCoordinator.java:140)
                                   at org.infinispan.transaction.TransactionCoordinator.prepare(TransactionCoordinator.java:122)
                                   at org.infinispan.transaction.xa.TransactionXaAdapter.prepare(TransactionXaAdapter.java:109)
                                   at org.infinispan.transaction.tm.DummyTransaction.runPrepare(DummyTransaction.java:246)
                                   at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:85)
                                   at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:100)
                                   at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:344)
                                   at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:294)
                                   at org.modeshape.jcr.cache.RepositoryCache.(RepositoryCache.java:128)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1004)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:901)
                                   at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                   at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                   at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                   at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                   at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                              Caused by: org.infinispan.loaders.CacheLoaderException: Problem preparing transaction
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.convertToCacheLoaderException(BdbjeCacheStore.java:589)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.prepare(BdbjeCacheStore.java:315)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.prepare(BdbjeCacheStore.java:274)
                                   at org.infinispan.interceptors.CacheStoreInterceptor.prepareCacheLoader(CacheStoreInterceptor.java:268)
                                   at org.infinispan.interceptors.CacheStoreInterceptor.visitPrepareCommand(CacheStoreInterceptor.java:182)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
                                   at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:80)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:120)
                                   at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:105)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:106)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
                                   at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130)
                                   at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89)
                                   at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
                                   at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
                                   at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345)
                                   ... 19 more
                              Caused by: java.io.StreamCorruptedException: Invalid length value for string in stream (0)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:296)
                                   at org.jboss.marshalling.river.BlockUnmarshaller.readToEndBlockData(BlockUnmarshaller.java:124)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1276)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
                                   at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
                                   at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:158)
                                   at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:148)
                                   at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:401)
                                   at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:290)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)
                                   at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
                                   at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)
                                   at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:148)
                                   at org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:110)
                                   at org.infinispan.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:90)
                                   at org.infinispan.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:79)
                                   at org.infinispan.loaders.bdbje.InternalCacheEntryBinding.entryToObject(InternalCacheEntryBinding.java:43)
                                   at org.infinispan.loaders.bdbje.InternalCacheEntryBinding.entryToObject(InternalCacheEntryBinding.java:33)
                                   at com.sleepycat.collections.DataView.makeValue(DataView.java:596)
                                   at com.sleepycat.collections.DataCursor.getCurrentValue(DataCursor.java:350)
                                   at com.sleepycat.collections.DataCursor.initForPut(DataCursor.java:814)
                                   at com.sleepycat.collections.DataCursor.put(DataCursor.java:752)
                                   at com.sleepycat.collections.StoredContainer.putKeyValue(StoredContainer.java:322)
                                   at com.sleepycat.collections.StoredMap.put(StoredMap.java:280)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.store(BdbjeCacheStore.java:429)
                                   at org.infinispan.loaders.bdbje.ModificationsTransactionWorker.doWork(ModificationsTransactionWorker.java:66)
                                   at org.infinispan.loaders.bdbje.PreparableTransactionRunner.prepare(PreparableTransactionRunner.java:78)
                                   at org.infinispan.loaders.bdbje.BdbjeCacheStore.prepare(BdbjeCacheStore.java:309)
                                   ... 46 more
                              Caused by: an exception which occurred:
                                   in object of type org.infinispan.schematic.internal.SchematicEntryLiteral
                              29-May-2012 16:51:30 org.infinispan.transaction.tm.DummyTransaction runRollback
                              ERROR: ISPN000098: Exception while rollback
                              javax.transaction.xa.XAException
                                   at org.infinispan.transaction.xa.TransactionXaAdapter.getLocalTransactionAndValidateImpl(TransactionXaAdapter.java:239)
                                   at org.infinispan.transaction.xa.TransactionXaAdapter.rollback(TransactionXaAdapter.java:135)
                                   at org.infinispan.transaction.tm.DummyTransaction.runRollback(DummyTransaction.java:289)
                                   at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:87)
                                   at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:100)
                                   at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:344)
                                   at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:294)
                                   at org.modeshape.jcr.cache.RepositoryCache.(RepositoryCache.java:128)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1004)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:901)
                                   at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                   at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                   at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                   at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                   at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                              Error: Error while starting 'modeshape_test_repo' repository: null
                              Shutdown Modeshape engine succeeded
                              Exception in thread "main" javax.jcr.RepositoryException: Error while starting 'modeshape_test_repo' repository: null
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:566)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                   at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                   at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                   at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                   at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                              Caused by: java.lang.NullPointerException
                                   at org.modeshape.jcr.SystemContent.namespacesKey(SystemContent.java:142)
                                   at org.modeshape.jcr.SystemContent.mutableNamespacesNode(SystemContent.java:193)
                                   at org.modeshape.jcr.SystemContent.registerNamespaces(SystemContent.java:685)
                                   at org.modeshape.jcr.SystemNamespaceRegistry.register(SystemNamespaceRegistry.java:178)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1034)
                                   at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:901)
                                   at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)
                                   at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)
                                   ... 6 more
                              duncan@gerard-desktop:~$
                              
                              • 12. Re: Simple Infinispan Configuration Problem
                                rhauch

                                FileCacheStore:

                                 

                                Exception in thread "main" javax.jcr.RepositoryException: Error while starting 'modeshape_test_repo' repository: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable
                                    at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:566)
                                    at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                    at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                    at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                    at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                    at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                    at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                                Caused by: org.infinispan.marshall.NotSerializableException: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable

                                 

                                This sounds similar to this issue, which was fixed in Alpha4. You aren't accidentally using an older version of any of our code? Perhaps run a 'mvn dependency:tree' on your Maven module and look at the ModeShape artifact dependencies.

                                 

                                BdbjeCacheStore:

                                 

                                Exception in thread "main" javax.jcr.RepositoryException: Error while starting 'modeshape_test_repo' repository: null
                                     at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:566)
                                     at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:528)
                                     at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:138)
                                     at com.mom.jcrperf.TestableRepository.initialise(TestableRepository.java:85)
                                     at com.mom.jcrperf.AbstractTestRunner.runSuite(AbstractTestRunner.java:181)
                                     at com.mom.jcrperf.AbstractTestRunner.run(AbstractTestRunner.java:82)
                                     at com.mom.jcrperf.TestRunner.main(TestRunner.java:22)
                                Caused by: java.lang.NullPointerException
                                     at org.modeshape.jcr.SystemContent.namespacesKey(SystemContent.java:142)
                                     at org.modeshape.jcr.SystemContent.mutableNamespacesNode(SystemContent.java:193)
                                     at org.modeshape.jcr.SystemContent.registerNamespaces(SystemContent.java:685)
                                     at org.modeshape.jcr.SystemNamespaceRegistry.register(SystemNamespaceRegistry.java:178)
                                     at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:1034)
                                     at org.modeshape.jcr.JcrRepository$RunningState.(JcrRepository.java:901)
                                     at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:337)
                                     at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:564)
                                     ... 6 more

                                 

                                That error is happening in this code, which probably is happening because the system content is not being successfully initialized. Is there a chance you could modify our Repository Example to initialize ModeShape like you're doing and replicate the problem? If so, then we could track down this issue once and for all.

                                • 13. Re: Simple Infinispan Configuration Problem
                                  duncanmcintyre

                                  I can get the modeshape-performance-tests tests to run from the top-level of the source using mvn ... -Pperformance.

                                  They won't run as individual tests inside Eclipse - I get an NPE trying to load the transaction manager!

                                   

                                  So, I have created the world's simplest project with one unit test to try to figure out what is happening. It fails with the exception due to SchematicEntryLiteral.

                                   

                                  So below I am posting the entirety of my little project so you can hopefully figure out what I have done wrong. It consists of four files:

                                   

                                       pom.xml

                                       src/test/resources/repository.json

                                       src/test/resources/infinispan-config.xml

                                       src/test/java/com/mom/devel/debug/modeshape/ModeshapeDebuggingTest.java

                                   

                                  pom.xml

                                   

                                  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

                                    <modelVersion>4.0.0</modelVersion>

                                    <groupId>com.mom.devel</groupId>

                                    <artifactId>debug-modeshape</artifactId>

                                    <version>0.0.1-SNAPSHOT</version>

                                   

                                   

                                    <dependencies>

                                   

                                      <!-- Core Modeshape dependency -->

                                    <dependency>

                                      <groupId>org.modeshape</groupId>

                                      <artifactId>modeshape-jcr-api</artifactId>

                                      <version>3.0.0.Alpha4</version>

                                    </dependency>

                                   

                                    <dependency>

                                      <groupId>org.modeshape</groupId>

                                      <artifactId>modeshape-jcr</artifactId>

                                      <version>3.0.0.Alpha4</version>

                                    </dependency>

                                     

                                    <dependency>

                                      <groupId>org.modeshape</groupId>

                                      <artifactId>modeshape-common</artifactId>

                                      <version>3.0.0.Alpha4</version>

                                    </dependency>

                                   

                                           <!-- Infinispan -->

                                          <dependency>

                                              <groupId>org.modeshape</groupId>

                                              <artifactId>modeshape-schematic</artifactId>

                                      <version>3.0.0.Alpha4</version>

                                          </dependency>

                                    <dependency>

                                      <groupId>org.infinispan</groupId>

                                      <artifactId>infinispan-core</artifactId>

                                      <version>5.1.2.FINAL</version>

                                    </dependency>

                                   

                                    <dependency>

                                      <groupId>org.infinispan</groupId>

                                      <artifactId>infinispan-cachestore-bdbje</artifactId>

                                      <version>5.1.4.FINAL</version>

                                    </dependency>

                                   

                                   

                                           <dependency>

                                              <groupId>junit</groupId>

                                              <artifactId>junit</artifactId>

                                      <version>4.8.2</version>

                                          </dependency>

                                   

                                    </dependencies>

                                   

                                              <build>

                                                      <plugins>

                                                                <plugin>

                                                                          <groupId>org.apache.maven.plugins</groupId>

                                                                          <artifactId>maven-compiler-plugin</artifactId>

                                                                          <configuration>

                                                                                    <source>1.6</source>

                                                                                    <target>1.6</target>

                                                                          </configuration>

                                                                </plugin>

                                   

                                                      </plugins>

                                            </build>

                                   

                                   

                                               <profiles>

                                        <profile>

                                           <id>jboss-public-repository</id>

                                           <activation>

                                              <property>

                                                 <name>jboss-public-repository</name>

                                                 <value>!false</value>

                                              </property>

                                           </activation>

                                           <repositories>

                                              <repository>

                                                 <id>jboss-public-repository-group</id>

                                                 <name>JBoss Public Maven Repository Group</name>

                                                 <url>http://repository.jboss.org/nexus/content/groups/public</url>

                                                 <releases>

                                                    <enabled>true</enabled>

                                                    <updatePolicy>never</updatePolicy>

                                                 </releases>

                                                 <snapshots>

                                                    <enabled>true</enabled>

                                                    <updatePolicy>never</updatePolicy>

                                                 </snapshots>

                                              </repository>

                                           </repositories>

                                           <pluginRepositories>

                                              <pluginRepository>

                                                 <id>jboss-public-repository-group</id>

                                                 <name>JBoss Public Maven Repository Group</name>

                                                 <url>http://repository.jboss.org/nexus/content/groups/public</url>

                                                 <releases>

                                                    <enabled>true</enabled>

                                                    <updatePolicy>never</updatePolicy>

                                                 </releases>

                                                 <snapshots>

                                                    <enabled>false</enabled>

                                                    <updatePolicy>never</updatePolicy>

                                                 </snapshots>

                                              </pluginRepository>

                                           </pluginRepositories>

                                        </profile>

                                   

                                   

                                     </profiles> 

                                  </project>

                                   

                                  src/test/resources/repository.json

                                  {

                                      "name" : "modeshape_test_repo",

                                   

                                       "workspaces" : {

                                          "predefined" : ["otherWorkspace"],

                                          "default" : "default",

                                          "allowCreation" : true

                                      },

                                      "security" : {

                                          "anonymous" : {

                                              "roles" : ["readonly","readwrite","admin"],

                                              "useOnFailedLogin" : false

                                          }

                                      },

                                   

                                      "storage" : {

                                          "cacheConfiguration" : "infinispan-config.xml",

                                          "cacheName" : "modeshape_test_repo"

                                      }

                                   

                                  }

                                   

                                  src/test/resources/infinispan-config.xml

                                  <?xml version="1.0" encoding="UTF-8"?>

                                  <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                                            xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"

                                            xmlns="urn:infinispan:config:5.1">

                                            <global />

                                            <default />

                                            <namedCache name="modeshape_test_repo">

                                   

                                   

                                                      <loaders passivation="false" shared="false" preload="false">

                                                                <loader class="org.infinispan.loaders.bdbje.BdbjeCacheStore"

                                                                          fetchPersistentState="false" purgeOnStartup="false">

                                                                          <properties>

                                                                                    <property name="location"

                                                                                              value="/tmp/bdb" />

                                                                          </properties>

                                                                </loader>

                                                      </loaders>

                                   

                                   

                                   

                                   

                                                      <transaction

                                                                transactionManagerLookupClass="org.infinispan.transaction.lookup.DummyTransactionManagerLookup"

                                                                transactionMode="TRANSACTIONAL" lockingMode="OPTIMISTIC" />

                                            </namedCache>

                                  </infinispan>

                                   

                                   

                                  src/test/java/com/mom/devel/debug/modeshape/ModeshapeDebuggingTest.java

                                  package com.mom.devel.debug.modeshape;

                                   

                                   

                                  import static org.junit.Assert.assertTrue;

                                   

                                   

                                  import javax.jcr.Credentials;

                                  import javax.jcr.Repository;

                                  import javax.jcr.Session;

                                   

                                   

                                  import org.junit.After;

                                  import org.junit.Before;

                                  import org.junit.Test;

                                  import org.modeshape.common.collection.Problem;

                                  import org.modeshape.common.collection.Problems;

                                  import org.modeshape.jcr.JcrEngine;

                                  import org.modeshape.jcr.RepositoryConfiguration;

                                  import org.modeshape.jcr.api.AnonymousCredentials;

                                   

                                   

                                  public class ModeshapeDebuggingTest {

                                            protected Repository repository;

                                            protected Credentials credentials;

                                            /**

                                             * Name of the repository to use for this test

                                             */

                                            public static final String repositoryName = "modeshape_test_repo";

                                            private JcrEngine engine;

                                   

                                   

                                            @Before

                                            public void initialise() throws Exception {

                                   

                                   

                                                      RepositoryConfiguration configuration = RepositoryConfiguration.read("repository.json");

                                   

                                   

                                                      Problems problems = configuration.validate();

                                   

                                   

                                          if (problems.hasErrors()) {

                                              for (Problem problem : problems) {

                                                  System.err.println(problem.getMessageString());

                                              }

                                              throw new RuntimeException("Could not start due to problems");

                                          }

                                   

                                          engine = new JcrEngine();

                                          engine.start();

                                          engine.deploy(configuration);

                                          repository = engine.getRepository(repositoryName);

                                                      credentials = new AnonymousCredentials();

                                   

                                   

                                                      Session session = repository.login(credentials);

                                      }

                                   

                                   

                                            @After

                                            public void shutdown() throws Exception {

                                                      if(!engine.shutdown().get()) {

                                                                throw new Exception("Engine shutdown failure - no message");

                                                      }

                                                      System.out.println("Shutdown Modeshape engine succeeded");

                                            }

                                   

                                            @Test

                                            public void testGettingTheRootNode() {

                                                      // do nothing for now - we just care about the setup

                                                      assertTrue(true);

                                            }

                                   

                                   

                                  }

                                  • 14. Re: Simple Infinispan Configuration Problem
                                    duncanmcintyre

                                    Got it. The above POM is incorrect (mixing versions of Infinispan). But:

                                     

                                    Infinispan 5.1.2.FINAL does not work.

                                     

                                    Infinispan 5.1.4.FINAL does work.

                                    1 2 Previous Next