con.close();
}
}
private static void initRepository() throws Exception {
MongoConnection con = createConnection();
<BUG>DocumentMK mk = new DocumentMK.Builder()

.setMongoDB(con.getDB())

.setClusterId(1).open();
Repository repository = new Jcr(mk.getNodeStore()).createRepository();</BUG>
Session session = repository.login(ADMIN);

con.close();
}
}
private static void initRepository() throws Exception {
MongoConnection con = createConnection();
DocumentMK mk = new DocumentMK.Builder().
setMongoDB(con.getDB()).
setClusterId(1).
setPersistentCache("target/persistentCache,time").
open();
Repository repository = new Jcr(mk.getNodeStore()).createRepository();
Session session = repository.login(ADMIN);
