return;
}
try {
final MongoClient mongoClient = new MongoClient(ConfigurationHelper.prop.getProperty("mongo.host") );
final Morphia morphia = new Morphia();
morphia.map(Meteolog.class).map(News.class).map(Cache.class).map(MapReduceMinMax.class).map(MapReduceHistoryMinMax.class);
ds = morphia.createDatastore(mongoClient, ConfigurationHelper.prop.getProperty("mongo.dbname"));
ds.ensureCaps();
ds.ensureIndexes();
} catch (Exception e) {
throw new RuntimeException("Error initializing mongo db", e);