Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError - -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan13153 0.0 0.0 7624 896 pts/4S+ 18:55 0:00 grep - --color=auto [97;45m [Kjava [m [K ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done. [K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatial nolan@nolan-desktop:~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO]task-segment: [install] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [enforcer:enforce {execution: enforce-maven}] [INFO] [license:check {execution: check-licenses}] [INFO] Checking licenses... [INFO] [dependency:unpack-dependencies {execution: get-test-data}] [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/shp-test-data/20100819/shp-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 15 resources [INFO] Copying 0 resource
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just blew away my ~/.m2 and tried again, same results. People keep saying things about Neo4j M2, but the pom.xml dependency is still M1. Could that be the issue? In any case, changing to m2 doesn't work as that doesn't resolve. Maybe someone would like a local SSH account? Not sure what else to try. On 02/27/2011 05:42 AM, Andreas Kollegger wrote: On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan13153 0.0 0.0 7624 896 pts/4S+ 18:55 0:00 grep --color=auto [97;45m [Kjava [m [K ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done. [K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatial nolan@nolan-desktop:~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO] [INFO] Building Neo4j Spatial Components [INFO]task-segment: [install] [INFO] [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [enforcer:enforce {execution: enforce-maven}] [INFO] [license:check {execution: check-licenses}] [INFO] Checking licenses... [INFO] [dependency:unpack-dependencies {execution: get-test-data}] [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] Unpacking
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
That error is from the PNG exporter, and has never had any side effects. Also that code is not called at all by the test case I am running, which is TestOSMImport. You should see that error only from TestDynamicLayers. Having said that, I have added a fix for it, and will commit that later today or tomorrow. On Sun, Feb 27, 2011 at 12:42 PM, Andreas Kollegger andreas.kolleg...@neotechnology.com wrote: On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError - -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan13153 0.0 0.0 7624 896 pts/4S+ 18:55 0:00 grep - --color=auto [97;45m [Kjava [m [K ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done. [K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatial nolan@nolan-desktop :~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO]task-segment: [install] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [enforcer:enforce {execution: enforce-maven}] [INFO] [license:check {execution: check-licenses}] [INFO] Checking licenses... [INFO] [dependency:unpack-dependencies {execution: get-test-data}] [INFO] Unpacking
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
To be thorough, what does your settings.xml look like, and what do you have MAVEN_OPTS set to? Are you using any proxies for maven repositories? Are you on your own network, etc? And, while we're at it: `java -version` and `uname -a` There must be a subtle SNAPSHOT artifact problem, is all I can think of. Just for a sanity check, do you have a clean VM you could spin up and try to build from? About M2, the neo4j version scheme has changed, so neo4j.version1.3.M02/neo4j.version would be the thing to try. Oh, and changing neo4j-server dependency to match version1.3.M02/version. Sorry this is so frustrating to track down. If I can replicate your setup maybe I can replicate the problem. -Andreas On Feb 27, 2011, at 5:48 PM, Nolan Darilek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just blew away my ~/.m2 and tried again, same results. People keep saying things about Neo4j M2, but the pom.xml dependency is still M1. Could that be the issue? In any case, changing to m2 doesn't work as that doesn't resolve. Maybe someone would like a local SSH account? Not sure what else to try. On 02/27/2011 05:42 AM, Andreas Kollegger wrote: On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan13153 0.0 0.0 7624 896 pts/4S+ 18:55 0:00 grep --color=auto [97;45m [Kjava [m [K ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done. [K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatial nolan@nolan-desktop:~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO]
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I only use Maven because other projects make me, so I haven't done anything unconventional here. No MAVEN_OPTS and no settings.xml of which I'm aware. I'm on my home LAN but without any proxies, and haven't experienced anything like this with other projects. $ uname -a Linux nolan-desktop 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) On 02/27/2011 11:30 AM, Andreas Kollegger wrote: To be thorough, what does your settings.xml look like, and what do you have MAVEN_OPTS set to? Are you using any proxies for maven repositories? Are you on your own network, etc? And, while we're at it: `java -version` and `uname -a` There must be a subtle SNAPSHOT artifact problem, is all I can think of. Just for a sanity check, do you have a clean VM you could spin up and try to build from? About M2, the neo4j version scheme has changed, so neo4j.version1.3.M02/neo4j.version would be the thing to try. Oh, and changing neo4j-server dependency to match version1.3.M02/version. Sorry this is so frustrating to track down. If I can replicate your setup maybe I can replicate the problem. -Andreas On Feb 27, 2011, at 5:48 PM, Nolan Darilek wrote: I just blew away my ~/.m2 and tried again, same results. People keep saying things about Neo4j M2, but the pom.xml dependency is still M1. Could that be the issue? In any case, changing to m2 doesn't work as that doesn't resolve. Maybe someone would like a local SSH account? Not sure what else to try. On 02/27/2011 05:42 AM, Andreas Kollegger wrote: On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan13153 0.0 0.0 7624 896 pts/4S+ 18:55 0:00 grep
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
OK, that looks so incredibly normal. Um... hm. Huh, I just noticed that you did `mvn install` after the git clone. I always reflexively run `mvn clean install`. I'm cleaning my VM, blowing away the home directory, then re-trying with that. Hold please. -Andreas On Feb 27, 2011, at 6:55 PM, Nolan Darilek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I only use Maven because other projects make me, so I haven't done anything unconventional here. No MAVEN_OPTS and no settings.xml of which I'm aware. I'm on my home LAN but without any proxies, and haven't experienced anything like this with other projects. $ uname -a Linux nolan-desktop 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) On 02/27/2011 11:30 AM, Andreas Kollegger wrote: To be thorough, what does your settings.xml look like, and what do you have MAVEN_OPTS set to? Are you using any proxies for maven repositories? Are you on your own network, etc? And, while we're at it: `java -version` and `uname -a` There must be a subtle SNAPSHOT artifact problem, is all I can think of. Just for a sanity check, do you have a clean VM you could spin up and try to build from? About M2, the neo4j version scheme has changed, so neo4j.version1.3.M02/neo4j.version would be the thing to try. Oh, and changing neo4j-server dependency to match version1.3.M02/version. Sorry this is so frustrating to track down. If I can replicate your setup maybe I can replicate the problem. -Andreas On Feb 27, 2011, at 5:48 PM, Nolan Darilek wrote: I just blew away my ~/.m2 and tried again, same results. People keep saying things about Neo4j M2, but the pom.xml dependency is still M1. Could that be the issue? In any case, changing to m2 doesn't work as that doesn't resolve. Maybe someone would like a local SSH account? Not sure what else to try. On 02/27/2011 05:42 AM, Andreas Kollegger wrote: On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case:
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Alright, so that worked just fine. Last thing I can try is reducing the memory on my VM to just 1G. But, I can't otherwise think what could be wrong. -Andreas On Feb 27, 2011, at 6:55 PM, Nolan Darilek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I only use Maven because other projects make me, so I haven't done anything unconventional here. No MAVEN_OPTS and no settings.xml of which I'm aware. I'm on my home LAN but without any proxies, and haven't experienced anything like this with other projects. $ uname -a Linux nolan-desktop 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux $ java -version java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) On 02/27/2011 11:30 AM, Andreas Kollegger wrote: To be thorough, what does your settings.xml look like, and what do you have MAVEN_OPTS set to? Are you using any proxies for maven repositories? Are you on your own network, etc? And, while we're at it: `java -version` and `uname -a` There must be a subtle SNAPSHOT artifact problem, is all I can think of. Just for a sanity check, do you have a clean VM you could spin up and try to build from? About M2, the neo4j version scheme has changed, so neo4j.version1.3.M02/neo4j.version would be the thing to try. Oh, and changing neo4j-server dependency to match version1.3.M02/version. Sorry this is so frustrating to track down. If I can replicate your setup maybe I can replicate the problem. -Andreas On Feb 27, 2011, at 5:48 PM, Nolan Darilek wrote: I just blew away my ~/.m2 and tried again, same results. People keep saying things about Neo4j M2, but the pom.xml dependency is still M1. Could that be the issue? In any case, changing to m2 doesn't work as that doesn't resolve. Maybe someone would like a local SSH account? Not sure what else to try. On 02/27/2011 05:42 AM, Andreas Kollegger wrote: On a fresh and clean Ubuntu VM (after installing java, maven, git, etc), I just cloned neo4j-spatial and tried `mvn clean install`. During the build, I noticed a few these scattered about: Feb 27, 2011 11:58:26 AM org.geotools.map.MapContent finalize SEVERE: Call MapContent dispose() to prevent memory leaks But ended up with a successful build. No failures, no errors. Cheers, Andreas On Feb 27, 2011, at 7:22 AM, Peter Neubauer wrote: Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/27/2011 01:22 PM, Michael Hunger wrote: can you post maven dependency:tree [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO]task-segment: [dependency:tree] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [dependency:tree {execution: default-cli}] [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] org.neo4j:neo4j-spatial:bundle:0.4-SNAPSHOT [INFO] +- org.neo4j:neo4j-kernel:jar:1.3-1.3.M01:compile [INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] +- org.neo4j:neo4j-lucene-index:jar:0.5-1.3.M01:compile [INFO] | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile [INFO] +- org.neo4j.app:neo4j-server:jar:0.6-SNAPSHOT:provided [INFO] | +- org.neo4j:neo4j:pom:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-graph-algo:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-udc:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-management:jar:1.3-SNAPSHOT:provided [INFO] | | | \- com.sun:tools:jar:1.6:system [INFO] | | +- org.neo4j:neo4j-com:jar:1.3-SNAPSHOT:provided [INFO] | | | \- org.jboss.netty:netty:jar:3.2.1.Final:provided [INFO] | | \- org.neo4j:neo4j-ha:jar:1.3-SNAPSHOT:provided [INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.3.2:provided [INFO] | +- org.mortbay.jetty:jetty:jar:6.1.25:provided [INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.25:provided [INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided [INFO] | +- com.sun.jersey:jersey-server:jar:1.3:provided [INFO] | | +- com.sun.jersey:jersey-core:jar:1.3:provided [INFO] | | | \- javax.ws.rs:jsr311-api:jar:1.1.1:provided [INFO] | | \- asm:asm:jar:3.1:provided [INFO] | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | +- commons-collections:commons-collections:jar:3.2.1:provided [INFO] | | +- commons-lang:commons-lang:jar:2.4:provided [INFO] | | +- commons-logging:commons-logging:jar:1.1.1:provided [INFO] | | +- commons-digester:commons-digester:jar:1.8:provided [INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:provided [INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | +- commons-io:commons-io:jar:1.4:provided [INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.6.1:provided [INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.6.1:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.6.1:provided [INFO] | +- com.tinkerpop:gremlin:jar:0.7:provided [INFO] | | +- com.tinkerpop:blueprints:jar:0.4:provided [INFO] | | | +- net.sf.jung:jung-api:jar:2.0:provided [INFO] | | | | \- net.sourceforge.collections:collections-generic:jar:4.01:provided [INFO] | | | +- net.fortytwo.sesametools:common:jar:1.1:provided [INFO] | | | | +- org.slf4j:slf4j-log4j12:jar:1.5.2:provided [INFO] | | | | +- org.openrdf.sesame:sesame-sail-api:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-query:jar:2.3.2:provided [INFO] | | | | | | \- org.openrdf.sesame:sesame-rio-api:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-net:jar:2.6.0:provided [INFO] | | | | | |\- info.aduna.commons:aduna-commons-text:jar:2.6.0:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-queryalgebra-model:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-model:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-i18n:jar:1.3.0:provided [INFO] | | | | | \- info.aduna.commons:aduna-commons-lang:jar:2.8.0:provided [INFO] | | | | \- org.openrdf.sesame:sesame-queryalgebra-evaluation:jar:2.3.2:provided [INFO] | | | | \- info.aduna.commons:aduna-commons-collections:jar:2.7.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-iteration:jar:2.8.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-concurrent:jar:2.6.0:provided [INFO] | | +- com.tinkerpop:pipes:jar:0.3:provided [INFO] | | +- org.codehaus.groovy:groovy:jar:1.7.5:provided [INFO] | | | +- antlr:antlr:jar:2.7.7:provided [INFO] | | | +- asm:asm-commons:jar:3.2:provided [INFO] | | | +- asm:asm-util:jar:3.2:provided [INFO] | | | +- asm:asm-analysis:jar:3.2:provided [INFO] | | | \- asm:asm-tree:jar:3.2:provided [INFO] | | +- org.fusesource.jansi:jansi:jar:1.5:provided [INFO] | | \- org.codehaus.groovy.maven:gmaven-plugin:jar:1.0:provided [INFO] | | +- org.codehaus.groovy.maven.runtime:gmaven-runtime-api:jar:1.0:provided [INFO] | | | \-
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
On a different note - you also clearly see that in dependency:tree mvn clean install on a non existing .m2/repository took 26 minutes and pulled 87 MB dependencies from the internet. I mean, really ? That would scare away even the most hardcore GIS user :) Shouldn't we make most of those deps just a compiled scope dependency (if at all) and exclude tons of that (coming from server) and all the different geo-* integrations to just include their API jars and exclude everything else? Cheers Michael Am 27.02.2011 um 20:48 schrieb Nolan Darilek: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/27/2011 01:22 PM, Michael Hunger wrote: can you post maven dependency:tree [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO]task-segment: [dependency:tree] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [dependency:tree {execution: default-cli}] [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] org.neo4j:neo4j-spatial:bundle:0.4-SNAPSHOT [INFO] +- org.neo4j:neo4j-kernel:jar:1.3-1.3.M01:compile [INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] +- org.neo4j:neo4j-lucene-index:jar:0.5-1.3.M01:compile [INFO] | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile [INFO] +- org.neo4j.app:neo4j-server:jar:0.6-SNAPSHOT:provided [INFO] | +- org.neo4j:neo4j:pom:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-graph-algo:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-udc:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-management:jar:1.3-SNAPSHOT:provided [INFO] | | | \- com.sun:tools:jar:1.6:system [INFO] | | +- org.neo4j:neo4j-com:jar:1.3-SNAPSHOT:provided [INFO] | | | \- org.jboss.netty:netty:jar:3.2.1.Final:provided [INFO] | | \- org.neo4j:neo4j-ha:jar:1.3-SNAPSHOT:provided [INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.3.2:provided [INFO] | +- org.mortbay.jetty:jetty:jar:6.1.25:provided [INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.25:provided [INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided [INFO] | +- com.sun.jersey:jersey-server:jar:1.3:provided [INFO] | | +- com.sun.jersey:jersey-core:jar:1.3:provided [INFO] | | | \- javax.ws.rs:jsr311-api:jar:1.1.1:provided [INFO] | | \- asm:asm:jar:3.1:provided [INFO] | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | +- commons-collections:commons-collections:jar:3.2.1:provided [INFO] | | +- commons-lang:commons-lang:jar:2.4:provided [INFO] | | +- commons-logging:commons-logging:jar:1.1.1:provided [INFO] | | +- commons-digester:commons-digester:jar:1.8:provided [INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:provided [INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | +- commons-io:commons-io:jar:1.4:provided [INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.6.1:provided [INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.6.1:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.6.1:provided [INFO] | +- com.tinkerpop:gremlin:jar:0.7:provided [INFO] | | +- com.tinkerpop:blueprints:jar:0.4:provided [INFO] | | | +- net.sf.jung:jung-api:jar:2.0:provided [INFO] | | | | \- net.sourceforge.collections:collections-generic:jar:4.01:provided [INFO] | | | +- net.fortytwo.sesametools:common:jar:1.1:provided [INFO] | | | | +- org.slf4j:slf4j-log4j12:jar:1.5.2:provided [INFO] | | | | +- org.openrdf.sesame:sesame-sail-api:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-query:jar:2.3.2:provided [INFO] | | | | | | \- org.openrdf.sesame:sesame-rio-api:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-net:jar:2.6.0:provided [INFO] | | | | | |\- info.aduna.commons:aduna-commons-text:jar:2.6.0:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-queryalgebra-model:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-model:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-i18n:jar:1.3.0:provided [INFO] | | | | | \- info.aduna.commons:aduna-commons-lang:jar:2.8.0:provided [INFO] | | | | \- org.openrdf.sesame:sesame-queryalgebra-evaluation:jar:2.3.2:provided [INFO] | | | | \- info.aduna.commons:aduna-commons-collections:jar:2.7.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-iteration:jar:2.8.0:provided [INFO] | | | \-
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls in 1.3-SNAPSHOT which might due Tobias refactorings in kernel extensions not binary compatible be with the regular 1.3.M01 dep ? Craig could you perhaps please update the deps of neo4j-spatial to 1.3.M03 throughout, I'm quite sure this version mismatch that perhaps gets onto the classpath/classloader of openjdk differently than on other JVMs causes the problem ? Cheers Michael Am 27.02.2011 um 20:48 schrieb Nolan Darilek: [INFO] org.neo4j:neo4j-spatial:bundle:0.4-SNAPSHOT [INFO] +- org.neo4j:neo4j-kernel:jar:1.3-1.3.M01:compile [INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] +- org.neo4j:neo4j-lucene-index:jar:0.5-1.3.M01:compile [INFO] | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile [INFO] +- org.neo4j.app:neo4j-server:jar:0.6-SNAPSHOT:provided [INFO] | +- org.neo4j:neo4j:pom:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-graph-algo:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-udc:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-management:jar:1.3-SNAPSHOT:provided [INFO] | | | \- com.sun:tools:jar:1.6:system [INFO] | | +- org.neo4j:neo4j-com:jar:1.3-SNAPSHOT:provided [INFO] | | | \- org.jboss.netty:netty:jar:3.2.1.Final:provided [INFO] | | \- org.neo4j:neo4j-ha:jar:1.3-SNAPSHOT:provided [INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.3.2:provided [INFO] | +- org.mortbay.jetty:jetty:jar:6.1.25:provided [INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.25:provided [INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided [INFO] | +- com.sun.jersey:jersey-server:jar:1.3:provided [INFO] | | +- com.sun.jersey:jersey-core:jar:1.3:provided [INFO] | | | \- javax.ws.rs:jsr311-api:jar:1.1.1:provided [INFO] | | \- asm:asm:jar:3.1:provided [INFO] | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | +- commons-collections:commons-collections:jar:3.2.1:provided [INFO] | | +- commons-lang:commons-lang:jar:2.4:provided [INFO] | | +- commons-logging:commons-logging:jar:1.1.1:provided [INFO] | | +- commons-digester:commons-digester:jar:1.8:provided [INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:provided [INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | +- commons-io:commons-io:jar:1.4:provided [INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.6.1:provided [INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.6.1:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.6.1:provided [INFO] | +- com.tinkerpop:gremlin:jar:0.7:provided [INFO] | | +- com.tinkerpop:blueprints:jar:0.4:provided [INFO] | | | +- net.sf.jung:jung-api:jar:2.0:provided [INFO] | | | | \- net.sourceforge.collections:collections-generic:jar:4.01:provided [INFO] | | | +- net.fortytwo.sesametools:common:jar:1.1:provided [INFO] | | | | +- org.slf4j:slf4j-log4j12:jar:1.5.2:provided [INFO] | | | | +- org.openrdf.sesame:sesame-sail-api:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-query:jar:2.3.2:provided [INFO] | | | | | | \- org.openrdf.sesame:sesame-rio-api:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-net:jar:2.6.0:provided [INFO] | | | | | |\- info.aduna.commons:aduna-commons-text:jar:2.6.0:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-queryalgebra-model:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-model:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-i18n:jar:1.3.0:provided [INFO] | | | | | \- info.aduna.commons:aduna-commons-lang:jar:2.8.0:provided [INFO] | | | | \- org.openrdf.sesame:sesame-queryalgebra-evaluation:jar:2.3.2:provided [INFO] | | | | \- info.aduna.commons:aduna-commons-collections:jar:2.7.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-iteration:jar:2.8.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-concurrent:jar:2.6.0:provided [INFO] | | +- com.tinkerpop:pipes:jar:0.3:provided [INFO] | | +- org.codehaus.groovy:groovy:jar:1.7.5:provided [INFO] | | | +- antlr:antlr:jar:2.7.7:provided [INFO] | | | +- asm:asm-commons:jar:3.2:provided [INFO] | | | +- asm:asm-util:jar:3.2:provided [INFO] | | | +- asm:asm-analysis:jar:3.2:provided [INFO] | | | \- asm:asm-tree:jar:3.2:provided [INFO] | | +- org.fusesource.jansi:jansi:jar:1.5:provided [INFO] | | \- org.codehaus.groovy.maven:gmaven-plugin:jar:1.0:provided [INFO] | | +- org.codehaus.groovy.maven.runtime:gmaven-runtime-api:jar:1.0:provided [INFO] | | | \- org.codehaus.groovy.maven.feature:gmaven-feature-api:jar:1.0:provided [INFO] | | +- org.codehaus.groovy.maven.runtime:gmaven-runtime-loader:jar:1.0:provided
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Mmh, in Spatial there is a Server Plugin, that is not updated to the latest milestone and the Server API breakout. That is the reason for Neo4j Server deps being pulled in ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 9:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls in 1.3-SNAPSHOT which might due Tobias refactorings in kernel extensions not binary compatible be with the regular 1.3.M01 dep ? Craig could you perhaps please update the deps of neo4j-spatial to 1.3.M03 throughout, I'm quite sure this version mismatch that perhaps gets onto the classpath/classloader of openjdk differently than on other JVMs causes the problem ? Cheers Michael Am 27.02.2011 um 20:48 schrieb Nolan Darilek: [INFO] org.neo4j:neo4j-spatial:bundle:0.4-SNAPSHOT [INFO] +- org.neo4j:neo4j-kernel:jar:1.3-1.3.M01:compile [INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] +- org.neo4j:neo4j-lucene-index:jar:0.5-1.3.M01:compile [INFO] | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile [INFO] +- org.neo4j.app:neo4j-server:jar:0.6-SNAPSHOT:provided [INFO] | +- org.neo4j:neo4j:pom:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-graph-algo:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-udc:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-management:jar:1.3-SNAPSHOT:provided [INFO] | | | \- com.sun:tools:jar:1.6:system [INFO] | | +- org.neo4j:neo4j-com:jar:1.3-SNAPSHOT:provided [INFO] | | | \- org.jboss.netty:netty:jar:3.2.1.Final:provided [INFO] | | \- org.neo4j:neo4j-ha:jar:1.3-SNAPSHOT:provided [INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.3.2:provided [INFO] | +- org.mortbay.jetty:jetty:jar:6.1.25:provided [INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.25:provided [INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided [INFO] | +- com.sun.jersey:jersey-server:jar:1.3:provided [INFO] | | +- com.sun.jersey:jersey-core:jar:1.3:provided [INFO] | | | \- javax.ws.rs:jsr311-api:jar:1.1.1:provided [INFO] | | \- asm:asm:jar:3.1:provided [INFO] | +- commons-configuration:commons-configuration:jar:1.6:provided [INFO] | | +- commons-collections:commons-collections:jar:3.2.1:provided [INFO] | | +- commons-lang:commons-lang:jar:2.4:provided [INFO] | | +- commons-logging:commons-logging:jar:1.1.1:provided [INFO] | | +- commons-digester:commons-digester:jar:1.8:provided [INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:provided [INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:provided [INFO] | +- commons-io:commons-io:jar:1.4:provided [INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.6.1:provided [INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.6.1:provided [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.6.1:provided [INFO] | +- com.tinkerpop:gremlin:jar:0.7:provided [INFO] | | +- com.tinkerpop:blueprints:jar:0.4:provided [INFO] | | | +- net.sf.jung:jung-api:jar:2.0:provided [INFO] | | | | \- net.sourceforge.collections:collections-generic:jar:4.01:provided [INFO] | | | +- net.fortytwo.sesametools:common:jar:1.1:provided [INFO] | | | | +- org.slf4j:slf4j-log4j12:jar:1.5.2:provided [INFO] | | | | +- org.openrdf.sesame:sesame-sail-api:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-query:jar:2.3.2:provided [INFO] | | | | | | \- org.openrdf.sesame:sesame-rio-api:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-net:jar:2.6.0:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-text:jar:2.6.0:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-queryalgebra-model:jar:2.3.2:provided [INFO] | | | | | +- org.openrdf.sesame:sesame-model:jar:2.3.2:provided [INFO] | | | | | | \- info.aduna.commons:aduna-commons-i18n:jar:1.3.0:provided [INFO] | | | | | \- info.aduna.commons:aduna-commons-lang:jar:2.8.0:provided [INFO] | | | | \- org.openrdf.sesame:sesame-queryalgebra-evaluation:jar:2.3.2:provided [INFO] | | | | \- info.aduna.commons:aduna-commons-collections:jar:2.7.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-iteration:jar:2.8.0:provided [INFO] | | | \- info.aduna.commons:aduna-commons-concurrent:jar:2.6.0:provided [INFO] | | +- com.tinkerpop:pipes:jar:0.3:provided [INFO] | | +-
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
I updated the deps to M03 locally and fixed some implementation changes in neo4j-kernel (esp. IndexProvider this is also where Nolans problems came from). I also tried to exclude stuff from the pom but got not rid of everything. All tests run fine except for two, which have some issue with index-search: Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2) Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2) I would like to push my changes as a separate branch so that Craig can look at them, if that's ok? (branch name: neo4j-1.3.M03) Cheers Michael Now the dep-tree looks like this: [INFO] org.neo4j:neo4j-spatial:bundle:0.4-SNAPSHOT [INFO] +- org.neo4j:neo4j-kernel:jar:1.3.M03:compile [INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] +- org.neo4j:neo4j-lucene-index:jar:1.3.M03:compile [INFO] | +- org.neo4j:neo4j-kernel:jar:tests:1.3.M03:compile [INFO] | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile [INFO] +- org.neo4j.app:neo4j-server:jar:1.3.M03:provided [INFO] | \- org.neo4j:server-api:jar:1.3.M03:provided [INFO] | \- javax.ws.rs:jsr311-api:jar:1.1.1:provided [INFO] +- junit:junit:jar:4.8.1:test [INFO] +- org.neo4j.spatial:osm-test-data:jar:20100819:test [INFO] +- org.neo4j.spatial:shp-test-data:jar:20100819:test [INFO] +- org.geotools:gt-main:jar:2.7-M3:provided [INFO] | +- org.geotools:gt-api:jar:2.7-M3:provided [INFO] | +- com.vividsolutions:jts:jar:1.11:provided [INFO] | | \- xerces:xercesImpl:jar:2.4.0:provided [INFO] | \- jdom:jdom:jar:1.0:provided [INFO] +- org.geotools:gt-shapefile:jar:2.7-M3:provided [INFO] | +- org.geotools:gt-data:jar:2.7-M3:provided [INFO] | \- org.geotools:gt-referencing:jar:2.7-M3:provided [INFO] | +- java3d:vecmath:jar:1.3.2:provided [INFO] | +- commons-pool:commons-pool:jar:1.5.4:provided [INFO] | \- org.geotools:gt-metadata:jar:2.7-M3:provided [INFO] |+- org.opengis:geoapi:jar:2.3-M1:provided [INFO] |+- org.opengis:geoapi-pending:jar:2.3-M1:provided [INFO] |\- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:provided [INFO] +- org.geotools:gt-render:jar:2.7-M3:provided [INFO] | +- org.geotools:gt-coverage:jar:2.7-M3:provided [INFO] | \- org.geotools:gt-cql:jar:2.7-M3:provided [INFO] +- log4j:log4j:jar:1.2.14:provided [INFO] \- com.googlecode.json-simple:json-simple:jar:1.1:provided Am 27.02.2011 um 21:20 schrieb Peter Neubauer: Mmh, in Spatial there is a Server Plugin, that is not updated to the latest milestone and the Server API breakout. That is the reason for Neo4j Server deps being pulled in ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 9:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls in 1.3-SNAPSHOT which might due Tobias refactorings in kernel extensions not binary compatible be with the regular 1.3.M01 dep ? Craig could you perhaps please update the deps of neo4j-spatial to 1.3.M03 throughout, I'm quite sure this version mismatch that perhaps gets onto the classpath/classloader of openjdk differently than on other JVMs causes the problem ? Cheers Michael Am 27.02.2011 um 20:48 schrieb Nolan Darilek: [INFO] org.neo4j:neo4j-spatial:bundle:0.4-SNAPSHOT [INFO] +- org.neo4j:neo4j-kernel:jar:1.3-1.3.M01:compile [INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] +- org.neo4j:neo4j-lucene-index:jar:0.5-1.3.M01:compile [INFO] | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:jar:3.0.1_2:compile [INFO] +- org.neo4j.app:neo4j-server:jar:0.6-SNAPSHOT:provided [INFO] | +- org.neo4j:neo4j:pom:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-graph-algo:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-udc:jar:1.3-SNAPSHOT:provided [INFO] | | +- org.neo4j:neo4j-management:jar:1.3-SNAPSHOT:provided [INFO] | | | \- com.sun:tools:jar:1.6:system [INFO] | | +- org.neo4j:neo4j-com:jar:1.3-SNAPSHOT:provided [INFO] | | | \- org.jboss.netty:netty:jar:3.2.1.Final:provided [INFO] | | \- org.neo4j:neo4j-ha:jar:1.3-SNAPSHOT:provided [INFO] | | \- org.apache.zookeeper:zookeeper:jar:3.3.2:provided [INFO] | +- org.mortbay.jetty:jetty:jar:6.1.25:provided [INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.25:provided [INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided [INFO] | +- com.sun.jersey:jersey-server:jar:1.3:provided [INFO] | | +-
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
The minimal changes I had to make on Nolans machine to get it down to the same 2 failing tests as on mine are: (there is one additonal problem with xerces when maven tries to write out the test-results as xml, but i assume that is about some weird version mismatch between openjdk and what maven expects). diff --git a/pom.xml b/pom.xml index 4b8757f..8df800c 100644 --- a/pom.xml +++ b/pom.xml @@ -109,15 +109,28 @@ artifactIdneo4j-server/artifactId version0.6-SNAPSHOT/version scopeprovided/scope + exclusions + exclusion + groupIdcom.tinkerpop/groupId + artifactIdgremlin/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j-shell/artifactId + /exclusion + +/exclusions /dependency - !-- dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.1/version scopeprovided/scope /dependency - -- dependency groupIdorg.neo4j.spatial/groupId artifactIdosm-test-data/artifactId --- Test set: org.neo4j.gis.spatial.TestSpatial --- Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 150.621 sec FAILURE! Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 4.842 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Dalby s?derskog] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 6.55 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Yddingesj?n] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) Am 27.02.2011 um 21:20 schrieb Peter Neubauer: Mmh, in Spatial there is a Server Plugin, that is not updated to the latest milestone and the Server API breakout. That is the reason for Neo4j Server deps being pulled in ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Ok, Upgrading will fix a lot of that... On Feb 27, 2011 10:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: The minimal changes I had to make on Nolans machine to get it down to the same 2 failing tests as on mine are: (there is one additonal problem with xerces when maven tries to write out the test-results as xml, but i assume that is about some weird version mismatch between openjdk and what maven expects). diff --git a/pom.xml b/pom.xml index 4b8757f..8df800c 100644 --- a/pom.xml +++ b/pom.xml @@ -109,15 +109,28 @@ artifactIdneo4j-server/artifactId version0.6-SNAPSHOT/version scopeprovided/scope + exclusions + exclusion + groupIdcom.tinkerpop/groupId + artifactIdgremlin/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j-shell/artifactId + /exclusion + +/exclusions /dependency - !-- dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.1/version scopeprovided/scope /dependency - -- dependency groupIdorg.neo4j.spatial/groupId artifactIdosm-test-data/artifactId --- Test set: org.neo4j.gis.spatial.TestSpatial --- Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 150.621 sec FAILURE! Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 4.842 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Dalby s?derskog] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 6.55 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Yddingesj?n] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) Am 27.02.2011 um 21:20 schrieb Peter Neubauer: Mmh, in Spatial there is a Server Plugin, that is not updated to the latest milestone and the Server API breakout. That is the reason for Neo4j Server deps being pulled in ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 9:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Hmm looking at that there: Why does spatial depend on server 0.6-SNAPSHOT which pulls in 1.3-SNAPSHOT
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Interestingly when I run the tests from the IDE all work fine. Only via maven they fail. That's really weird. Michael Am 27.02.2011 um 22:08 schrieb Peter Neubauer: Ok, Upgrading will fix a lot of that... On Feb 27, 2011 10:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: The minimal changes I had to make on Nolans machine to get it down to the same 2 failing tests as on mine are: (there is one additonal problem with xerces when maven tries to write out the test-results as xml, but i assume that is about some weird version mismatch between openjdk and what maven expects). diff --git a/pom.xml b/pom.xml index 4b8757f..8df800c 100644 --- a/pom.xml +++ b/pom.xml @@ -109,15 +109,28 @@ artifactIdneo4j-server/artifactId version0.6-SNAPSHOT/version scopeprovided/scope + exclusions + exclusion + groupIdcom.tinkerpop/groupId + artifactIdgremlin/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j-shell/artifactId + /exclusion + +/exclusions /dependency - !-- dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.1/version scopeprovided/scope /dependency - -- dependency groupIdorg.neo4j.spatial/groupId artifactIdosm-test-data/artifactId --- Test set: org.neo4j.gis.spatial.TestSpatial --- Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 150.621 sec FAILURE! Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 4.842 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Dalby s?derskog] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 6.55 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Yddingesj?n] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) Am 27.02.2011 um 21:20 schrieb Peter Neubauer: Mmh, in Spatial there is a Server Plugin, that is not updated to the latest milestone and the Server API breakout. That is the reason for Neo4j Server deps being pulled in ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
There might be issues with the tests running in the same JVM instance right now. I had these issues when running with BerkeleyDB in my embedded-import branch - the index was left in memory for the next test! So, maybe you can try forking the tests to make sure they are really independent? https://github.com/neo4j/neo4j-spatial/blob/embedded-import/pom.xml#L265 Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 10:13 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Interestingly when I run the tests from the IDE all work fine. Only via maven they fail. That's really weird. Michael Am 27.02.2011 um 22:08 schrieb Peter Neubauer: Ok, Upgrading will fix a lot of that... On Feb 27, 2011 10:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: The minimal changes I had to make on Nolans machine to get it down to the same 2 failing tests as on mine are: (there is one additonal problem with xerces when maven tries to write out the test-results as xml, but i assume that is about some weird version mismatch between openjdk and what maven expects). diff --git a/pom.xml b/pom.xml index 4b8757f..8df800c 100644 --- a/pom.xml +++ b/pom.xml @@ -109,15 +109,28 @@ artifactIdneo4j-server/artifactId version0.6-SNAPSHOT/version scopeprovided/scope + exclusions + exclusion + groupIdcom.tinkerpop/groupId + artifactIdgremlin/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j-shell/artifactId + /exclusion + +/exclusions /dependency - !-- dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.1/version scopeprovided/scope /dependency - -- dependency groupIdorg.neo4j.spatial/groupId artifactIdosm-test-data/artifactId --- Test set: org.neo4j.gis.spatial.TestSpatial --- Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 150.621 sec FAILURE! Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 4.842 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Dalby s?derskog] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 6.55 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Yddingesj?n] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Tried to run them with forkModealways/forkMode for surefire but didn't help. Am 27.02.2011 um 22:18 schrieb Peter Neubauer: There might be issues with the tests running in the same JVM instance right now. I had these issues when running with BerkeleyDB in my embedded-import branch - the index was left in memory for the next test! So, maybe you can try forking the tests to make sure they are really independent? https://github.com/neo4j/neo4j-spatial/blob/embedded-import/pom.xml#L265 Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 10:13 PM, Michael Hunger michael.hun...@neotechnology.com wrote: Interestingly when I run the tests from the IDE all work fine. Only via maven they fail. That's really weird. Michael Am 27.02.2011 um 22:08 schrieb Peter Neubauer: Ok, Upgrading will fix a lot of that... On Feb 27, 2011 10:01 PM, Michael Hunger michael.hun...@neotechnology.com wrote: The minimal changes I had to make on Nolans machine to get it down to the same 2 failing tests as on mine are: (there is one additonal problem with xerces when maven tries to write out the test-results as xml, but i assume that is about some weird version mismatch between openjdk and what maven expects). diff --git a/pom.xml b/pom.xml index 4b8757f..8df800c 100644 --- a/pom.xml +++ b/pom.xml @@ -109,15 +109,28 @@ artifactIdneo4j-server/artifactId version0.6-SNAPSHOT/version scopeprovided/scope + exclusions + exclusion + groupIdcom.tinkerpop/groupId + artifactIdgremlin/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j/artifactId + /exclusion + exclusion + groupIdorg.neo4j/groupId + artifactIdneo4j-shell/artifactId + /exclusion + +/exclusions /dependency - !-- dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.8.1/version scopeprovided/scope /dependency - -- dependency groupIdorg.neo4j.spatial/groupId artifactIdosm-test-data/artifactId --- Test set: org.neo4j.gis.spatial.TestSpatial --- Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 150.621 sec FAILURE! Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 4.842 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Dalby s?derskog] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.neo4j.gis.spatial.TestSpatial.doTestSpatialIndex(TestSpatial.java:378) at org.neo4j.gis.spatial.TestSpatial.testSpatialIndex(TestSpatial.java:299) at org.neo4j.gis.spatial.TestSpatial$2.runTest(TestSpatial.java:235) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 6.55 sec FAILURE! junit.framework.AssertionFailedError: Incorrect test result: test[Yddingesj?n] not found by search inside region[Env[13.0 : 14.0, 55.0 : 56.0]] at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at
[Neo4j] Can anyone compile the latest Neo4J Spatial?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wondering if something didn't get committed somewhere? I tried both with an update as well as with a fresh checkout and am getting a ton of test errors, not failures. Here's a sample Surefire output. This was gotten from a fresh checkout running mvn install: - --- Test set: org.neo4j.gis.spatial.TestSpatial - --- Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 1.558 sec FAILURE! Test Import of billesholm.osm(org.neo4j.gis.spatial.TestSpatial$1) Time elapsed: 1.513 sec ERROR! java.lang.AbstractMethodError at org.neo4j.kernel.KernelExtension$KernelData.loadAll(KernelExtension.java:178) at org.neo4j.kernel.EmbeddedGraphDbImpl$2.load(EmbeddedGraphDbImpl.java:164) at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:169) at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80) at org.neo4j.gis.spatial.Neo4jTestCase.reActivateDatabase(Neo4jTestCase.java:123) at org.neo4j.gis.spatial.Neo4jTestCase.setUp(Neo4jTestCase.java:88) at org.neo4j.gis.spatial.TestSpatial.setUp(TestSpatial.java:255) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on billesholm.osm(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 0.003 sec ERROR! org.neo4j.graphdb.TransactionFailureException: Could not create data source [nioneodb], see nested exception for cause of error at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:153) at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:106) at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:167) at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80) at org.neo4j.gis.spatial.Neo4jTestCase.reActivateDatabase(Neo4jTestCase.java:123) at org.neo4j.gis.spatial.Neo4jTestCase.setUp(Neo4jTestCase.java:88) at org.neo4j.gis.spatial.TestSpatial.setUp(TestSpatial.java:255) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Nolan, I am running GIT fresh tests without problems. Are you having some old Java process running? Seems Neo4j refuses to start because it can't lock the files ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sat, Feb 26, 2011 at 8:26 PM, Nolan Darilek no...@thewordnerd.info wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wondering if something didn't get committed somewhere? I tried both with an update as well as with a fresh checkout and am getting a ton of test errors, not failures. Here's a sample Surefire output. This was gotten from a fresh checkout running mvn install: - --- Test set: org.neo4j.gis.spatial.TestSpatial - --- Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 1.558 sec FAILURE! Test Import of billesholm.osm(org.neo4j.gis.spatial.TestSpatial$1) Time elapsed: 1.513 sec ERROR! java.lang.AbstractMethodError at org.neo4j.kernel.KernelExtension$KernelData.loadAll(KernelExtension.java:178) at org.neo4j.kernel.EmbeddedGraphDbImpl$2.load(EmbeddedGraphDbImpl.java:164) at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:169) at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80) at org.neo4j.gis.spatial.Neo4jTestCase.reActivateDatabase(Neo4jTestCase.java:123) at org.neo4j.gis.spatial.Neo4jTestCase.setUp(Neo4jTestCase.java:88) at org.neo4j.gis.spatial.TestSpatial.setUp(TestSpatial.java:255) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on billesholm.osm(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 0.003 sec ERROR! org.neo4j.graphdb.TransactionFailureException: Could not create data source [nioneodb], see nested exception for cause of error at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:153) at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:106) at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:167) at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80) at org.neo4j.gis.spatial.Neo4jTestCase.reActivateDatabase(Neo4jTestCase.java:123) at org.neo4j.gis.spatial.Neo4jTestCase.setUp(Neo4jTestCase.java:88) at org.neo4j.gis.spatial.TestSpatial.setUp(TestSpatial.java:255) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. On Sat, Feb 26, 2011 at 9:30 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Nolan, I am running GIT fresh tests without problems. Are you having some old Java process running? Seems Neo4j refuses to start because it can't lock the files ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/- Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sat, Feb 26, 2011 at 8:26 PM, Nolan Darilek no...@thewordnerd.info wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wondering if something didn't get committed somewhere? I tried both with an update as well as with a fresh checkout and am getting a ton of test errors, not failures. Here's a sample Surefire output. This was gotten from a fresh checkout running mvn install: - --- Test set: org.neo4j.gis.spatial.TestSpatial - --- Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 1.558 sec FAILURE! Test Import of billesholm.osm(org.neo4j.gis.spatial.TestSpatial$1) Time elapsed: 1.513 sec ERROR! java.lang.AbstractMethodError at org.neo4j.kernel.KernelExtension$KernelData.loadAll(KernelExtension.java:178) at org.neo4j.kernel.EmbeddedGraphDbImpl$2.load(EmbeddedGraphDbImpl.java:164) at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:169) at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80) at org.neo4j.gis.spatial.Neo4jTestCase.reActivateDatabase(Neo4jTestCase.java:123) at org.neo4j.gis.spatial.Neo4jTestCase.setUp(Neo4jTestCase.java:88) at org.neo4j.gis.spatial.TestSpatial.setUp(TestSpatial.java:255) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Test Spatial Index on billesholm.osm(org.neo4j.gis.spatial.TestSpatial$2) Time elapsed: 0.003 sec ERROR! org.neo4j.graphdb.TransactionFailureException: Could not create data source [nioneodb], see nested exception for cause of error at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:153) at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:106) at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:167) at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80) at org.neo4j.gis.spatial.Neo4jTestCase.reActivateDatabase(Neo4jTestCase.java:123) at
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4jnolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m[Kjava[m[K -XX:+HeapDumpOnOutOfMemoryError - -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan13153 0.0 0.0 7624 896 pts/4S+ 18:55 0:00 grep - --color=auto [97;45m[Kjava[m[K ]0;nolan@nolan-desktop: ~/src/neo4jnolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done.[K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4jnolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatialnolan@nolan-desktop:~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO]task-segment: [install] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [enforcer:enforce {execution: enforce-maven}] [INFO] [license:check {execution: check-licenses}] [INFO] Checking licenses... [INFO] [dependency:unpack-dependencies {execution: get-test-data}] [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/shp-test-data/20100819/shp-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 15 resources [INFO] Copying 0 resource to META-INF [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 70 source files to /home/nolan/src/neo4j/neo4j-spatial/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/nolan/src/neo4j/neo4j-spatial/src/test/resources [INFO] Copying 0 resource to META-INF [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 11 source files to /home/nolan/src/neo4j/neo4j-spatial/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /home/nolan/src/neo4j/neo4j-spatial/target/surefire-reports - --- T E S T S - --- Running org.neo4j.gis.spatial.TestSpatialUtils Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.929 sec FAILURE! Running org.neo4j.gis.spatial.TestDynamicLayers Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.172 sec FAILURE! Running org.neo4j.gis.spatial.TestOSMImport Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 8.699 sec FAILURE! Running org.neo4j.gis.spatial.IndexProviderTest Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 2.738 sec FAILURE! Running org.neo4j.gis.spatial.TestSearch Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.729 sec FAILURE! Running org.neo4j.gis.spatial.LayersTest Tests
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz, and tell us the outcome? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan 12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError - -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan 13153 0.0 0.0 7624 896 pts/4 S+ 18:55 0:00 grep - --color=auto [97;45m [Kjava [m [K ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done. [K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatial nolan@nolan-desktop:~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO] task-segment: [install] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [enforcer:enforce {execution: enforce-maven}] [INFO] [license:check {execution: check-licenses}] [INFO] Checking licenses... [INFO] [dependency:unpack-dependencies {execution: get-test-data}] [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/shp-test-data/20100819/shp-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 15 resources [INFO] Copying 0 resource to META-INF [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 70 source files to /home/nolan/src/neo4j/neo4j-spatial/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/nolan/src/neo4j/neo4j-spatial/src/test/resources [INFO] Copying 0 resource to META-INF [INFO] [compiler:testCompile
Re: [Neo4j] Can anyone compile the latest Neo4J Spatial?
Mmmh, the index provider kernel extension subsystem has been changed between 1.3.M01 and M02. I suspect an incompatible kernel version being resolved by maven. let me try to run this tomorrow from home with moving away my current maven repo and get everything fresh. (Sitting on a 3G conenction right now). Hopefully I can tell you tonight, otherwise tomorrow how that works, ok? Also, you could try to move away your ~/.m2/repository for one build and try getting all artifacts fresh from the netz? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Feb 27, 2011 at 2:03 AM, Nolan Darilek no...@thewordnerd.info wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/26/2011 05:56 PM, Craig Taverner wrote: It is working for me too. One thing that is interesting about the error message is that it says it looks like another instance is running in the *same JVM*. Is that the usual error message? (complete text was this is usually caused by another Neo4j kernel already running in this JVM for this particular store). The error is occurring at the very start of the very first test case in the TestSpatial class, so cannot be due to another test in that class. Still, I would take Peters advice, check no other java test processes are running, manually delete the database to be sure, and then try again. I don't mean to be difficult, but I *literally* did: git clone ... neo4j-spatial cd neo4j-spatial mvn install If I can get more pristine than that then do let me know, but I can't see how. The one process you'll see open in this transcript is a web app. It has nothing to do with Neo4J in anything other than it hosts its jars in its dependencies. The database is not even used at this time and, indeed, the exact same behavior happens if it isn't running. My next question, does someone have a development dependency hanging around in their local m2 repository that I don't? When you've verified that you can build a clean tree, you've first backed up ~/.m2 and removed it? In any case: desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ ps auxw |grep java nolan 12111 1.4 2.8 1423840 109504 pts/1 Sl+ 16:07 2:22 [97;45m [Kjava [m [K -XX:+HeapDumpOnOutOfMemoryError - -XX:+CMSClassUnloadingEnabled -Dsbt.log.noformat=true -jar /home/nolan/bin/sbt-launcher.jar jetty nolan 13153 0.0 0.0 7624 896 pts/4 S+ 18:55 0:00 grep - --color=auto [97;45m [Kjava [m [K ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ git clone git://github.com/neo4j/neo4j-spatial Initialized empty Git repository in /home/nolan/src/neo4j/neo4j-spatial/.git/ remote: Counting objects: 3065, done. [K ... Resolving deltas: 100% (1247/1247), done. ]0;nolan@nolan-desktop: ~/src/neo4j nolan@nolan-desktop:~/src/neo4j$ cd neo4j-spatial ]0;nolan@nolan-desktop: ~/src/neo4j/neo4j-spatial nolan@nolan-desktop:~/src/neo4j/neo4j-spatial$ mvn install [INFO] Scanning for projects... [INFO] - [INFO] Building Neo4j Spatial Components [INFO] task-segment: [install] [INFO] - [WARNING] POM for 'org.rrd4j:rrd4j:pom:2.0.6:provided' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [enforcer:enforce {execution: enforce-maven}] [INFO] [license:check {execution: check-licenses}] [INFO] Checking licenses... [INFO] [dependency:unpack-dependencies {execution: get-test-data}] [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] Unpacking /home/nolan/.m2/repository/org/neo4j/spatial/shp-test-data/20100819/shp-test-data-20100819.jar to /home/nolan/src/neo4j/neo4j-spatial/target with includes null and excludes:null [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 15 resources [INFO] Copying 0 resource to META-INF [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 70 source files to /home/nolan/src/neo4j/neo4j-spatial/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/nolan/src/neo4j/neo4j-spatial/src/test/resources [INFO] Copying 0 resource to META-INF [INFO] [compiler:testCompile {execution: