File config2File = new File(existHome+"/test/src/"+packagePath+"/conf2.xml");
File data2Dir = new File(existHome+"/test/temp/"+packagePath+"/data2");
assertTrue(data2Dir.exists() || data2Dir.mkdirs());
// Configure the database
Configuration config1 = new Configuration(config1File.getAbsolutePath());
BrokerPool.configure("db1", 1, threads, config1 );
pool1 = BrokerPool.getInstance("db1");
pool1.registerShutdownListener(new ShutdownListenerImpl());
user1 = pool1.getSecurityManager().getSystemSubject();
DBBroker broker1 = pool1.get(user1);
Configuration config2 = new Configuration(config2File.getAbsolutePath());
BrokerPool.configure("db2", 1, threads, config2 );
pool2 = BrokerPool.getInstance("db2");
pool2.registerShutdownListener(new ShutdownListenerImpl());
user2 = pool1.getSecurityManager().getSystemSubject();
DBBroker broker2 = pool2.get(user2);