RepositoryConfiguration repositoryConfiguration = RepositoryConfiguration.read(configFileStream, "doesn't matter");
// Create the Infinispan configuration via a Local Environment ...
ConfigurationBuilder builder = new ConfigurationBuilder();
Configuration cacheConfig = builder.transaction()
.transactionManagerLookup(new AtomikosStandaloneJTAManagerLookup())
.transactionMode(TransactionMode.TRANSACTIONAL)
.autoCommit(true)
.lockingMode(LockingMode.PESSIMISTIC)
.persistence()
.passivation(false)