TreeCacheMBean tree=new TreeCache();
PropertyConfigurator config=new PropertyConfigurator();
String configFile = sync ? "META-INF/replSync-service.xml"
: "META-INF/replAsync-service.xml";
config.configure(tree, configFile); // read in generic replAsync xml
tree.setClusterName("VersionedTestBase");
tree.setReplicationVersion(getReplicationVersion());
// Use a long timeout to facilitate setting debugger breakpoints
tree.setInitialStateRetrievalTimeout(60000);
if (useMarshalling) {