Failure to connect to Neo4j

Testing the JDBC connection to neo4j generates the following error message

Datasources Configuration Editor: Could not validate datasource [MVP]. {“error”:{“root_cause”:[{“type”:“exception”,“reason”:“Detected conflicting jars in the JDBC drivers directory, please remove them and restart Elasticsearch.”}],“type”:“exception”,“reason”:“Could not validate datasource [MVP].”,“caused_by”:{“type”:“exception”,“reason”:“Could not initialize the JDBC driver loader.”,“caused_by”:{“type”:“exception”,“reason”:“Detected conflicting jars in the JDBC drivers directory, please remove them and restart Elasticsearch.”,“caused_by”:{“type”:“illegal_state_exception”,“reason”:“jar hell!\r\nclass: org.neo4j.jdbc.http.HttpDriver\r\njar1: C:\Apps\siren-platform-no-data-no-security-10.2.4-windows-x86_64\elasticsearch\config\jdbc-drivers\neo4j-jdbc-http-3.4.0.jar\r\njar2: C:\Apps\siren-platform-no-data-no-security-10.2.4-windows-x86_64\elasticsearch\config\jdbc-drivers\neo4j-jdbc-driver-3.4.0.jar”}}}},“status”:500}


Hello julia,

The Neo4j Driver comes in two forms: A Single jar neo4j-jdbc-driver-3.4.0 or Two fragmented jars (neo4j-jdbc-3.4.0 and neo4j-jdbc-http-3.4.0).
You seem to have downloaded neo4j-jdbc-http-3.4.0 and the complete driver jar (neo4j-jdbc-driver-3.4.0). Hence the jar hell. We require the fragmented jars in Federate (as of 10.2.4), so the correct driver jars are:


Problem solved.


Follow-up issue. Now Running the same thing I am getting the following error:

Datasources Configuration Editor: Could not validate datasource [MVP]. {“error”:{“root_cause”:[{“type”:“exception”,“reason”:“Could not validate datasource [MVP].”}],“type”:“exception”,“reason”:“Could not validate datasource [MVP].”,“caused_by”:{“type”:“s_q_l_transient_connection_exception”,“reason”:“MVP-pool - Connection is not available, request timed out after 30107ms.”}},“status”:500}

I hope the problem was solved by: Testing connection to Neo4J fails ?

Hi Varun,

thanks for asking - no it did not. I would appreciate your help on resolving this matter.


Hello julia,
MVP-pool - Connection is not available, request timed out after 30107ms. Means that the Elasticsearch server is not able to communicate with Neo4j. Note: It is to be noted that the NeoNode script uses a bolt connection while Federate/Elasticsearch while setting up the datasource uses a JDBC connection so the connection strings would be different.

Let’s start with the beginning to confirm everything is correct:

Configuration check-list to make sure everything is fine:

Datasource setup:

  • To configure a datasource, you go to Management -> Datasources (In Investigate).
  • Select JDBC
  • Set ‘Datasource Type’ to ‘Neo4j’. Give it a Name, fill in username, password and connection string. And you get something like this:
  • Make sure the connection string is correct format: jdbc:neo4j:http://<host>:<port>/ and you are able to communicate to the Neo4j server from the server where Elasticsearch is located.
  • Click on save at the top:
  • Then click on test connection:

If you still face the same issue then it means that there is some firewall or the Neo4j server is only bound to localhost. What is the server configuration of your setup? Where is Neo4j, NeoNode script and Elasticsearch running. Is NeoNode able to communicate with the Neo4j server?


i dont find the dropdown as neo4j in the database type

You can find the information here on how setup the Neo4J datasource here

You need to set up a Neo4J source yourself using JDBC with connection details.

hi i am facing same issue … i have some questions…
what should be username and password… i have create one graph database in neo4j named as Graph… where should i mentioned it… In siren it say name field is mandatory …can u tell me what to right in those fields specifically… abt neo4j database … i am using community edition and have created regular graph …

when i click on test connection this error comes: Pls reply ASAP… i have work to do…
Datasources Configuration Editor: Could not validate datasource [Graph]. {“error”:{“root_cause”:[{“type”:“exception”,“reason”:“Could not validate datasource [Graph].”}],“type”:“exception”,“reason”:“Could not validate datasource [Graph].”,“caused_by”:{“type”:“exception”,“reason”:“Could not execute datasource query.”,“caused_by”:{“type”:“no_class_def_found_error”,“reason”:“org/neo4j/jdbc/Neo4jDriver”,“caused_by”:{“type”:“class_not_found_exception”,“reason”:“org.neo4j.jdbc.Neo4jDriver”}}}},“status”:500}

You seem to be missing the Neo4j Driver, did you install one? As per the documentation, you may install the driver by:

  • Placing the JDBC driver jar in elasticsearch/config/jdbc-drivers folder.
  • Restart elasticsearch

Username and password are used to authenticate against the datasource.

Hi Varun thx for replying… I have installed driver in proper location as per the documentation…still facing the issue

tell me how do you get that local-neo4j database name in siren…is it appears automatic ?..Is there a proper video description of this?..