threadLocal.set(tl);
tl.c = new Configuration();
tl.c.setUseRegionBasedMarshalling(false);
tl.c.setInactiveOnStartup(false);
tl.c.setReplVersionString(currentVersion);
ComponentRegistry cr = new ComponentRegistry(tl.c, new CacheInvocationDelegate());
crTL.set(cr);
tl.marshaller = createVAMandRestartCache(new RegionManagerImpl());
tl.regionManager = cr.getComponent(RegionManager.class);
}