private MapperManager mgr;
protected void setUp() throws Exception {
super.setUp();
XMLConfigurator xc = new XMLConfigurator();
this.mgr = new MapperManager();
// parse XML configuration file
xc.parse(Thread.currentThread().getContextClassLoader()
.getResourceAsStream("jndi-sample.xml"));
// configure manager
xc.configure(this.mgr);
this.mgr.set("ldifsource", "canam-personnes-sample.ldif");
this.mgr.setConfigured();
this.mgr.start();
}