<p dir="auto">Here's the command in "Services" under Windows:</p>
<p dir="auto">C:\Program Files (x86)\Java\jre\bin\java.exe -Djava.util.logging.config.file=conf\windows-wrapper-logging.properties -DworkingDir=C:\NEO4J-~1.M05\bin.. -DconfigFile=conf\neo4j-wrapper.conf -DserverClasspath=lib/<em>.jar;system/lib/</em>.jar;plugins/<em>.jar;system/coordinator/lib/</em>.jar;./conf* -DserverMainClass=org.neo4j.server.Bootstrapper -Dorg.neo4j.cluster.logdirectory=C:\NEO4J-~1.M05\bin..\data\log -jar C:\NEO4J-~1.M05\bin\windows-service-wrapper-*.jar Neo4j-Server</p>
<p dir="auto">The Neo4J directory is not correct in this command - ~1.M05 - I was trying to install 1.9.M05.  I changed the directory name since I couldn't find a config file that let me set the directory.  Neo4J_Home and Java_Home seem to be okay.  I have a 64-bit OS and both 32-bit and 64-bit java are installed, but I set Java_Home to the 32-bit version and listed the 32-bit version first in my Path.  The service installs but says it can't start in a timely manner.  Any suggestions?</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Kwattro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Kwattro">@Kwattro</a>: 'Hello,</p>
<p dir="auto">Version: Neo4j Server 1.8M06</p>
<p dir="auto">Situation:</p>
<p dir="auto">Given the following example from the <a href="http://docs.neo4j.org/chunked/milestone/rest-api-batch-ops.html#rest-api-refer-to-items-created-earlier-in-the-same-batch-job" rel="nofollow">doc</a> .</p>
<p dir="auto"><em>NB: I changed intetionally the last operation id, so there is a duplicated batch operation id in the query</em></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ {
  &quot;method&quot; : &quot;POST&quot;,
  &quot;to&quot; : &quot;/node&quot;,
  &quot;id&quot; : 0,
  &quot;body&quot; : {
    &quot;name&quot; : &quot;bob&quot;
  }
}, {
  &quot;method&quot; : &quot;POST&quot;,
  &quot;to&quot; : &quot;/node&quot;,
  &quot;id&quot; : 1,
  &quot;body&quot; : {
    &quot;age&quot; : 12
  }
}, {
  &quot;method&quot; : &quot;POST&quot;,
  &quot;to&quot; : &quot;{0}/relationships&quot;,
  &quot;id&quot; : 3,
  &quot;body&quot; : {
    &quot;to&quot; : &quot;{1}&quot;,
    &quot;data&quot; : {
      &quot;since&quot; : &quot;2010&quot;
    },
    &quot;type&quot; : &quot;KNOWS&quot;
  }
}, {
  &quot;method&quot; : &quot;POST&quot;,
  &quot;to&quot; : &quot;/index/relationship/my_rels&quot;,
  &quot;id&quot; : 3,
  &quot;body&quot; : {
    &quot;key&quot; : &quot;since&quot;,
    &quot;value&quot; : &quot;2010&quot;,
    &quot;uri&quot; : &quot;{3}&quot;
  }
} ]"><pre class="notranslate"><code class="notranslate">[ {
  "method" : "POST",
  "to" : "/node",
  "id" : 0,
  "body" : {
    "name" : "bob"
  }
}, {
  "method" : "POST",
  "to" : "/node",
  "id" : 1,
  "body" : {
    "age" : 12
  }
}, {
  "method" : "POST",
  "to" : "{0}/relationships",
  "id" : 3,
  "body" : {
    "to" : "{1}",
    "data" : {
      "since" : "2010"
    },
    "type" : "KNOWS"
  }
}, {
  "method" : "POST",
  "to" : "/index/relationship/my_rels",
  "id" : 3,
  "body" : {
    "key" : "since",
    "value" : "2010",
    "uri" : "{3}"
  }
} ]
</code></pre></div>
<p dir="auto">If you execute this query, you receive a <code class="notranslate">EndNodeNotFound Exception</code> because of a duplicated operation id. So there is no possibility to create the relation.</p>
<p dir="auto">The query does not pass and the database is not affected by the changes.</p>
<p dir="auto">BUT ! You receive a 200 status code and full representations of the "not" created nodes. you just get a 404 for the<br>
relation query.</p>
<p dir="auto">I think it should rather return a 400 response code and do not return the nodes representations.</p>
<p dir="auto">Here is the received response (you can see the 404 raised inside the node creation part) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;outgoing_relationships&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships/out&quot;,&quot;traverse&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/traverse/{returnType}&quot;,&quot;all_typed_relationships&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships/all/{-list|&amp;|types}&quot;,&quot;property&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/properties/{key}&quot;,&quot;all_relationships&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships/all&quot;,&quot;self&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321&quot;,&quot;properties&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/properties&quot;,&quot;outgoing_typed_relationships&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships/out/{-list|&amp;|types}&quot;,&quot;incoming_relationships&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships/in&quot;,&quot;incoming_typed_relationships&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships/in/{-list|&amp;|types}&quot;,&quot;create_relationship&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321/relationships&quot;,&quot;data&quot;:{&quot;_id&quot;:&quot;50192ece61312&quot;,&quot;name&quot;:&quot;some 50192ece61309 name&quot;}},&quot;location&quot;:&quot;http://192.168.43.29:7474/db/data/node/649321&quot;,&quot;status&quot;:201},{&quot;id&quot;:5,&quot;from&quot;:&quot;http://192.168.43.29:7474/db/data/relationship/12231/relationships&quot;,&quot;body&quot;:null,&quot;status&quot;:404}"><pre class="notranslate"><code class="notranslate">"outgoing_relationships":"http://192.168.43.29:7474/db/data/node/649321/relationships/out","traverse":"http://192.168.43.29:7474/db/data/node/649321/traverse/{returnType}","all_typed_relationships":"http://192.168.43.29:7474/db/data/node/649321/relationships/all/{-list|&amp;|types}","property":"http://192.168.43.29:7474/db/data/node/649321/properties/{key}","all_relationships":"http://192.168.43.29:7474/db/data/node/649321/relationships/all","self":"http://192.168.43.29:7474/db/data/node/649321","properties":"http://192.168.43.29:7474/db/data/node/649321/properties","outgoing_typed_relationships":"http://192.168.43.29:7474/db/data/node/649321/relationships/out/{-list|&amp;|types}","incoming_relationships":"http://192.168.43.29:7474/db/data/node/649321/relationships/in","incoming_typed_relationships":"http://192.168.43.29:7474/db/data/node/649321/relationships/in/{-list|&amp;|types}","create_relationship":"http://192.168.43.29:7474/db/data/node/649321/relationships","data":{"_id":"50192ece61312","name":"some 50192ece61309 name"}},"location":"http://192.168.43.29:7474/db/data/node/649321","status":201},{"id":5,"from":"http://192.168.43.29:7474/db/data/relationship/12231/relationships","body":null,"status":404}
</code></pre></div>
<p dir="auto">Regards,</p>
<p dir="auto">Christophe</p>
<p dir="auto">'</p>