<div>I have GraphDb (standlone server version) in Ubuntu Server 16 running in localhost (with the command ./graphdb -d in /etc/graphdb/bin). But I only have ssh access to the server in the terminal, can't open Worbench in localhost:7200 locally.</div><div></div><div></div><div>PS: two extra questions related: a) For creating an URI endpoint it is the same procedure? b) For GraphDB daemon to start automattically at boot time (with the command ./graphdb -d in graph/bin folder), what is the recommended way and configuration? (tryed the line "/etc/graphdb/bin ./graphdb -d" in rc.local but it didn't worked).</div><div></div><div></div><div></div><div></div><div></div><div>download graphdb</div><div></div><div>Download Zip:
https://t.co/Dc9ANYuyBq </div><div></div><div></div><div>[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project my-first-app: An exception occured while executing the Java class. org.eclipse.rdf4j.sail.SailException: Repository under /opt/maven-graphdb-test/graphdb-free-8.4.0/data/repositories/test/storage is currently in use (we failed to lock its lockfile: /opt/maven-graphdb-test/graphdb-free-8.4.0/data/repositories/test/storage/lock)!</div><div></div><div></div><div>Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).startsWithNode(homerNode); If the node is null, an IllegalArgumentException is thrown. Parameters:node - the expected start node of the actual PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if node is null.AssertionError - if the actual Path does not start with the given nodedoesNotStartWithNodepublic PathAssert doesNotStartWithNode(org.neo4j.graphdb.Node node)Verifies that the actual Path does not start with the given node</div><div></div><div> Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // [...] // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).doesNotStartWithNode(healthyPersonNode); If the node is null, an IllegalArgumentException is thrown. Parameters:node - the expected start node of the actual PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if node is null.AssertionError - if the actual Path starts with the given nodeendsWithNodepublic PathAssert endsWithNode(org.neo4j.graphdb.Node node)Verifies that the actual Path ends with the given node</div><div></div><div> Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).endsWithNode(doughnutNode); If the node is null, an IllegalArgumentException is thrown. Parameters:node - the expected end node of the actual PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if node is null.AssertionError - if the actual Path does not end with the given nodedoesNotEndWithNodepublic PathAssert doesNotEndWithNode(org.neo4j.graphdb.Node node)Verifies that the given node is not the last one of the actual Path</div><div></div><div> Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).doesNotEndWithNode(saladNode); If the node is null, an IllegalArgumentException is thrown. Parameters:node - the expected last node of the actual PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if node is null.AssertionError - if the actual Path ends with this nodeendsWithRelationshippublic PathAssert endsWithRelationship(org.neo4j.graphdb.Relationship relationship)Verifies that the given relationship is the last one of the actual Path</div><div></div><div> Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).endsWithRelationship(love); If the node is null, an IllegalArgumentException is thrown. Parameters:relationship - the expected last relationship of the actual PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if relationship is null.AssertionError - if the actual Path does not contain this relationship lastdoesNotEndWithRelationshippublic PathAssert doesNotEndWithRelationship(org.neo4j.graphdb.Relationship relationship)Verifies that the given relationship is not the last one of the actual Path</div><div></div><div> Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).doesNotEndWithRelationship(hate); If the node is null, an IllegalArgumentException is thrown. Parameters:relationship - the expected last relationship of the actual PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if relationship is null.AssertionError - if the actual Path ends with this relationshiphasLengthpublic PathAssert hasLength(int length)Verifies that the path length equals the given one</div><div></div><div> Example: GraphDatabaseService graph = new TestGraphDatabaseFactory().newImpermanentDatabase(); // [...] Relationship love = homerNode.createRelationshipTo(doughnutNode, DynamicRelationshipType.withName("LOVES")); // PathExpander bellyExpander = [...] Path homerToDoughnutPath = GraphAlgoFactory.shortestPath(bellyExpander, 2).findSinglePath(homerNode, doughnutNode); assertThat(homerToDoughnutPath).hasLength(1); If the length is strictly negative, an IllegalArgumentException is thrown. Parameters:length - the expected length of the PathReturns:this PathAssert for assertions chainingThrows:IllegalArgumentException - if length is strictly negative.AssertionError - if the actual Path has a different lengthSkip navigation linksOverviewPackageClassUseTreeDeprecatedIndexHelpPrev ClassNext ClassFramesNo FramesAll ClassesSummary: Nested Field Constr MethodDetail: Field Constr MethodCopyright 2017 AssertJ. All rights reserved.</div><div></div><div> df19127ead</div>