Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot access nodes created using java in neo4j database, neo4j-server.properties issues
    text
    copied!<p>I am able to create nodes and relationships through Java on a Neo4j database. When I try to access the created nodes in the next run I get this error: </p> <pre><code>Exception in thread "main" org.neo4j.graphdb.NotFoundException: Node 27 not found </code></pre> <p>In webadmin interface the dashboard shows the number of nodes/relationships created through Java, but when I issue this query: START n=node(*) RETURN n; I get only 1 node in the ouput.</p> <p>(FYI I have installed Ne04j in my windows machine(local) and using embedded database java code to create nodes.) Java code I used to connect to db:</p> <pre><code>final String dbpath = "C:\\neo4j-community-1.9.4\\data\\graph.db"; GraphDatabaseService graphdb = new GraphDatabaseFactory().newEmbeddedDatabase(dbpath); </code></pre> <p>The settings I have used in ne04j-server.properties are:</p> <pre><code>org.neo4j.server.database.location=/C:/neo4j-community-1.9.4/data/graph.db/ org.neo4j.server.webserver.https.keystore.location=data/keystore org.neo4j.server.webadmin.rrdb.location=data/rrd org.neo4j.server.webadmin.data.uri=/C:/neo4j-community-1.9.4/data/graph.db/ org.neo4j.server.webadmin.management.uri=/db/manage/ </code></pre> <p><strong>When I create node through Java the data/keystore file does not get populated, and only gets populated when creating a node through webadmin interface.</strong> Changing the path of keystore file to absolute path also did not work.</p> <p>Can anybody point the mistake in this scenario, Thanks . </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload