neo4j-contrib / neoclipse

Graph Database Tool
218 stars 136 forks source link

Unclear how to connect to existing neo4j datastore #45

Open bbutler-tssg opened 11 years ago

bbutler-tssg commented 11 years ago

After starting neoclipse, the first step is to setup the connection to neo4j.

The dialog box requires a name for the connection, as well as a URI. It appears the URI can be either a file location, such as

/var/lib/neo4j/myGraph.db

or something like

http://localhost:7474/myGraph.db.

If the file location is used, the message is that the neo4j server must be started. After the neo4j server starts, clicking OK has no effect - the dialog box just sits there.

If the URI is used instead, the dialog box is dismissed when OK is clicked. However, neoclipse fails to connect to the database, with a window entitled 'Listing relationship types' and

java.lang.RuntimeException: org.codehaus.jackson.JsonParseException:
Unexpected character ('<' (code 60)): expected a valid value (number String,
array, object, 'true', 'false' or 'null')

Clearly the parser encountered some text (in XML rather than JSON format?) it was not expecting when trying to connect to the database...

Issue 1: The lack of good documentation (examples, discussion and screenshots) means that the correct setting of the connection string is not obvious to new users.

Issue 2: If I used the right connection string setting, there seems to be a discrepancy between neoclipse and neo4j.