Details
Description
The LevelDBCacheStoreIT fails to start with an error resulting from initialising the server side cache marshaller. The way the cache manager is created is not correct. You might as well just use the same marshaller as for the client.
Even if you really need a cache's marshaller, you should get it via an injected cache rather than initialising a cache from scratch.
com.arjuna.ats.arjuna.exceptions.FatalError: null
at com.arjuna.ats.internal.jts.ORBManager.getPOA(ORBManager.java:96)
at com.arjuna.ats.internal.jts.OTSImpleManager.<clinit>(OTSImpleManager.java:300)
at com.arjuna.ats.internal.jta.transaction.jts.TransactionImple.getTransaction(TransactionImple.java:1146)
at com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple.getTransaction(TransactionManagerImple.java:69)
at org.infinispan.cache.impl.CacheImpl.getOngoingTransaction(CacheImpl.java:1414)
at org.infinispan.cache.impl.CacheImpl.getInvocationContextForRead(CacheImpl.java:592)
at org.infinispan.cache.impl.CacheImpl.keySet(CacheImpl.java:474)
at org.infinispan.cache.impl.CacheImpl.keySet(CacheImpl.java:469)
at org.infinispan.registry.impl.ClusterRegistryImpl.keys(ClusterRegistryImpl.java:81)
at org.infinispan.query.remote.ProtobufMetadataManager.ensureInit(ProtobufMetadataManager.java:67)
at org.infinispan.query.remote.ProtobufMetadataManager.getSerializationContext(ProtobufMetadataManager.java:132)
at org.infinispan.query.remote.LifecycleManager.cacheStarting(LifecycleManager.java:114)
at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:228)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:214)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:699)
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:573)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:528)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:408)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:381)
at org.infinispan.server.test.cs.leveldb.LevelDBCacheStoreIT.getServerMarshaller(LevelDBCacheStoreIT.java:190)
at org.infinispan.server.test.cs.leveldb.LevelDBCacheStoreIT.<clinit>(LevelDBCacheStoreIT.java:67)
« Hide stacktrace
The fix gets past this particular error but it still shows this afterwards:
Caused by: javax.management.InstanceNotFoundException: jboss.infinispan:type=Server,name=HotRod,component=Transport
Tristan is working on this...