[Neo4j] EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Adam Lehenbauer
I think I have the Getting Started example working, but after it creates the nodes and shuts down, my JVM won't exit because there is a non-daemon Timer thread running. I have an example class with a main() that is copied near-verbatim from http://wiki.neo4j.org/content/Getting_Started_Guide

Re: [Neo4j] EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Chris Gioran
On Wed, Oct 13, 2010 at 4:11 PM, Adam Lehenbauer a...@fixflyer.com wrote: I think I have the Getting Started example working, but after it creates the nodes and shuts down, my JVM won't exit because there is a non-daemon Timer thread running. I have an example class with a main() that is

Re: [Neo4j] EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Mattias Persson
This is an identified problem and it will be fixed soon, available in the next milestone as well as snapshot builds. Until then System.exit( 0 ) is your friend. 2010/10/13 Adam Lehenbauer a...@fixflyer.com I think I have the Getting Started example working, but after it creates the nodes and

Re: [Neo4j] EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Adam Lehenbauer
I added: MapString, String map = new HashMapString, String(); map.put(cache_type, soft); and gave the map to the EmbeddedGraphDatabase constructor; no change in behavior. I'm running: Java HotSpot, 1.6.0_18 64 bit Ubuntu 10.04 (lucid) I've got 4 AMD Phenom cores. On Wed, Oct 13, 2010 at

Re: [Neo4j] [SPAM] Re: EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Rick Bullotta
Probably the recently added phone home functionality (UDC). Just a guess, though. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Adam Lehenbauer Sent: Wednesday, October 13, 2010 9:49 AM To: Neo4j user discussions Subject: [SPAM]

Re: [Neo4j] [SPAM] Re: EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Chris Gioran
On Wed, Oct 13, 2010 at 5:34 PM, Rick Bullotta rick.bullo...@burningskysoftware.com wrote: Probably the recently added phone home functionality (UDC).  Just a guess, though. in that case removing the dependency as per http://wiki.neo4j.org/content/UDC should make it work. My setup is the same

Re: [Neo4j] [SPAM] Re: [SPAM] Re: EmbeddedGraphDatabase shutdown leaves a Timer thread running

2010-10-13 Thread Rick Bullotta
Lucky guess. ;-) -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Adam Lehenbauer Sent: Wednesday, October 13, 2010 10:44 AM To: Neo4j user discussions Subject: [SPAM] Re: [Neo4j] [SPAM] Re: EmbeddedGraphDatabase shutdown leaves a