-
Bug
-
Resolution: Done
-
Critical
-
3.1.3.Final
-
None
When configuring filesystem federation, this error appears and cannot be avoided by changing configuration.
See attached for the ModeShape repository configuration and the ISPN cache configuration files. The stacktrace was:
Caused by: java.lang.IllegalStateException: This is a tx cache! at org.infinispan.context.TransactionalInvocationContextContainer.createInvocationContext(TransactionalInvocationContextContainer.java:112) at org.infinispan.context.TransactionalInvocationContextContainer.createInvocationContext(TransactionalInvocationContextContainer.java:107) at org.infinispan.CacheImpl.getInvocationContextForWrite(CacheImpl.java:442) at org.infinispan.CacheImpl.lock(CacheImpl.java:538) at org.infinispan.DecoratedCache.lock(DecoratedCache.java:135) at org.infinispan.schematic.internal.SchematicEntryProxy.getDeltaValueForWrite(SchematicEntryProxy.java:173) at org.infinispan.schematic.internal.SchematicEntryProxy.editDocumentContent(SchematicEntryProxy.java:287) at org.modeshape.jcr.cache.document.WritableSessionCache.createProjection(WritableSessionCache.java:1361) at org.modeshape.jcr.ModeShapeFederationManager.createProjection(ModeShapeFederationManager.java:55) at org.modeshape.jcr.Connectors.createPreconfiguredProjections(Connectors.java:140) at org.modeshape.jcr.Connectors.initialize(Connectors.java:122) at org.modeshape.jcr.JcrRepository$RunningState.postInitialize(JcrRepository.java:1268) at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:364) at org.modeshape.jcr.JcrRepository.start(JcrRepository.java:285) at org.modeshape.jcr.JcrRepositoryFactory.getRepositoryFromConfigFile(JcrRepositoryFactory.java:368) at org.modeshape.jcr.JcrRepositoryFactory.getRepository(JcrRepositoryFactory.java:220) at org.modeshape.jcr.JcrRepositoryFactory.getRepository(JcrRepositoryFactory.java:205) at ...