Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

trouble installing #1

Open
bobdctq opened this issue Sep 28, 2013 · 3 comments
Open

trouble installing #1

bobdctq opened this issue Sep 28, 2013 · 3 comments

Comments

@bobdctq
Copy link

bobdctq commented Sep 28, 2013

I haven't used maven before, but I installed it to so that I could use sparql-plugin. (Do I really need it?) https://github.com/neo4j-contrib/sparql-plugin says to run

mvn clean package

which I did (using Ubuntu) from /usr/share/neo4j but I get
"The goal you specified requires a project to execute but there is no POM in this directory (/usr/share/neo4j). Please verify you invoked Maven from the correct directory." If I need mvn to run sparql-plugin and it needs to be run from a specific directory, what directory is that?

In case I didn't need maven, I unzipped sparql-plugin-master.zip into usr/share/neo4j/plugins/gremlin anyway and restarted neo4j, but a POST to http://localhost:7474/db/data/ext/SPARQLPlugin/graphdb/insert_quad got me a message saying "no such server plugin."

What do I need to change to install it properly?

Thanks,

Bob

@paulrocost
Copy link

hi Bob,
if you have maven installed , you need just go to the sparql-plugin and
execute "mvn clean package", when you did it, you can get the jars
application, and put on the neo4j->plugins->sparql.
Restart your neo4j server.

but if you have the zip folder, ok . you need just unzipped on the sparql
folder that you need to create inside the plugins.
next you can access by the terminal or inside the neo4j server on the
console http.

2013/9/28 Bob DuCharme [email protected]

I haven't used maven before, but I installed it to so that I could use
sparql-plugin. (Do I really need it?)
https://github.com/neo4j-contrib/sparql-plugin says to run

mvn clean package

which I did (using Ubuntu) from /usr/share/neo4j but I get
"The goal you specified requires a project to execute but there is no POM
in this directory (/usr/share/neo4j). Please verify you invoked Maven from
the correct directory." If I need mvn to run sparql-plugin and it needs to
be run from a specific directory, what directory is that?

In case I didn't need maven, I unzipped sparql-plugin-master.zip into
usr/share/neo4j/plugins/gremlin anyway and restarted neo4j, but a POST to
http://localhost:7474/db/data/ext/SPARQLPlugin/graphdb/insert_quad got me
a message saying "no such server plugin."

What do I need to change to install it properly?

Thanks,

Bob


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@bobdctq
Copy link
Author

bobdctq commented Oct 1, 2013

Thanks. I thought I tried that under Ubuntu but had no luck. I just tried again under Windows and got further; when run from the neo4j-community-1.9.4\plugins\gremlin1.5 directory I saw mvn build and build, but at the end it told me "Tests run: 9, Failures: 0, Errors: 6, Skipped: 2." I didn't have neo4j running when I tried that. When I started it up and tried a POST to http://localhost:7474/db/data/ext/SPARQLPlugin/graphdb/insert_quad I got '"message" : "No such ServerPlugin: "SPARQLPlugin"".'

At neo4j startup I get this, so maybe that has something to do with it: "10:17:19.331 [main] WARN o.neo4j.kernel.EmbeddedGraphDatabase - You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7." Basic tests on the neo4j webadmin screen with the browser run fine, but when trying to run"bin\neo4j stop" I get "the specified service does not exist as an installed service". I was running the Glassfish 3 JDK.

I went to oracle.com and downloaded Java Platform, Enterprise Edition 7 SDK. That turned out to be Glassfish 4, and the installation gave me "No valid JDKs or JREs were detected on this system, and no JDK is included with this installer." I don't understand why the SDK doesn't include a JDK.

I think I'm going to just give up for now. Is it possible for you to provide a sparql-plugin.jar file to put into plugins\gremlin1.5 instead of requiring that people build it themselves?

Thanks,

Bob

@MrTomKimber
Copy link

The machine I'm deploying to doesn't have maven either - but is it right to say I can deploy directly into the neo4j directory structure? If so, where exactly, and are there any additional config changes to make to 'register' the existence of this plug-in?

Also, I notice, under the plugins directory of the repository, there's a sparql plugin, and also a rest plugin. Is it recommended to deploy both?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants