Have a Neo4j 2.0 enterprise instance running. Using the jars from the lib directory to run this groovy script
import org.neo4j.graphdb.GraphDatabaseService
import org.neo4j.graphdb.ResourceIterable
import org.neo4j.graphdb.Transaction
import org.neo4j.graphdb.factory.GraphDatabaseFactory
import org.neo4j.kernel.EmbeddedGraphDatabase
import org.neo4j.tooling.GlobalGraphOperations
import org.neo4j.graphdb.Node
String DB_PATH = "/Users/afrieden/Neo4j/neo4j-enterprise-2.0.0-M03/"
GraphDatabaseService graphDb = new EmbeddedGraphDatabase(DB_PATH)
Transaction tx = graphDb.beginTx()
try {
Node runNode = graphDb.createNode()
println("we made it!")
tx.success()
}
finally{
tx.finish()
}
graphDb.shutdown()
Runs successfully with the output of "we made it". However when I go into my webadmin cypher console and run
START n=node(*) RETURN n;
I get only the starting node with nothing in it. Is there a log anywhere where I can find what it is choking on? Thanks!