System.setProperty(Context.INITIAL_CONTEXT_FACTORY, CONTEXT_FACTORY);
DummyTransactionManager.getInstance();
PropertyConfigurator config = new PropertyConfigurator();
// setup and start the source cache
m_srcCache = new TreeCache();
config.configure(m_srcCache, "META-INF/replSync-service.xml");
m_srcCache.setTransactionManagerLookupClass(
"org.jboss.cache.DummyTransactionManagerLookup");
m_srcCache.setCacheMode(TreeCache.REPL_SYNC);
m_srcCache.setSyncCommitPhase(true);