I am creating neo4j graph database enterprise edition by the following method. It doesn't return any exception etc. and shows that program is running(forever).
HashMap<String, String> settings = new HashMap<String, String>();
settings.put("org.neo4j.server.database.mode", "HA");
settings.put("ha.server_id", "1");
settings.put("ha.initial_hosts",
"neo4j-01.local:5001,neo4j-02.local:5001,neo4j-03.local:5001");
GraphDatabaseService db = new HighlyAvailableGraphDatabaseFactory()
.newHighlyAvailableDatabaseBuilder("db.local")
.setConfig(settings).newGraphDatabase();
What would be the reason here?
P.S I got the configurations from official web-site of Neo4j.