[Neo] Jruby on rails

2009-09-09 Thread Ajay Sharma
Hi all, Has anyone tried embedding neo4j with jruby on rails? Any suggestions? Regards -- Ajay Sharma ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo] Looking at DB contents

2009-09-09 Thread Mattias Persson
I don't follow entirely... you mean that the shell held locks on nodes which made another traverser (executed via script or something) wait? At the moment every command in the shell is wrapped in its own transaction. 2009/9/7 Todd Stavish toddstav...@gmail.com: Hi Martin, Anders, The

Re: [Neo] Jruby on rails

2009-09-09 Thread Peter Neubauer
Hi Ajay, You can find that info over at the JRuby project, github.com/andreasronge/neo4j/tree/master /peter On Sep 9, 2009 11:19 AM, Ajay Sharma sharmaa...@gmail.com wrote: Hi all, Has anyone tried embedding neo4j with jruby on rails? Any suggestions? Regards -- Ajay Sharma

Re: [Neo] Jruby on rails

2009-09-09 Thread Anders Nawroth
hi! Peter Neubauer wrote: You can find that info over at the JRuby project, github.com/andreasronge/neo4j/tree/master And they also have a google group: http://groups.google.com/group/neo4jrb/ /anders ___ Neo mailing list User@lists.neo4j.org

Re: [Neo] Looking at DB contents

2009-09-09 Thread Todd Stavish
Hi Mattias, Yes, that is correct. I think fundamentally I do not understand how your locking works. I assumed that both the shell and traverser would have read only locks. However, I left the shell open and the traverser was blocked. I did not do anything in the shell other than read-only

[Neo] All your node are belong to us

2009-09-09 Thread Catalin Marius Ciochina
Hello, I was running some tests with 1.0-b10-SNAPSHOT (trunk) and if the JVM is not closed properly (ex: server crashes) the database cannot be recovered. The test will run ok with 1.0-b8 but the recover procedure is very slow. public class NeoShutdownTest { public static void main(String[]

Re: [Neo] Looking at DB contents

2009-09-09 Thread Mattias Persson
That's strange since the shell only wraps commands in transactions. This means that leaving the shell open, just standing on a node doesn't create/hold a lock or transaction whatsoever. You could debug this kind of problem (when it appears) by making a complete thread dump and you'll see which

Re: [Neo] Looking at DB contents

2009-09-09 Thread Mattias Persson
Btw. are you using the shell to connect remotely to a running NeoService or or you using it to start a local one? If you're starting a local (inside the shell JVM) you might have the problem that the neo4j files are locked so that you cannot start up your traverser application... is that the case?

Re: [Neo] Neo4J Scalability

2009-09-09 Thread Johan Svensson
Todd, I successfully ran the code resulting in roughly 190M nodes/properties and 390M relationships injected in 35min (the condition in one of your for loops probably has a typo, should have been personnumberOfPeople and then more relationships would have been created). This was on a Linux

Re: [Neo] All your node are belong to us (Johan Svensson)

2009-09-09 Thread Catalin Marius Ciochina
If I kill the JVM the stackTrace of the exception thrown by recovery process looks like this Sep 9, 2009 3:24:09 PM org.neo4j.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [\var\neo\nioneo_logical.log.1]. Recovery started ...