Neo4j Spatial regression tests - XaDataSourceManager has been shut down

64 views
Skip to first unread message

Craig Taverner

unread,
Jan 11, 2014, 4:33:14 PM1/11/14
to ne...@googlegroups.com
Hi,

Has anyone else seen this. Latest code for neo4j/spatial regression tests are generating warnings many times over during the runs. All are the same exception, and all preceded by the 'Logger log' line. My environment is ubuntu 12.04 with oracle java 7. The full exception is below.

Jan 10, 2014 5:26:40 PM org.neo4j.server.logging.Logger log
WARNING: 
java.lang.IllegalStateException: XaDataSourceManager has been shut down.
at org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaDataSource(XaDataSourceManager.java:211)
at org.neo4j.kernel.impl.transaction.XaDataSourceManager.getNeoStoreDataSource(XaDataSourceManager.java:225)
at org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource.getNumberOfIdsInUse(NioNeoDbPersistenceSource.java:79)
at org.neo4j.kernel.impl.core.NodeManager.getNumberOfIdsInUse(NodeManager.java:675)
at org.neo4j.server.rrd.sampler.NodeIdsInUseSampleable.getValue(NodeIdsInUseSampleable.java:40)
at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:59)
at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

Regards, Craig

Keith Strini

unread,
Jan 15, 2014, 4:07:23 PM1/15/14
to ne...@googlegroups.com
Craig,

I am seeing the same thing. I tried with a clean install of Neo4J 2.0.0  Windows Binary + git clone Neo4J Spatial and the regression test errors prevent me from completing the build of the Neo4J Spatial libraries.

Keith

Keith Strini

unread,
Jan 15, 2014, 4:12:12 PM1/15/14
to ne...@googlegroups.com
Here are the surefire reports that show what other errors accompany it.


On Saturday, January 11, 2014 1:33:14 PM UTC-8, Craig Taverner wrote:
org.neo4j.gis.spatial.TestOSMImport.txt
org.neo4j.gis.spatial.TestsForDocs.txt
org.neo4j.gis.spatial.TestSimplePointLayer.txt
org.neo4j.gis.spatial.TestSpatial.txt
org.neo4j.gis.spatial.TestSpatialQueries.txt
org.neo4j.gis.spatial.TestSpatialUtils.txt

Michael Hunger

unread,
Jan 15, 2014, 7:57:45 PM1/15/14
to ne...@googlegroups.com
I think this will be fixed in the next minor release (2.0.1) the commit is already in master.

Michael

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<org.neo4j.gis.spatial.TestOSMImport.txt><org.neo4j.gis.spatial.TestsForDocs.txt><org.neo4j.gis.spatial.TestSimplePointLayer.txt><org.neo4j.gis.spatial.TestSpatial.txt><org.neo4j.gis.spatial.TestSpatialQueries.txt><org.neo4j.gis.spatial.TestSpatialUtils.txt>

Keith Strini

unread,
Jan 15, 2014, 10:01:51 PM1/15/14
to ne...@googlegroups.com
Where is the XADataSourceManager being set? From a properties file?


--
You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/8REyxj7Ru20/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.

Michael Hunger

unread,
Jan 16, 2014, 12:30:05 AM1/16/14
to ne...@googlegroups.com
No internal class

Sent from mobile device

Keith Strini

unread,
Jan 16, 2014, 12:51:22 AM1/16/14
to ne...@googlegroups.com

Hmm. Yeah I can't get spatial to build. Neo4J 2.0.0 windows binary runs fine in my environment but during the Neo4JSpatial build in the surefire reports I see: 

TestOSMImport
<<< ERROR! 
org.neo4j.gis.spatial.SpatialDatabaseException: java.io.IOException: Cannot overwrite: C:\Java\Neo4j\spatial\target\var\neo4j-db\1\index\lucene\node\node\_0.fdt

TestForDocs
<<< ERROR!
java.lang.RuntimeException: java.io.IOException: Cannot overwrite: C:\Java\Neo4j\spatial\target\var\neo4j-db\1\index\lucene\node\node\_4.fdt

TestSimplePointLayer
<<< ERROR!
java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, c:\Java\Neo4j\spatial\target\var\neo4j-db\1

TestSpatial
 <<< ERROR!
java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, c:\Java\Neo4j\spatial\target\var\neo4j-db\1

TestSpatialQueries
<<< ERROR!
java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, c:\Java\Neo4j\spatial\target\var\neo4j-db\1

TestSpatialUtil
<<< ERROR!
java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, c:\Java\Neo4j\spatial\target\var\neo4j-db\1

Michael Hunger

unread,
Jan 16, 2014, 1:14:27 AM1/16/14
to ne...@googlegroups.com
Looks like a permission problem

Can you try mvn clean install


Sent from mobile device

Keith Strini

unread,
Jan 16, 2014, 1:34:26 AM1/16/14
to ne...@googlegroups.com
Same results. My steps are very straight forward.... 


mvn clean install

It builds all of it but once it runs the insert osm data test, and the rest of the suite I get those errors. I run the command prompt as administrator so there shouldn't be any issues. I am not sure why it can't overwrite the db. This is on a fresh git clone each time.
Reply all
Reply to author
Forward
0 new messages