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.version>1.3.M02</neo4j.version> would be the thing to try. Oh, and 
>> changing neo4j-server dependency to match <version>1.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
>>>>> 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: 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 run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 10.092
>>>>> sec <<< FAILURE!
>>>>> Running org.neo4j.gis.spatial.TestSpatial
>>>>> This suite has 10 tests
>>>>>      Test Import of billesholm.osm(org.neo4j.gis.spatial.TestSpatial$1)
>>>>>      Test Spatial Index on 
>>>>> billesholm.osm(org.neo4j.gis.spatial.TestSpatial$2)
>>>>>      Test Import of
>>>>> sweden.osm.administrative(org.neo4j.gis.spatial.TestSpatial$1)
>>>>>      Test Spatial Index on
>>>>> sweden.osm.administrative(org.neo4j.gis.spatial.TestSpatial$2)
>>>>>      Test Import of 
>>>>> sweden_administrative(org.neo4j.gis.spatial.TestSpatial$1)
>>>>>      Test Spatial Index on
>>>>> sweden_administrative(org.neo4j.gis.spatial.TestSpatial$2)
>>>>>      Test Import of sweden_natural(org.neo4j.gis.spatial.TestSpatial$1)
>>>>>      Test Spatial Index on 
>>>>> sweden_natural(org.neo4j.gis.spatial.TestSpatial$2)
>>>>>      Test Import of sweden_water(org.neo4j.gis.spatial.TestSpatial$1)
>>>>>      Test Spatial Index on 
>>>>> sweden_water(org.neo4j.gis.spatial.TestSpatial$2)
>>>>> Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 1.425
>>>>> sec <<< FAILURE!
>>>>> Running org.neo4j.gis.spatial.ServerPluginTest
>>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.21 sec
>>>>> <<< FAILURE!
>>>>> 
>>>>> Results :
>>>>> 
>>>>> Tests in error:
>>>>> testSnapping(org.neo4j.gis.spatial.TestSpatialUtils)
>>>>> testShapefileExport_Map1(org.neo4j.gis.spatial.TestDynamicLayers)
>>>>> testShapefileExport_Map2(org.neo4j.gis.spatial.TestDynamicLayers)
>>>>> testImport_One(org.neo4j.gis.spatial.TestOSMImport)
>>>>> testImport_Two(org.neo4j.gis.spatial.TestOSMImport)
>>>>> testImport_Map1(org.neo4j.gis.spatial.TestOSMImport)
>>>>> testImport_Map2(org.neo4j.gis.spatial.TestOSMImport)
>>>>> testImport_Cyprus(org.neo4j.gis.spatial.TestOSMImport)
>>>>> testImport_Croatia(org.neo4j.gis.spatial.TestOSMImport)
>>>>> testNodeIndex(org.neo4j.gis.spatial.IndexProviderTest)
>>>>> testWithinDistanceIndex(org.neo4j.gis.spatial.IndexProviderTest)
>>>>> testOne(org.neo4j.gis.spatial.TestSearch)
>>>>> testTwo(org.neo4j.gis.spatial.TestSearch)
>>>>> testBasicLayerOperations(org.neo4j.gis.spatial.LayersTest)
>>>>> testNeoTextLayer(org.neo4j.gis.spatial.LayersTest)
>>>>> testPointLayer(org.neo4j.gis.spatial.LayersTest)
>>>>> testEditableLayer(org.neo4j.gis.spatial.LayersTest)
>>>>> testSnapToLine(org.neo4j.gis.spatial.LayersTest)
>>>>> testEditableLayers(org.neo4j.gis.spatial.LayersTest)
>>>>> testShapefileExport(org.neo4j.gis.spatial.LayersTest)
>>>>> Test Import of billesholm.osm(org.neo4j.gis.spatial.TestSpatial$1)
>>>>> Test Spatial Index on billesholm.osm(org.neo4j.gis.spatial.TestSpatial$2)
>>>>> Test Import of
>>>>> sweden.osm.administrative(org.neo4j.gis.spatial.TestSpatial$1)
>>>>> Test Spatial Index on
>>>>> sweden.osm.administrative(org.neo4j.gis.spatial.TestSpatial$2)
>>>>> Test Import of sweden_administrative(org.neo4j.gis.spatial.TestSpatial$1)
>>>>> Test Spatial Index on
>>>>> sweden_administrative(org.neo4j.gis.spatial.TestSpatial$2)
>>>>> Test Import of sweden_natural(org.neo4j.gis.spatial.TestSpatial$1)
>>>>> Test Spatial Index on sweden_natural(org.neo4j.gis.spatial.TestSpatial$2)
>>>>> Test Import of sweden_water(org.neo4j.gis.spatial.TestSpatial$1)
>>>>> Test Spatial Index on sweden_water(org.neo4j.gis.spatial.TestSpatial$2)
>>>>> testCreateLayer(org.neo4j.gis.spatial.ServerPluginTest)
>>>>> testAddPointToLayerWithDefaults(org.neo4j.gis.spatial.ServerPluginTest)
>>>>> 
>>>>> Tests run: 33, Failures: 0, Errors: 32, Skipped: 1
>>>>> 
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] There are test failures.
>>>>> 
>>>>> Please refer to
>>>>> /home/nolan/src/neo4j/neo4j-spatial/target/surefire-reports for the
>>>>> individual test results.
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 56 seconds
>>>>> [INFO] Finished at: Sat Feb 26 18:57:09 CST 2011
>>>>> [INFO] Final Memory: 103M/398M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>>> 
>>>>>> _______________________________________________
>>>>>> Neo4j mailing list
>>>>>> User@lists.neo4j.org
>>>>>> https://lists.neo4j.org/mailman/listinfo/user
>> 
>>>>> _______________________________________________
>>>>> Neo4j mailing list
>>>>> User@lists.neo4j.org
>>>>> https://lists.neo4j.org/mailman/listinfo/user
>> 
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
> 
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk1qkAAACgkQIaMjFWMehWKW9QCffCFfuxFFSWlKo+YztrXjSCCM
> IVEAn1yiNrRpMDBjPWQySbID2Wp2FuXp
> =fqmb
> -----END PGP SIGNATURE-----
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to