Re: [Neo4j] Out of memory with Neo4j Spatial
Nolan, will try to set it up and report back. We are thinking of moving away from the batchinserter, as new performance improvements in Neo4j might render the batchinserter unnecessary, and the speedup is not that great. It is mostly Lucene being the bottleneck and configuration around that, which could even be the case here. Mattias, could there be an OOME when loading much stuff into the LuceneBatchInserter? 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 Fri, May 13, 2011 at 8:25 AM, Nolan Darilek wrote: > I'm importing the dataset for Texas. My version is a few weeks old, but > you can find the newest here: > > > http://downloads.cloudmade.com/americas/northern_america/united_states/texas/texas.osm.bz2 > > My import code, more or less, let me know if you need more > implementation details: > > class Neo4jImport(filename:String, layer:String = "map") extends Import { > > val importer = new OSMImporter(layer) > > private var processed = 0 > > def processedEntities = processed > > private def ds = dataset.asInstanceOf[Neo4JDataSet] > private def database = ds.database > > class MyBatchInserter extends BatchInserterImpl(database.getStoreDir) { > > override def createNode(properties:JMap[String, Object]) = { > processed += 1 > super.createNode(properties) > } > > override def createNode(id:Long, properties:JMap[String, Object]){ > super.createNode(id, properties) > processed += 1 > } > > override def createRelationship(n1:Long, n2:Long, > rt:RelationshipType, properties:JMap[String, Object]) = { > processed += 1 > super.createRelationship(n1, n2, rt, properties) > } > > } > > def performImport() { > database.shutdown() > val batchInserter = new MyBatchInserter > importer.importFile(batchInserter, filename) > batchInserter.shutdown() > ds.init(true) > importer.reIndex(database, 1000) > } > > } > > Console output: > > Fri May 13 10:22:20 CDT 2011: Saving node 6525309 > (13713.904715468341 node/second) > Fri May 13 10:22:21 CDT 2011: Saving node 6539916 > (13703.333682556313 node/second) > java.lang.OutOfMemoryError: Java heap space > Dumping heap to java_pid13506.hprof ... > Heap dump file created [1426787760 bytes in 30.001 secs] > scala.actors.Actor$$anon$1@764e2837: caught > java.lang.IllegalStateException: this writer hit an OutOfMemoryError; > cannot flush > java.lang.IllegalStateException: this writer hit an OutOfMemoryError; > cannot flush > at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3307) > at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3296) > at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2376) > at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2352) > at > > org.neo4j.index.impl.lucene.LuceneBatchInserterIndex.closeWriter(LuceneBatchInserterIndex.java:279) > > at > > org.neo4j.index.impl.lucene.LuceneBatchInserterIndex.shutdown(LuceneBatchInserterIndex.java:354) > > at > > org.neo4j.index.impl.lucene.LuceneBatchInserterIndexProvider.shutdown(LuceneBatchInserterIndexProvider.java:145) > > at > > org.neo4j.gis.spatial.osm.OSMImporter$OSMBatchWriter.finish(OSMImporter.java:1144) > > at > org.neo4j.gis.spatial.osm.OSMImporter.importFile(OSMImporter.java:1320) > at > org.neo4j.gis.spatial.osm.OSMImporter.importFile(OSMImporter.java:1219) > at > org.neo4j.gis.spatial.osm.OSMImporter.importFile(OSMImporter.java:1215) > at > > info.hermesnav.core.model.data.impl.neo4j.Neo4jImport.performImport(neo4j.scala:54) > > at > > info.hermesnav.core.model.data.Import$$anonfun$start$1.apply$mcV$sp(data.scala:25) > > at scala.actors.Actor$$anon$1.act(Actor.scala:135) > at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222) > at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222) > at scala.actors.ReactorTask.run(ReactorTask.scala:36) > at > > scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoinPool.java:611) > > at > scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422) > at > > scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340) > > at > > scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325) > > > > On 05/13/2011 09:34 AM, Peter Neubauer wrote: > > Nolan, > > do you have the importing code and what dataset are you importing? Also, > do > > you have any console output? It could be very big transactions or other > > database settings not adjusted to the size of your import ..
Re: [Neo4j] Neo4j and Java 1.5
Julien, I think there are some parts in the server that require Java 1.6 liek the javax.scripting , but I am not sure about the kernel. I suspect some of the service loader extensions being Java 1.6. Anyone else having that info? 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 Fri, May 13, 2011 at 10:40 AM, Julien Serdaru wrote: > Hi all, > > > > I am considering using Neo4j embedded into a web application. We have to > support Java 1.5 since we deploy on client J2EE application servers which > still run on 1.5. > > Looking at the documentation, it seems that Java 1.6 is a prerequisite. > > > > http://docs.neo4j.org/chunked/stable/deployment-requirements.html > > > > Are there any plans to maintain 1.5 compatibility? > > > > Thanks, > > > > ___ > 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
Re: [Neo4j] [ANN] Neo4j 1.4.M02 "Kiruna Stol" - Chugging Along
On Fri, May 13, 2011 at 17:03, Andreas Kollegger wrote: > Additions to the REST API: > The REST API so far has been left wanting regarding the available index > operations. This milestone exposes all the Neo4j specific index operations > users of the embedded version enjoy, enabling deletion of indexes, complete > Lucene queries and setting of default keys for indexing operations. GET /index/node/my_nodes?query=the_key:the_* AND the_other_key:[1 TO 100] This is really awesome. I will write the support for this into Neo4j Python REST Client as soon as possible. Thank you for listen our requests. Congratulations for the great job. > > Append-only logical log > Then there’s the new default implementation for how things are written to the > logical logs. Instead of a memory mapped file there’s the append-only file > backed by a buffer. This will reduce the bottleneck that is the logical log, > mostly apparent in small transactions. We’ve measured a throughput > improvement of up to 20 times. Whereas this is an improvement which will > benefit any setup it will make its most exquisite appearance in the server > and when working with the REST API. > > We would love to hear about your experiences with the new milestone. Since > performance improvements are difficult to quantify given the multitude of use > cases, your feedback will be even more useful than usual. > > Read more in the official blog announcement via DZone, and vote us up if you > like it: http://www.dzone.com/links/neo4j_14m02_enhanced_indexability.html > > Cheers, > Andreas > > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Javier de la Rosa http://versae.es ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] [ANN] Neo4j 1.4.M02 "Kiruna Stol" - Chugging Along
Hi peeps, Another two weeks have flown by since the first milestone of “Kiruna Stol”, so it’s time for a new milestone release. 1.4.M02 brings mostly performance improvements, in the form of dependency updates and internal changes, but also new indexing operations via the REST API. NOTICE: This version introduces a non backwards compatible upgrade in the format of the index store. Always backup your data and do not try out on production settings before testing. Lucene upgrade: The most prominent change is probably the upgrade of Lucene to version 3.1, allowing for significant speedups prominently in lookups, with index writes seeing some measurable benefit as well. Depending on your use case, you will notice up to twice as fast queries, reducing what was a prominent bottleneck. Note, again, that Lucene 3.1 introduces a store format that is backwards *incompatible* with 3.0.1, meaning that after you upgrade to M02 you will not be able to get your index data back with previous Neo4j versions. Additions to the REST API: The REST API so far has been left wanting regarding the available index operations. This milestone exposes all the Neo4j specific index operations users of the embedded version enjoy, enabling deletion of indexes, complete Lucene queries and setting of default keys for indexing operations. Append-only logical log Then there’s the new default implementation for how things are written to the logical logs. Instead of a memory mapped file there’s the append-only file backed by a buffer. This will reduce the bottleneck that is the logical log, mostly apparent in small transactions. We’ve measured a throughput improvement of up to 20 times. Whereas this is an improvement which will benefit any setup it will make its most exquisite appearance in the server and when working with the REST API. We would love to hear about your experiences with the new milestone. Since performance improvements are difficult to quantify given the multitude of use cases, your feedback will be even more useful than usual. Read more in the official blog announcement via DZone, and vote us up if you like it: http://www.dzone.com/links/neo4j_14m02_enhanced_indexability.html Cheers, Andreas ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Neo4j and Java 1.5
Hi all, I am considering using Neo4j embedded into a web application. We have to support Java 1.5 since we deploy on client J2EE application servers which still run on 1.5. Looking at the documentation, it seems that Java 1.6 is a prerequisite. http://docs.neo4j.org/chunked/stable/deployment-requirements.html Are there any plans to maintain 1.5 compatibility? Thanks, ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Out of memory with Neo4j Spatial
I'm importing the dataset for Texas. My version is a few weeks old, but you can find the newest here: http://downloads.cloudmade.com/americas/northern_america/united_states/texas/texas.osm.bz2 My import code, more or less, let me know if you need more implementation details: class Neo4jImport(filename:String, layer:String = "map") extends Import { val importer = new OSMImporter(layer) private var processed = 0 def processedEntities = processed private def ds = dataset.asInstanceOf[Neo4JDataSet] private def database = ds.database class MyBatchInserter extends BatchInserterImpl(database.getStoreDir) { override def createNode(properties:JMap[String, Object]) = { processed += 1 super.createNode(properties) } override def createNode(id:Long, properties:JMap[String, Object]){ super.createNode(id, properties) processed += 1 } override def createRelationship(n1:Long, n2:Long, rt:RelationshipType, properties:JMap[String, Object]) = { processed += 1 super.createRelationship(n1, n2, rt, properties) } } def performImport() { database.shutdown() val batchInserter = new MyBatchInserter importer.importFile(batchInserter, filename) batchInserter.shutdown() ds.init(true) importer.reIndex(database, 1000) } } Console output: Fri May 13 10:22:20 CDT 2011: Saving node 6525309 (13713.904715468341 node/second) Fri May 13 10:22:21 CDT 2011: Saving node 6539916 (13703.333682556313 node/second) java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid13506.hprof ... Heap dump file created [1426787760 bytes in 30.001 secs] scala.actors.Actor$$anon$1@764e2837: caught java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3307) at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3296) at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2376) at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2352) at org.neo4j.index.impl.lucene.LuceneBatchInserterIndex.closeWriter(LuceneBatchInserterIndex.java:279) at org.neo4j.index.impl.lucene.LuceneBatchInserterIndex.shutdown(LuceneBatchInserterIndex.java:354) at org.neo4j.index.impl.lucene.LuceneBatchInserterIndexProvider.shutdown(LuceneBatchInserterIndexProvider.java:145) at org.neo4j.gis.spatial.osm.OSMImporter$OSMBatchWriter.finish(OSMImporter.java:1144) at org.neo4j.gis.spatial.osm.OSMImporter.importFile(OSMImporter.java:1320) at org.neo4j.gis.spatial.osm.OSMImporter.importFile(OSMImporter.java:1219) at org.neo4j.gis.spatial.osm.OSMImporter.importFile(OSMImporter.java:1215) at info.hermesnav.core.model.data.impl.neo4j.Neo4jImport.performImport(neo4j.scala:54) at info.hermesnav.core.model.data.Import$$anonfun$start$1.apply$mcV$sp(data.scala:25) at scala.actors.Actor$$anon$1.act(Actor.scala:135) at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222) at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222) at scala.actors.ReactorTask.run(ReactorTask.scala:36) at scala.concurrent.forkjoin.ForkJoinPool$AdaptedRunnable.exec(ForkJoinPool.java:611) at scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422) at scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325) On 05/13/2011 09:34 AM, Peter Neubauer wrote: > Nolan, > do you have the importing code and what dataset are you importing? Also, do > you have any console output? It could be very big transactions or other > database settings not adjusted to the size of your import ... > > 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 Fri, May 13, 2011 at 4:13 AM, Nolan Darilekwrote: > >> Picking up my slow port to Neo4j Spatial again, and am hitting an >> out-of-memory error when trying to import large datasets. Given that >> this code works fine if I use a different database and swap out the >> implementations, I suspect Neo4j as the issue. This is Neo4j >> 1.4-SNAPSHOT and Spatial 0.6-SNAPSHOT. >> >> Not sure if this is enough to diagnose the issue, but I have a heap dump: >> >> http://dl.dropbox.com/u/147071/java_pid7405.hprof.bz2 >> >> It's currently uploading to Dropbox, so maybe gra
Re: [Neo4j] Out of memory with Neo4j Spatial
Nolan, do you have the importing code and what dataset are you importing? Also, do you have any console output? It could be very big transactions or other database settings not adjusted to the size of your import ... 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 Fri, May 13, 2011 at 4:13 AM, Nolan Darilek wrote: > Picking up my slow port to Neo4j Spatial again, and am hitting an > out-of-memory error when trying to import large datasets. Given that > this code works fine if I use a different database and swap out the > implementations, I suspect Neo4j as the issue. This is Neo4j > 1.4-SNAPSHOT and Spatial 0.6-SNAPSHOT. > > Not sure if this is enough to diagnose the issue, but I have a heap dump: > > http://dl.dropbox.com/u/147071/java_pid7405.hprof.bz2 > > It's currently uploading to Dropbox, so maybe grab it in an hour or two. > It's something like 185M compressed, 1.5G uncompressed. > > Thanks, please let me know if I might provide any more details. > The exact error was "this writer hit an OutOfMemoryError; cannot flush", > at org.apache.lucene.IndexWriter.doFlush():3307. Not sure how relevant > the stacktrace is, as my experience with OutOfMemoryErrors is that the > code just fails wherever. > ___ > 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
Re: [Neo4j] Modelling a fault tree
Jean-Pierre, this looks a lot like the deduction of resulting permissions in a nested Access Control List. There is a brief example on that at http://wiki.neo4j.org/content/ACL that might be in that direction? 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 Fri, May 13, 2011 at 2:20 AM, Jean-Pierre Bergamin wrote: > Dear neo4j users > > We are in the course of evaluating neo4j for our application. Our model is > quite similar to a fault tree ( > http://en.wikipedia.org/wiki/Fault_tree_analysis), where states ("ok" or > "not_ok") in leaf nodes get pushed up the tree. There are rules what state > the parent gets, depending on the states of its children: > * the parent is only ok, when all children are ok ("and" conjunction) > * the parent is ok, when any child is ok ("or" conjunction) > * the parent is ok, when at least 3 of the 5 children are ok > * etc. > > We are now looking for ways to model such a fault tree so that those rules > can be applied. > Since we just started with neo4j I'd like to ask if there is a "good known > practice" to model someting like this, before we start to head in a totally > wrong direction. > > > Best regards, > James > ___ > 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
Re: [Neo4j] Spring Data Graph in an OSGi environment
I just could resove some more issues. First of all I had to excplicitely add an Import-Package directive in the template.mf of our project for packages that are not recognized by bundlor (as the one for the missing Neo4jConfiguration): Import-Package: org.springframework.data.graph.neo4j.config;version="[1.1.0, 1.2.0)", org.springframework.data.repository.support;version="[1.0.0, 1.2.0)", org.springframework.transaction.aspectj;version="[3.0, 3.1)" I also had to put Import-Pacakge statements for cglib packages to the spring data neo4j bundle. The next problem I'm facing is that graph repositories cannot be injected, because they seem not to be created by SDG: [2011-05-13 16:06:29.786] region-dm-0 Application context creation failure for bundle 'com.example.neo4j.domain' version '0.0.1.BUILD-SNAPSHOT'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serviceRepositoryImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.example.neo4j.ServiceRepository com.example.neo4j.ServiceRepositoryImpl.serviceRepository; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.example.neo4j.ServiceRepository] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.example.neo4j.ServiceRepository com.example.neo4j.ServiceRepositoryImpl.serviceRepository; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.example.neo4j.ServiceRepository] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:502) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProc
[Neo4j] Error while creating EXE from JAR and Runnable JAR----RESOVLED
*PROBLEM:* Was creating an "exe" by exporting JAR and Runnable JARs thro eclipse.. Using Launch4j to do that. and having proper manifest files with the class path too.. But i get the following error when i try to run the created exe file. Caused by: java.Lang. ClassNotFoundException: org.neo4j.graphdb.GraphDatabaseService at java.net.URLClassLoader$1.run at java.security.AccessController.doPrivileged at java.net.URLClassLoader.findClass at java.Land.ClassLoader.loadClass at sun.misc.Launcher$AppClassLoader.loadClass at java.Lang.ClassLoader.loadClass Could not find the main class: is there a solution to this.?? i had actually created an exe earlier which was working perfectly fine.. Plz help! Thanks. *RESOVLED!! *Issue has been resolved.! Had to manually import from the archives, the following files. - org.graphdb.GraphDatabaseService and - javax.transaction.TransactionManager.Class as these weren't getting resolved automatically. And. Had to get rid of* lucene.IndexIdIdentifier* and I couldn't import that alone too! Had to even remove a few lines of code that were inherited from the class too! Could this error be rectified in any other way? Regards, Abhishek. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph in an OSGi environment
2011/5/13 Michael Hunger : > Forwarded it to the AJ project lead Andy Clement, he knows this OSGi + AJ > stuff certainly better than me :) Ok. Thank you so far for the help! Best regards, James ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph in an OSGi environment
Forwarded it to the AJ project lead Andy Clement, he knows this OSGi + AJ stuff certainly better than me :) Cheers Michael Am 13.05.2011 um 14:03 schrieb Jean-Pierre Bergamin: > SDG is using bundlor to generate the MANIFEST.MF file.I already fixed > the MANIFEST and the spring data neo4j bundle can now be resolved. > > But when the spring application context is loaded, the class > "org.springframework.data.graph.neo4j.config.Neo4jConfiguration" > cannot be found during bean postprocessing and aspectj magic (see > stacktrace below). > The class is available and exported. I checked that with clhas and > clexport on the Virgo console. Does maybe the kernel space of Virgo > has to to know the spring data neo4j bundle, because this aspectj > "enhancements" are performed there? > > > Best regards > James > > [2011-05-12 16:44:23.865] region-dm-14 > Application context creation failure for bundle > 'com.example.neo4j.domain' version '0.0.1.BUILD-SNAPSHOT'. > java.lang.IllegalStateException: Cannot load configuration class: > org.springframework.data.graph.neo4j.config.Neo4jConfiguration > at > org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:246) > at > org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:160) > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:479) > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:467) > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:395) > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:281) > at > org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247) > at > org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214) > at > org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169) > at > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) > at > org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716) > at > org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > > > > 2011/5/13 Nicolas Jouanin >> >> Well, at the minimum, it's only a question of adding some extra headers >> (Bundle-Symbolic, Export-Package; ...) in the package MANIFEST and this can >> be done automatically using the maven-bundle-plugin. >> You can have a look at Neo4j pom file or this second article : >> http://wiki.escapek.org/display/DEV/Create+OSGi+bundle+from+regular+jar+archive >> >> >> >> 2011/5/13 Michael Hunger >> >>> The issue is about Spring Data Graph not being correctly packaged as OSGi >>> bundle / compatible jar. >>> >>> And I have neither the knowledge nor the resources at the moment to fix >>> that. >>> >>> So if any one of you can help out with that, this would be most welcome. >>> >>> Thanks >>> >>> Michael >>> >>> Am 13.05.2011 um 11:42 schrieb Nicolas Jouanin: >>> Hi, I've written an article [1] showing how to run neo4j embedded database inside an OSGi container. Starting from that I think you can create a >>> bundle which uses this database to create the appropriate Spring data configuration. I suppose that spring-data-graph is packaged as a OSGi compatible jar, so using spring-dm too should do it. [1] >>> http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation 2011/5/13 Michael Hunger > I'm no expert in OSGi so I did just the minimal thing, adding bundlor > information to the maven build. This is obviously not successful enough. > > So I would be very happy I someone would pull spring data graph put in >>> the >
Re: [Neo4j] Spring Data Graph in an OSGi environment
SDG is using bundlor to generate the MANIFEST.MF file.I already fixed the MANIFEST and the spring data neo4j bundle can now be resolved. But when the spring application context is loaded, the class "org.springframework.data.graph.neo4j.config.Neo4jConfiguration" cannot be found during bean postprocessing and aspectj magic (see stacktrace below). The class is available and exported. I checked that with clhas and clexport on the Virgo console. Does maybe the kernel space of Virgo has to to know the spring data neo4j bundle, because this aspectj "enhancements" are performed there? Best regards James [2011-05-12 16:44:23.865] region-dm-14 Application context creation failure for bundle 'com.example.neo4j.domain' version '0.0.1.BUILD-SNAPSHOT'. java.lang.IllegalStateException: Cannot load configuration class: org.springframework.data.graph.neo4j.config.Neo4jConfiguration at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:246) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:160) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:479) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:467) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:395) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:281) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:214) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:169) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716) at org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2011/5/13 Nicolas Jouanin > > Well, at the minimum, it's only a question of adding some extra headers > (Bundle-Symbolic, Export-Package; ...) in the package MANIFEST and this can > be done automatically using the maven-bundle-plugin. > You can have a look at Neo4j pom file or this second article : > http://wiki.escapek.org/display/DEV/Create+OSGi+bundle+from+regular+jar+archive > > > > 2011/5/13 Michael Hunger > > > The issue is about Spring Data Graph not being correctly packaged as OSGi > > bundle / compatible jar. > > > > And I have neither the knowledge nor the resources at the moment to fix > > that. > > > > So if any one of you can help out with that, this would be most welcome. > > > > Thanks > > > > Michael > > > > Am 13.05.2011 um 11:42 schrieb Nicolas Jouanin: > > > > > Hi, > > > > > > I've written an article [1] showing how to run neo4j embedded database > > > inside an OSGi container. Starting from that I think you can create a > > bundle > > > which uses this database to create the appropriate Spring data > > > configuration. I suppose that spring-data-graph is packaged as a OSGi > > > compatible jar, so using spring-dm too should do it. > > > > > > > > > [1] > > http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation > > > > > > 2011/5/13 Michael Hunger > > > > > >> I'm no expert in OSGi so I did just the minimal thing, adding bundlor > > >> information to the maven build. This is obviously not successful enough. > > >> > > >> So I would be very happy I someone would pull spring data graph put in > > the > > >> correct OSGi information and send me a pull request. > > >> > > >> Cheers > > >> > > >> Michael > > >> > > >> Am 13.05.2011 um 11:26 schrieb Jean-Pierre Bergamin: > > >> > > >>> Dear neo4j community > > >>> > > >>> I'm so free to cross post a question to this list that I
[Neo4j] Out of memory with Neo4j Spatial
Picking up my slow port to Neo4j Spatial again, and am hitting an out-of-memory error when trying to import large datasets. Given that this code works fine if I use a different database and swap out the implementations, I suspect Neo4j as the issue. This is Neo4j 1.4-SNAPSHOT and Spatial 0.6-SNAPSHOT. Not sure if this is enough to diagnose the issue, but I have a heap dump: http://dl.dropbox.com/u/147071/java_pid7405.hprof.bz2 It's currently uploading to Dropbox, so maybe grab it in an hour or two. It's something like 185M compressed, 1.5G uncompressed. Thanks, please let me know if I might provide any more details. The exact error was "this writer hit an OutOfMemoryError; cannot flush", at org.apache.lucene.IndexWriter.doFlush():3307. Not sure how relevant the stacktrace is, as my experience with OutOfMemoryErrors is that the code just fails wherever. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph in an OSGi environment
Well, at the minimum, it's only a question of adding some extra headers (Bundle-Symbolic, Export-Package; ...) in the package MANIFEST and this can be done automatically using the maven-bundle-plugin. You can have a look at Neo4j pom file or this second article : http://wiki.escapek.org/display/DEV/Create+OSGi+bundle+from+regular+jar+archive 2011/5/13 Michael Hunger > The issue is about Spring Data Graph not being correctly packaged as OSGi > bundle / compatible jar. > > And I have neither the knowledge nor the resources at the moment to fix > that. > > So if any one of you can help out with that, this would be most welcome. > > Thanks > > Michael > > Am 13.05.2011 um 11:42 schrieb Nicolas Jouanin: > > > Hi, > > > > I've written an article [1] showing how to run neo4j embedded database > > inside an OSGi container. Starting from that I think you can create a > bundle > > which uses this database to create the appropriate Spring data > > configuration. I suppose that spring-data-graph is packaged as a OSGi > > compatible jar, so using spring-dm too should do it. > > > > > > [1] > http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation > > > > 2011/5/13 Michael Hunger > > > >> I'm no expert in OSGi so I did just the minimal thing, adding bundlor > >> information to the maven build. This is obviously not successful enough. > >> > >> So I would be very happy I someone would pull spring data graph put in > the > >> correct OSGi information and send me a pull request. > >> > >> Cheers > >> > >> Michael > >> > >> Am 13.05.2011 um 11:26 schrieb Jean-Pierre Bergamin: > >> > >>> Dear neo4j community > >>> > >>> I'm so free to cross post a question to this list that I already posted > >> in > >>> the spring forum ( > >>> > >> > http://forum.springsource.org/showthread.php?109267-Spring-Data-Graph-in-OSGi-environment > >> ), > >>> since most of the SDG experts probably are subscribed to this list. ;-) > >>> Could anyone get spring data graph successfully up and running in an > OSGi > >>> container? > >>> > >>> > >>> Best regards, > >>> James > >>> ___ > >>> 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
Re: [Neo4j] Spring Data Graph in an OSGi environment
The issue is about Spring Data Graph not being correctly packaged as OSGi bundle / compatible jar. And I have neither the knowledge nor the resources at the moment to fix that. So if any one of you can help out with that, this would be most welcome. Thanks Michael Am 13.05.2011 um 11:42 schrieb Nicolas Jouanin: > Hi, > > I've written an article [1] showing how to run neo4j embedded database > inside an OSGi container. Starting from that I think you can create a bundle > which uses this database to create the appropriate Spring data > configuration. I suppose that spring-data-graph is packaged as a OSGi > compatible jar, so using spring-dm too should do it. > > > [1] http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation > > 2011/5/13 Michael Hunger > >> I'm no expert in OSGi so I did just the minimal thing, adding bundlor >> information to the maven build. This is obviously not successful enough. >> >> So I would be very happy I someone would pull spring data graph put in the >> correct OSGi information and send me a pull request. >> >> Cheers >> >> Michael >> >> Am 13.05.2011 um 11:26 schrieb Jean-Pierre Bergamin: >> >>> Dear neo4j community >>> >>> I'm so free to cross post a question to this list that I already posted >> in >>> the spring forum ( >>> >> http://forum.springsource.org/showthread.php?109267-Spring-Data-Graph-in-OSGi-environment >> ), >>> since most of the SDG experts probably are subscribed to this list. ;-) >>> Could anyone get spring data graph successfully up and running in an OSGi >>> container? >>> >>> >>> Best regards, >>> James >>> ___ >>> 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
Re: [Neo4j] Spring Data Graph in an OSGi environment
Hi, I've written an article [1] showing how to run neo4j embedded database inside an OSGi container. Starting from that I think you can create a bundle which uses this database to create the appropriate Spring data configuration. I suppose that spring-data-graph is packaged as a OSGi compatible jar, so using spring-dm too should do it. [1] http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation 2011/5/13 Michael Hunger > I'm no expert in OSGi so I did just the minimal thing, adding bundlor > information to the maven build. This is obviously not successful enough. > > So I would be very happy I someone would pull spring data graph put in the > correct OSGi information and send me a pull request. > > Cheers > > Michael > > Am 13.05.2011 um 11:26 schrieb Jean-Pierre Bergamin: > > > Dear neo4j community > > > > I'm so free to cross post a question to this list that I already posted > in > > the spring forum ( > > > http://forum.springsource.org/showthread.php?109267-Spring-Data-Graph-in-OSGi-environment > ), > > since most of the SDG experts probably are subscribed to this list. ;-) > > Could anyone get spring data graph successfully up and running in an OSGi > > container? > > > > > > Best regards, > > James > > ___ > > 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
Re: [Neo4j] finding nodes between two nodes
You can traverse, or use one of the different algorithms accessible from the GraphAlgoFactory class. Any of those will get you Path instances back, which contains the full paths (nodes and relationships) between those two nodes that you specified. Or if you're using the REST API then also get back full paths with nodes/relationships in between those two nodes that you specified. 2011/5/13 Noppanit Charassinvichai > Hi Guys, > > I'm trying to find nodes along with path between two nodes. Would I just > use get_path or traverse. But I could find a way to use traverse and if I > use get path, do I only get the path between two nodes, not the nodes along > the path? > > Thanks a lot. :) > ___ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Spring Data Graph in an OSGi environment
I'm no expert in OSGi so I did just the minimal thing, adding bundlor information to the maven build. This is obviously not successful enough. So I would be very happy I someone would pull spring data graph put in the correct OSGi information and send me a pull request. Cheers Michael Am 13.05.2011 um 11:26 schrieb Jean-Pierre Bergamin: > Dear neo4j community > > I'm so free to cross post a question to this list that I already posted in > the spring forum ( > http://forum.springsource.org/showthread.php?109267-Spring-Data-Graph-in-OSGi-environment), > since most of the SDG experts probably are subscribed to this list. ;-) > Could anyone get spring data graph successfully up and running in an OSGi > container? > > > Best regards, > James > ___ > 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] finding nodes between two nodes
Hi Guys, I'm trying to find nodes along with path between two nodes. Would I just use get_path or traverse. But I could find a way to use traverse and if I use get path, do I only get the path between two nodes, not the nodes along the path? Thanks a lot. :) ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Spring Data Graph in an OSGi environment
Dear neo4j community I'm so free to cross post a question to this list that I already posted in the spring forum ( http://forum.springsource.org/showthread.php?109267-Spring-Data-Graph-in-OSGi-environment), since most of the SDG experts probably are subscribed to this list. ;-) Could anyone get spring data graph successfully up and running in an OSGi container? Best regards, James ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Modelling a fault tree
Dear neo4j users We are in the course of evaluating neo4j for our application. Our model is quite similar to a fault tree ( http://en.wikipedia.org/wiki/Fault_tree_analysis), where states ("ok" or "not_ok") in leaf nodes get pushed up the tree. There are rules what state the parent gets, depending on the states of its children: * the parent is only ok, when all children are ok ("and" conjunction) * the parent is ok, when any child is ok ("or" conjunction) * the parent is ok, when at least 3 of the 5 children are ok * etc. We are now looking for ways to model such a fault tree so that those rules can be applied. Since we just started with neo4j I'd like to ask if there is a "good known practice" to model someting like this, before we start to head in a totally wrong direction. Best regards, James ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Traversing all relationship types
Thank you Peter. These examples are really helpful and up-to-date. Best regards, James 2011/5/11 Peter Neubauer > Jean-Pierre, > we are in the process of moving the Getting started guides to > docs.neo4j,org, along with a number of good examples, amongst others on > traversal. You might find > http://components.neo4j.org/neo4j-examples/1.4-SNAPSHOT/ interesting, too? > > 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 Wed, May 11, 2011 at 12:41 AM, Jean-Pierre Bergamin < > jpberga...@gmail.com > > wrote: > > > Thank you Tobias. This "new" traversal framework looks much more powerful > > and "fluent" then the traverser I have been playing with so far. The > > getting > > started guide should definitively point to it. > > > > > > Best regards, > > James > > > > > > 2011/5/11 Tobias Ivarsson > > > > > There is a tentative new traversal API included in Neo4j that features > > this > > > functionality: > > > > > > org.neo4j.kernel.Traversal.description().expand( > > >org.neo4j.kernel.Traversal.expanderForAllTypes( Direction.OUTGOING ) > > ); > > > > > > You can read more about it here: > > > http://wiki.neo4j.org/content/Traversal_Framework > > > > > > Cheers, > > > Tobias > > > > > > On Wed, May 11, 2011 at 9:08 AM, Jean-Pierre Bergamin > > > wrote: > > > > > > > Hello neo4j users > > > > > > > > I'm just diving into neo4j and playing around with graph algorithms > and > > > > traversers. > > > > As a start, I just wanted to traverse the whole graph with all > > > relationship > > > > types in the OUTGOING direction. The traverse() method always expects > a > > > > RelationshipType. > > > > Is there a simpler way to traverse all RelationshipTypes then > building > > up > > > > an > > > > array that contains all types and the outgoing direction (as > described > > > here > > > > http://sujitpal.blogspot.com/2009/06/custom-traverser-for-neo4j.html > )? > > > > > > > > > > > > Thanks for the help, > > > > James > > > > ___ > > > > Neo4j mailing list > > > > User@lists.neo4j.org > > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > > > > > > > > > > > -- > > > Tobias Ivarsson > > > Hacker, Neo Technology > > > www.neotechnology.com > > > Cellphone: +46 706 534857 > > > ___ > > > 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
Re: [Neo4j] shortestPath exception
That bug is fixed... I wrote a test case which reproduced it and applied a patch which made it green again. So maybe you're seing something else this time? The test case is makeSureRelationshipNotConnectedIssueNotThere in https://github.com/neo4j/community/blob/master/graph-algo/src/test/java/org/neo4j/graphalgo/path/TestShortestPath.java Could you provide me with a graph and the "query" that doesn't provide you with the correct results? Best, Mattias 2011/5/12 Arze, Cesar > Hi Mattias, > > I wrote to you back in March regarding a bug that triggered when I would > try to generate the shortest path between a node and its root and was > wondering if you have been able to figure out what was happening to cause > the exception I was receiving. I recently updated to Neo4j 1.3 and seem to > still be experiencing the bug but do not believe I see a stack trace > anymore, all I am seeing is an empty results list. I haven't really explored > beyond that but will definitely do so in the coming week to confirm whether > or not the bug is still present. > > Thanks, > Cesar > > On Mar 10, 2011, at 10:10 AM, Mattias Persson wrote: > > Thanks very much, I got it and I can trigger your problem, so that's a good > start. Now to find that bug! > > 2011/3/10 Arze, Cesar > >> Mattias, >> >> Attached is a gzip'd tarball of the graph database. Let me know if you >> need anything else to aid you in debugging this and thanks for looking into >> it. >> >> Cesar >> >> > > > -- > Mattias Persson, [matt...@neotechnology.com] > Hacker, Neo Technology > www.neotechnology.com > > > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user