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
> 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)
> > Caused by: java.lang.reflect.InvocationTargetException
> >        at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown
> Source)
> >        at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> >        at
> >
> org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager.java:73)
> >        at
> >
> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:147)
> >        ... 24 more
> > Caused by: java.lang.IllegalStateException: Unable to lock store
> > [/home/nolan/src/neo4j/neo4j-spatial/target/var/neo4j-db/neostore], this
> > is usually caused by another Neo4j kernel already running in this JVM
> > for this particular store
> >        at
> >
> org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.checkStorage(CommonAbstractStore.java:265)
> >        at
> >
> org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(CommonAbstractStore.java:162)
> >        at
> >
> org.neo4j.kernel.impl.nioneo.store.AbstractStore.<init>(AbstractStore.java:119)
> >        at
> org.neo4j.kernel.impl.nioneo.store.NeoStore.<init>(NeoStore.java:63)
> >        at
> >
> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.<init>(NeoStoreXaDataSource.java:133)
> >        ... 29 more
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAk1pU/EACgkQIaMjFWMehWLfZgCfVcTD83kD1B3J2RRIX19OTYHx
> > L9wAn3S0XoqniaAgQWCt6jar5gbMpPvq
> > =Rupp
> > -----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
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to