I've installed the "Gremlin" extension into Neo4j as described here:
https://github.com/thinkaurelius/neo4j-gremlin-plugin.
When I run the extension using Curl as shown on that documentation page, I get this in the log:
Code:
15:28:38.716 [qtp1588771273-32] WARN o.e.jetty.servlet.ServletHandler - /tp/gremlin/execute
java.lang.IllegalArgumentException: Could not resolve dependency of type:javax.transaction.TransactionManager
at org.neo4j.graphdb.DependencyResolver$Adapter$1.select(DependencyResolver.java:87) ~[neo4j-kernel-2.2.9.jar:2.2.9]
at org.neo4j.kernel.extension.KernelExtensions.resolveDependency(KernelExtensions.java:112) ~[neo4j-kernel-2.2.9.jar:2.2.9]
Now, the extension directory (as unzipped from what Maven built, as described on that page)
does contain the Jar file (
jta-1.1.jar) that defines the unresolved class names. No mention is made of
$CLASSPATH in the instructions and I therefore conclude that it is not applicable.
(Incidentally, I originally thought that there was a typo in the instructions of what to put into the configuration file, but it's correct, as described here: http://neo4j.com/docs/stable/server-...xtensions.html.)
A Curl query of the server indicates that it thinks it has
no extensions:
Code:
curl http://localhost:7474/db/data/
{
"extensions" : { },
"node" : "http://localhost:7474/db/data/node",
"node_index" : "http://localhost:7474/db/data/index/node",
"relationship_index" : "http://localhost:7474/db/data/index/relationship",
"extensions_info" : "http://localhost:7474/db/data/ext",
"relationship_types" : "http://localhost:7474/db/data/relationship/types",
"batch" : "http://localhost:7474/db/data/batch",
"cypher" : "http://localhost:7474/db/data/cypher",
"indexes" : "http://localhost:7474/db/data/schema/index",
"constraints" : "http://localhost:7474/db/data/schema/constraint",
"transaction" : "http://localhost:7474/db/data/transaction",
"node_labels" : "http://localhost:7474/db/data/labels",
"neo4j_version" : "2.2.9"
}
curl http://localhost:7474/db/data/ext
{ }