Re: [Neo4j] neo4j : transactions & cluster
John, feel free to give feedback on how useful the information is and what could be improved! 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Jan 11, 2011 at 11:35 PM, John wrote: > I found the information, thanks ... > > On 11 Jan 2011, at 22:49, john pradeep wrote: > >> Hi All, >> I just want to know if neo4j can be run on a cluster? another question is >> that if i use neo4j as an independent server, how does it handle >> transactions considering that there could be multiple clients >> accessing/modifying the same node at the same time. >> Can anyone please point me to any document containing these details i am >> looking for? >> >> >> Regards, >> John > ___ > 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] User Digest, Vol 45, Issue 35
Craig First of all, I must apologise for my slow response - I have been on extended leave (with, deliberately, no internet access - you can live without it!). I am in the process of writing-up (for internal record) the testing process I have been using to benchmark RTree versus PostGIS. I will post a copy. Clearly, from your response, there are a number of possible routes for improvement but, at this stage, I want to be certain I have the optimum tuning settings for Neo4j for the current RTree implementation. At present, all settings are 'out of the box'. I have little experience of Neo4j (but a lot database experince - relational, multi-dimensional, hierarchical) so some basic reworking of the settings will be a great help before I scale-up the test. Thanks Dave On 18 December 2010 13:00, wrote: > Send User mailing list submissions to >user@lists.neo4j.org > > To subscribe or unsubscribe via the World Wide Web, visit >https://lists.neo4j.org/mailman/listinfo/user > or, via email, send a message with subject or body 'help' to >user-requ...@lists.neo4j.org > > You can reach the person managing the list at >user-ow...@lists.neo4j.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: Reference node pains. (Marko Rodriguez) > 2. Re: R-Tree indexing performance (Craig Taverner) > > > -- > > Message: 1 > Date: Fri, 17 Dec 2010 12:00:38 -0700 > From: Marko Rodriguez > Subject: Re: [Neo4j] Reference node pains. > To: Neo4j user discussions > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Hi, > > Here is the problem. > > 1. create graph database. (now you have one reference node) > 3. export graph database. > ... > 1. create graph database > 2. import previous graph data (now you have two "reference" nodes) > ... > so forth and so on. > > Moreover, the reference node is considered special by the Neo4j REST > server. If you graph.getNodeById(0).delete(), then Neo4j REST server throws > exceptions as it uses that as a "starting point" (which is a weird concept > of a graph -- as a graph can be cyclic and thus, there is no "starting > point"). > > And if you are not conscious about deleting the reference node, then you > run into "data bug" problems down the road -- "ah damn, that freaking > reference node is why X, Y, Z is happening... :(". > > Hope that helps, > Marko. > > http://markorodriguez.com > > On Dec 17, 2010, at 11:49 AM, Todd Rader wrote: > > > (Going back to the original problem statement...) > > > > I'm not sure I fully understand the pain here. Is the problem that the > reference node is migrated into other stores, and then, if that date is > migrated back to neo4j, the original reference node comes back to a neo4j > database that already has a reference node (causing clutter)? > > > > If that's true, is the problem here the sheer existence of a reference > node, or is it the lack of graceful migrating? For example, would this be > solved if there was an API just like getAllNodes() except it doesn't return > the reference node? I ask this not as a solution but as a way of clarifying > the problem for me. > > > > Todd Rader, Sr. Manager > > vFabric, Cloud Application Platform > > VMware > > tra...@vmware.com > > www.springsource.org | www.springsource.com | www.vmware.com > > > > > > - Original Message - > > From: "Marko Rodriguez" > > To: "Neo4j user discussions" > > Sent: Friday, December 10, 2010 10:35:49 AM > > Subject: [Neo4j] Reference node pains. > > > > Hello. > > > > I have one question and a comment: > > > > QUESTION: Is the reference node always id 0 on a newly created graph? > > > > COMMENT: By chance, will you guys remove the concept of a reference node > into the future. I've noticed this to be a pain in the side for people > moving between various graph systems. Going from Neo4j to iGraph to > TinkerPop to etc. The reference node, if the user is not conscious, begins > to build as data is migrated into and from Neo4j graphs. And what ensues is > a data bug. Perhaps a GraphDatabaseServer = new GraphDatabaseService(String > directory, boolean createReferenceNode). ...? > > > > Thanks, > > Marko. > > > > http://markorodriguez.com > > http://tinkerpop.com > > > > ___ > > 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 > > > > -- > > Message: 2 > Date: Sat, 18 Dec 2010 00:48:00 +0100 > From: Craig Taverner > Subject: Re: [Neo4j] R-Tree indexing performance > To: Neo4j user discussions > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > Yes, there are some plans fo
Re: [Neo4j] User Digest, Vol 45, Issue 39
Davide Sorry for slow response - been on extended leave. I have already amended ShapeFileImporter to included maxNodeReferences (and minNodeReferences - aka M,m) and found they made precious little difference to the performance. As a result, I assumed that I needed to ensure I had the optimal basic Neo4j settings and repeat my tests for different value of M and m. I am currently writing-up my results so far and will post them in the next days or so. Thanks Dave On 20 December 2010 18:32, wrote: > Send User mailing list submissions to >user@lists.neo4j.org > > To subscribe or unsubscribe via the World Wide Web, visit >https://lists.neo4j.org/mailman/listinfo/user > or, via email, send a message with subject or body 'help' to >user-requ...@lists.neo4j.org > > You can reach the person managing the list at >user-ow...@lists.neo4j.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: R-Tree indexing performance (Davide) > 2. New Index API replacing the old one in REST (Peter Neubauer) > 3. Re: New Index API replacing the old one in REST > (Javier de la Rosa) > 4. Re: Transaction and REST API (Jim Webber) > 5. Re: New Index API replacing the old one in REST (Peter Neubauer) > 6. Re: Transaction and REST API (Ido Ran) > 7. (no subject) (Francois Kassis) > 8. Re: A TinkerPop Stack Release (Peter Neubauer) > 9. Re: A TinkerPop Stack Release (Marko Rodriguez) > 10. RRD dependency not having a valid POM (Peter Neubauer) > 11. Re: A TinkerPop Stack Release (Peter Neubauer) > > > -- > > Message: 1 > Date: Mon, 20 Dec 2010 12:13:39 +0100 > From: Davide > Subject: Re: [Neo4j] R-Tree indexing performance > To: Neo4j user discussions > Message-ID: > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > On Sat, Dec 18, 2010 at 00:48, Craig Taverner wrote: > > ? - The RTree implementation itself - I know RTree's are not all equal, > so > > ? there may be room for general RTree improvements and optimizations. As > > ? mentioned we have not put much time into optimizing the RTree very > much, so > > ? hopefully there is room to move here. > > Hi all, > > yes, the RTree algorithm can surely be improved! > > But first of all, I'd try to find the optimal value for the RTree > maxNodeReferences parameter. > This parameter should affect performance. > > You can pass this parameter to the RTree constructor: > > public RTreeIndex(GraphDatabaseService database, Layer layer, int > maxNodeReferences, int minNodeReferences) { > > but after a RTree is created, you can't change it. Now the default value is > 100. > > Cheers, > -- > Davide Savazzi > > > -- > > Message: 2 > Date: Mon, 20 Dec 2010 12:18:44 +0100 > From: Peter Neubauer > Subject: [Neo4j] New Index API replacing the old one in REST > To: Neo4j user discussions , neo4jrb > > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Graphytes, > the exposure of the new Index on relationships and nodes in the Neo4j > REST API will be part of M06, so anyone using the Index in their > bindings will need to switch to that API. I am thinking of the PHP, > .NET, Ruby and Perl bindings (Max, @onewheelgood, Javier and all > others). > > Is there anyone heavily relying on the current REST Index API in > production and needs it? If so, we will need to add support for it > after the release as a server plugin. Since all this is happening > still in Milestones, I think we are good just removing the existing > one if nobody speaks up. > > 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > -- > > Message: 3 > Date: Mon, 20 Dec 2010 12:21:20 +0100 > From: Javier de la Rosa > Subject: Re: [Neo4j] New Index API replacing the old one in REST > To: Neo4j user discussions > Cc: neo4jrb > Message-ID: > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > On Mon, Dec 20, 2010 at 12:18, Peter Neubauer > wrote: > > Graphytes, > > the exposure of the new Index on relationships and nodes in the Neo4j > > REST API will be part of M06, so anyone using the Index in their > > bindings will need to switch to that API. I am thinking of the PHP, > > .NET, Ruby and Perl bindings (Max, @onewheelgood, Javier and all > > others). > > Great news! > Where is the documentation to apply the new changes on the index behaviour? > > > > -- > Javier de la Rosa > http://versae.es > > > -- > > Message: 4 > Date: Mon, 20 Dec 2010 11:28:34
[Neo4j] Trouble with neo4j.py - Ubuntu 10.10
Has anyone else experienced difficulty running neo4j.py on Ubuntu 10.10? I'm having difficulty building the package. I've installed Jython, but am receiving the following traceback: $ ~/jython/jython -V Jython 2.5.2rc2 $ ~/jython/jython setup.py install setup.py:54: UserWarning: Setuptools is not available. You will need to make sure that you either have JCC installed prior to installing Neo4j.py, or that you have JPype installed alongside with Neo4j.py. With setuptools these could have been automatically installed. warnings.warn("""Setuptools is not available. Traceback (most recent call last): File "setup.py", line 146, in main() File "setup.py", line 134, in main args[attr] = pom[attr] File "/home/tim/Sources/neo4j-python/pom.py", line 57, in __getitem__ return self.pattern.sub(lambda match:self[match.groupdict()['var']], File "/home/tim/Sources/neo4j-python/pom.py", line 57, in return self.pattern.sub(lambda match:self[match.groupdict()['var']], File "/home/tim/Sources/neo4j-python/pom.py", line 54, in __getitem__ element = self.parent[path] File "/home/tim/Sources/neo4j-python/pom.py", line 91, in __getitem__ return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) File "/home/tim/Sources/neo4j-python/pom.py", line 56, in __getitem__ raise KeyError(path) KeyError: 'project.artifactId' Tim McNamara @timClicks http://timmcnamara.co.nz/ http://people.sugarlabs.org/~tim/ ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Trouble with neo4j.py - Ubuntu 10.10
Tim, from the message, it sounds like you should setup http://pypi.python.org/pypi/setuptools which will simplify things? 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Jan 12, 2011 at 11:22 AM, Tim McNamara wrote: > Has anyone else experienced difficulty running neo4j.py on Ubuntu 10.10? > > I'm having difficulty building the package. I've installed Jython, but > am receiving the following traceback: > > > $ ~/jython/jython -V > Jython 2.5.2rc2 > $ ~/jython/jython setup.py install > > setup.py:54: UserWarning: Setuptools is not available. > You will need to make sure that you either have JCC installed prior to > installing Neo4j.py, or that you have JPype installed alongside with > Neo4j.py. With setuptools these could have been automatically installed. > > warnings.warn("""Setuptools is not available. > Traceback (most recent call last): > File "setup.py", line 146, in > main() > File "setup.py", line 134, in main > args[attr] = pom[attr] > File "/home/tim/Sources/neo4j-python/pom.py", line 57, in __getitem__ > return self.pattern.sub(lambda match:self[match.groupdict()['var']], > File "/home/tim/Sources/neo4j-python/pom.py", line 57, in > return self.pattern.sub(lambda match:self[match.groupdict()['var']], > File "/home/tim/Sources/neo4j-python/pom.py", line 54, in __getitem__ > element = self.parent[path] > File "/home/tim/Sources/neo4j-python/pom.py", line 91, in __getitem__ > return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) > File "/home/tim/Sources/neo4j-python/pom.py", line 56, in __getitem__ > raise KeyError(path) > KeyError: 'project.artifactId' > > Tim McNamara > �...@timclicks > http://timmcnamara.co.nz/ > http://people.sugarlabs.org/~tim/ > ___ > 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] Trouble with neo4j.py - Ubuntu 10.10
My CPython can find setuptools fine.. I wonder if it's just something I've done incorrectly when I installed Jython. On 12 January 2011 23:25, Peter Neubauer wrote: > Tim, > from the message, it sounds like you should setup > http://pypi.python.org/pypi/setuptools which will simplify things? > > 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Wed, Jan 12, 2011 at 11:22 AM, Tim McNamara > wrote: > > Has anyone else experienced difficulty running neo4j.py on Ubuntu 10.10? > > > > I'm having difficulty building the package. I've installed Jython, but > > am receiving the following traceback: > > > > > > $ ~/jython/jython -V > > Jython 2.5.2rc2 > > $ ~/jython/jython setup.py install > > > > setup.py:54: UserWarning: Setuptools is not available. > > You will need to make sure that you either have JCC installed prior to > > installing Neo4j.py, or that you have JPype installed alongside with > > Neo4j.py. With setuptools these could have been automatically installed. > > > > warnings.warn("""Setuptools is not available. > > Traceback (most recent call last): > > File "setup.py", line 146, in > >main() > > File "setup.py", line 134, in main > >args[attr] = pom[attr] > > File "/home/tim/Sources/neo4j-python/pom.py", line 57, in __getitem__ > >return self.pattern.sub(lambda match:self[match.groupdict()['var']], > > File "/home/tim/Sources/neo4j-python/pom.py", line 57, in > >return self.pattern.sub(lambda match:self[match.groupdict()['var']], > > File "/home/tim/Sources/neo4j-python/pom.py", line 54, in __getitem__ > >element = self.parent[path] > > File "/home/tim/Sources/neo4j-python/pom.py", line 91, in __getitem__ > >return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) > > File "/home/tim/Sources/neo4j-python/pom.py", line 56, in __getitem__ > >raise KeyError(path) > > KeyError: 'project.artifactId' > > > > Tim McNamara > > @timClicks > > http://timmcnamara.co.nz/ > > http://people.sugarlabs.org/~tim/ > > ___ > > 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] [SPAM] Re: Neoclipse Remote access
Same here, on neo 1.2 on Windows. - Reply message - From: "Kalin Wilson Development" Date: Tue, Jan 11, 2011 8:51 am Subject: [SPAM] Re: [Neo4j] Neoclipse Remote access To: "Neo4j user discussions" Thanks Anders, I changed the connection mode in Neoclipse to read only embedded but I still can't have both clients attached at the same time. I get the typical lock error message. I'll try to troubleshoot it in more detail and let you know what I'm seeing. Kalin On Jan 10, 2011, at 6:20 AM, Anders Nawroth wrote: > Hi! > >> I built Neoclipse from source against the 1.2 jars. I'd like to use it while >> debugging an app using an embedded DB. When I connect with the remote >> option, I still can't access the DB if my app has the DB open. Will that be >> resolved or is it supported now? > > This should work. Note that for now, there can only be one remote client > connected at a time. So any old instance that didn't get shut down may > cause problems. > > I'd suggest using the read-only mode, it's much more stable. > >> Also, if I connect to the DB with Neoclipse and stop/disconnect (click the >> square icon), the DB is not released and my app cannot connect when it >> starts. I have to quit Neoclipse to release the DB. Kind of a pain to have >> to quite either app to use the other, but I'm not in the mood to switch to >> the REST API. > > I couldn't reproduce this problem, maybe you could give some more details? > >> Will I run into the same issue when backing up the DB? I understand from the >> docs that I can run a process within my app against the embedded DB to back >> it up, but will I be able to have another app/script run to back it up while >> my main app is using it? > > Onlinebackup should be executed from inside your application and > shouldn't be a problem. It's also possible to perform backup by > transferring the logical logs - I'm not sure about the details in this > case, maybe someone else could chime in here? > > > BTW, I just updated the Neoclipse source code to use Neo4j 1.2. > > > /anders > ___ > 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] Unfinished transaction - cannot open db
Hi Andi, as the database reruns all not synced transaction on startup after a startup and clear shutdown all transaction that should be accounted for should be applied and all others discarded. So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for you (or starting and stopping the server). Please don't delete any of the files otherwise you risk corrupting your database. Would you please provide the error message that you get from neoclipse? (And the StackTrace if possible). Hope that helps, if not, let us know. Thanks Michael Am 11.01.2011 um 05:48 schrieb Andreas Bauer: > Hi, > > I recently asked why I can't open my database in neoclipse. > > After checking my logs I found out that there was an error occurring in the > thread that writes to the database, which apparently leaves the database in > an open stte. > > My question is now, what do I have to do to get the database back into a > "finished" state when this happens, so I can open it in neoclipse. Do I have > to delete the *.active files or alter some other files? > > Cheers, > > Andi > ___ > 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] Unfinished transaction - cannot open db
Hi! > Would you please provide the error message that you get from neoclipse? (And > the StackTrace if possible). Note that you can see some info by starting neoclipse from a command line. Also, there's a log file located at: [neoclipse-install-dir]/workspace/.metadata/.log /anders ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
[Neo4j] Neo4j community poll :)
Hi everyone! Inspired by the blog post over at http://naramore.net/blog/why-people-don-t-contribute-to-os-projects-and-what-we-can-do-about-it, I put up a poll at https://spreadsheets.google.com/a/neopersistence.com/viewform?formkey=dDVkWGRBNVlnV242U25rNnNaUDJHQWc6MQ, and it would be great if you want to give feedback on what you think is lacking in this community for you to actively contribute. This way, we can see what is lacking to more easily get started/involved. What do you all think? Provide your name/contact and we will send you a Neo4j base cap! 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. -- Forwarded message -- From: Andres Taylor Date: Wed, Jan 12, 2011 at 2:27 PM Subject: Intressant artikel To: Peter Neubauer http://naramore.net/blog/why-people-don-t-contribute-to-os-projects-and-what-we-can-do-about-it ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Trouble with neo4j.py - Ubuntu 10.10
No, that is just a warning. The real problem seems to be that the setup script is unable to find the artifactId in one of the dependency poms. I have yet to come up with a good way to make the script retrieve the dependency jars. -tobias On Wed, Jan 12, 2011 at 11:25 AM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Tim, > from the message, it sounds like you should setup > http://pypi.python.org/pypi/setuptools which will simplify things? > > 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > > > > On Wed, Jan 12, 2011 at 11:22 AM, Tim McNamara > wrote: > > Has anyone else experienced difficulty running neo4j.py on Ubuntu 10.10? > > > > I'm having difficulty building the package. I've installed Jython, but > > am receiving the following traceback: > > > > > > $ ~/jython/jython -V > > Jython 2.5.2rc2 > > $ ~/jython/jython setup.py install > > > > setup.py:54: UserWarning: Setuptools is not available. > > You will need to make sure that you either have JCC installed prior to > > installing Neo4j.py, or that you have JPype installed alongside with > > Neo4j.py. With setuptools these could have been automatically installed. > > > > warnings.warn("""Setuptools is not available. > > Traceback (most recent call last): > > File "setup.py", line 146, in > >main() > > File "setup.py", line 134, in main > >args[attr] = pom[attr] > > File "/home/tim/Sources/neo4j-python/pom.py", line 57, in __getitem__ > >return self.pattern.sub(lambda match:self[match.groupdict()['var']], > > File "/home/tim/Sources/neo4j-python/pom.py", line 57, in > >return self.pattern.sub(lambda match:self[match.groupdict()['var']], > > File "/home/tim/Sources/neo4j-python/pom.py", line 54, in __getitem__ > >element = self.parent[path] > > File "/home/tim/Sources/neo4j-python/pom.py", line 91, in __getitem__ > >return replacement.get(path, lambda s,x:x)(self, self.__pom[path]) > > File "/home/tim/Sources/neo4j-python/pom.py", line 56, in __getitem__ > >raise KeyError(path) > > KeyError: 'project.artifactId' > > > > Tim McNamara > > @timClicks > > http://timmcnamara.co.nz/ > > http://people.sugarlabs.org/~tim/ > > ___ > > 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 > -- 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
Re: [Neo4j] Unfinished transaction - cannot open db
Hi, I get the following messages, when I start from the command line. As I supposed the problem is due to the random stop of my program, when I debug. I mean when I debug, I just click the stop button in Eclipse. This seems to cause the problem. But how do I work around this? 12.01.2011 19:55:50 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [../nioneo_logical.log.1]. Recovery started ... 12.01.2011 19:55:50 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [../lucene/lucene.log.1]. Recovery started ... 12.01.2011 19:55:50 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [../lucene-fulltext/lucene.log.1]. Recovery started ... 12.01.2011 19:55:51 org.neo4j.kernel.impl.transaction.TxManager init INFO: Unresolved transactions found, recovery started ... Cheers, Andi Am 12.01.2011 um 13:32 schrieb Michael Hunger: > Hi Andi, > > as the database reruns all not synced transaction on startup after a startup > and clear shutdown all transaction that should be accounted for should be > applied and all others discarded. > > So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for you > (or starting and stopping the server). > > Please don't delete any of the files otherwise you risk corrupting your > database. > > Would you please provide the error message that you get from neoclipse? (And > the StackTrace if possible). > > Hope that helps, if not, let us know. > > Thanks > > Michael > > Am 11.01.2011 um 05:48 schrieb Andreas Bauer: > >> Hi, >> >> I recently asked why I can't open my database in neoclipse. >> >> After checking my logs I found out that there was an error occurring in the >> thread that writes to the database, which apparently leaves the database in >> an open stte. >> >> My question is now, what do I have to do to get the database back into a >> "finished" state when this happens, so I can open it in neoclipse. Do I have >> to delete the *.active files or alter some other files? >> >> Cheers, >> >> Andi >> ___ >> 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] Unfinished transaction - cannot open db
Hi Andi, That just shows that the recovery of the transaction started. Does it also say that it finishes the recovery after a while? You should allow it to end the recovery and then do a clear shutdown of the database. If you connect to the db with neoclipse it shouldn't pose any problem. How big is the dataset that you've stored in the graph? Thanks Michael Am 12.01.2011 um 20:05 schrieb Andreas Bauer: > Hi, > > I get the following messages, when I start from the command line. As I > supposed the problem is due to the random stop of my program, when I debug. > I mean when I debug, I just click the stop button in Eclipse. This seems to > cause the problem. But how do I work around this? > > 12.01.2011 19:55:50 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log [../nioneo_logical.log.1]. Recovery > started ... > 12.01.2011 19:55:50 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log [../lucene/lucene.log.1]. Recovery > started ... > 12.01.2011 19:55:50 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log [../lucene-fulltext/lucene.log.1]. > Recovery started ... > 12.01.2011 19:55:51 org.neo4j.kernel.impl.transaction.TxManager init > INFO: Unresolved transactions found, recovery started ... > > Cheers, > > Andi > > Am 12.01.2011 um 13:32 schrieb Michael Hunger: > >> Hi Andi, >> >> as the database reruns all not synced transaction on startup after a startup >> and clear shutdown all transaction that should be accounted for should be >> applied and all others discarded. >> >> So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for >> you (or starting and stopping the server). >> >> Please don't delete any of the files otherwise you risk corrupting your >> database. >> >> Would you please provide the error message that you get from neoclipse? (And >> the StackTrace if possible). >> >> Hope that helps, if not, let us know. >> >> Thanks >> >> Michael >> >> Am 11.01.2011 um 05:48 schrieb Andreas Bauer: >> >>> Hi, >>> >>> I recently asked why I can't open my database in neoclipse. >>> >>> After checking my logs I found out that there was an error occurring in the >>> thread that writes to the database, which apparently leaves the database in >>> an open stte. >>> >>> My question is now, what do I have to do to get the database back into a >>> "finished" state when this happens, so I can open it in neoclipse. Do I >>> have to delete the *.active files or alter some other files? >>> >>> Cheers, >>> >>> Andi >>> ___ >>> 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] Unfinished transaction - cannot open db
Hi, I let neoclipse do its work. After the messages mentioned below, only checking service ... starting neo4j checking service ... starting neo4j checking service ... starting neo4j checking service ... appears, interrupted by the message "The neo service is not available"; and after I clicked "ok" "The database seem to be in use. Please make sure it is not in use or change to another dtabase location." is shown. The size of the db is quite small (at the moment), neostore.propertystore.db is 946kb and neostore.nodestore.db 45kb Cheers, Andi Am 12.01.2011 um 20:10 schrieb Michael Hunger: > Hi Andi, > > That just shows that the recovery of the transaction started. Does it also > say that it finishes the recovery after a while? > You should allow it to end the recovery and then do a clear shutdown of the > database. > > If you connect to the db with neoclipse it shouldn't pose any problem. > > How big is the dataset that you've stored in the graph? > > Thanks > > Michael > > Am 12.01.2011 um 20:05 schrieb Andreas Bauer: > >> Hi, >> >> I get the following messages, when I start from the command line. As I >> supposed the problem is due to the random stop of my program, when I debug. >> I mean when I debug, I just click the stop button in Eclipse. This seems to >> cause the problem. But how do I work around this? >> >> 12.01.2011 19:55:50 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log [../nioneo_logical.log.1]. Recovery >> started ... >> 12.01.2011 19:55:50 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log [../lucene/lucene.log.1]. Recovery >> started ... >> 12.01.2011 19:55:50 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log [../lucene-fulltext/lucene.log.1]. >> Recovery started ... >> 12.01.2011 19:55:51 org.neo4j.kernel.impl.transaction.TxManager init >> INFO: Unresolved transactions found, recovery started ... >> >> Cheers, >> >> Andi >> >> Am 12.01.2011 um 13:32 schrieb Michael Hunger: >> >>> Hi Andi, >>> >>> as the database reruns all not synced transaction on startup after a >>> startup and clear shutdown all transaction that should be accounted for >>> should be applied and all others discarded. >>> >>> So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for >>> you (or starting and stopping the server). >>> >>> Please don't delete any of the files otherwise you risk corrupting your >>> database. >>> >>> Would you please provide the error message that you get from neoclipse? >>> (And the StackTrace if possible). >>> >>> Hope that helps, if not, let us know. >>> >>> Thanks >>> >>> Michael >>> >>> Am 11.01.2011 um 05:48 schrieb Andreas Bauer: >>> Hi, I recently asked why I can't open my database in neoclipse. After checking my logs I found out that there was an error occurring in the thread that writes to the database, which apparently leaves the database in an open stte. My question is now, what do I have to do to get the database back into a "finished" state when this happens, so I can open it in neoclipse. Do I have to delete the *.active files or alter some other files? Cheers, Andi ___ 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] Unfinished transaction - cannot open db
I rather meant your program. Just have it start up, and shutdown() the EmbeddedGraphDatabaseService cleanly. Afterwards try to use neoclipse. Cheers Michael Am 12.01.2011 um 20:21 schrieb Andreas Bauer: > Hi, > > I let neoclipse do its work. After the messages mentioned below, only > > checking service ... > starting neo4j > checking service ... > starting neo4j > checking service ... > starting neo4j > checking service ... > > appears, interrupted by the message "The neo service is not available"; and > after I clicked "ok" "The database seem to be in use. Please make sure it is > not in use or change to another dtabase location." is shown. > > The size of the db is quite small (at the moment), neostore.propertystore.db > is 946kb and neostore.nodestore.db 45kb > > Cheers, > > Andi > > > Am 12.01.2011 um 20:10 schrieb Michael Hunger: > >> Hi Andi, >> >> That just shows that the recovery of the transaction started. Does it also >> say that it finishes the recovery after a while? >> You should allow it to end the recovery and then do a clear shutdown of the >> database. >> >> If you connect to the db with neoclipse it shouldn't pose any problem. >> >> How big is the dataset that you've stored in the graph? >> >> Thanks >> >> Michael >> >> Am 12.01.2011 um 20:05 schrieb Andreas Bauer: >> >>> Hi, >>> >>> I get the following messages, when I start from the command line. As I >>> supposed the problem is due to the random stop of my program, when I debug. >>> I mean when I debug, I just click the stop button in Eclipse. This seems to >>> cause the problem. But how do I work around this? >>> >>> 12.01.2011 19:55:50 >>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >>> doInternalRecovery >>> INFO: Non clean shutdown detected on log [../nioneo_logical.log.1]. >>> Recovery started ... >>> 12.01.2011 19:55:50 >>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >>> doInternalRecovery >>> INFO: Non clean shutdown detected on log [../lucene/lucene.log.1]. Recovery >>> started ... >>> 12.01.2011 19:55:50 >>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >>> doInternalRecovery >>> INFO: Non clean shutdown detected on log [../lucene-fulltext/lucene.log.1]. >>> Recovery started ... >>> 12.01.2011 19:55:51 org.neo4j.kernel.impl.transaction.TxManager init >>> INFO: Unresolved transactions found, recovery started ... >>> >>> Cheers, >>> >>> Andi >>> >>> Am 12.01.2011 um 13:32 schrieb Michael Hunger: >>> Hi Andi, as the database reruns all not synced transaction on startup after a startup and clear shutdown all transaction that should be accounted for should be applied and all others discarded. So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for you (or starting and stopping the server). Please don't delete any of the files otherwise you risk corrupting your database. Would you please provide the error message that you get from neoclipse? (And the StackTrace if possible). Hope that helps, if not, let us know. Thanks Michael Am 11.01.2011 um 05:48 schrieb Andreas Bauer: > Hi, > > I recently asked why I can't open my database in neoclipse. > > After checking my logs I found out that there was an error occurring in > the thread that writes to the database, which apparently leaves the > database in an open stte. > > My question is now, what do I have to do to get the database back into a > "finished" state when this happens, so I can open it in neoclipse. Do I > have to delete the *.active files or alter some other files? > > Cheers, > > Andi > ___ > 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 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Unfinished transaction - cannot open db
Hi, ok, I did that and now I get this stack trace 12.01.2011 21:04:57 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [cep/nioneo_logical.log.1]. Recovery started ... 12.01.2011 21:05:01 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [cep/lucene/lucene.log.1]. Recovery started ... 12.01.2011 21:05:01 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [cep/lucene-fulltext/lucene.log.1]. Recovery started ... 12.01.2011 21:05:01 org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery INFO: Non clean shutdown detected on log [/Users/buki/Documents/workspace/Pimstr/cep/index/lucene.log.1]. Recovery started ... org.neo4j.graphdb.TransactionFailureException: Could not create data source lucene-index[lucene-index] at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:182) at org.neo4j.index.impl.lucene.LuceneIndexProvider.load(LuceneIndexProvider.java:110) at org.neo4j.index.impl.lucene.LuceneIndexProvider.init(LuceneIndexProvider.java:94) at org.neo4j.kernel.KernelExtension$KernelData.initAll(KernelExtension.java:153) at org.neo4j.kernel.EmbeddedGraphDbImpl$2.init(EmbeddedGraphDbImpl.java:160) at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:155) at org.neo4j.kernel.EmbeddedGraphDbImpl.(EmbeddedGraphDbImpl.java:168) at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:81) at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:65) at nu.buki.neo4j.SocialNetworkService.(SocialNetworkService.java:46) at nu.buki.neo4j.SocialNetworkService.main(SocialNetworkService.java:325) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager.java:74) at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:176) ... 10 more Caused by: java.lang.NullPointerException at org.neo4j.index.impl.lucene.LuceneDataSource.findDocument(LuceneDataSource.java:602) at org.neo4j.index.impl.lucene.CommitContext.getDocument(CommitContext.java:71) at org.neo4j.index.impl.lucene.LuceneCommand$AddRelationshipCommand.perform(LuceneCommand.java:212) at org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:231) at org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:319) at org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.injectTwoPhaseCommit(XaResourceManager.java:380) at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyTwoPhaseCommitEntry(XaLogicalLog.java:577) at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyEntry(XaLogicalLog.java:469) at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.doInternalRecovery(XaLogicalLog.java:804) at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:274) at org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:197) at org.neo4j.kernel.impl.transaction.xaframework.XaContainer.openLogicalLog(XaContainer.java:98) at org.neo4j.index.impl.lucene.LuceneDataSource.(LuceneDataSource.java:207) ... 16 more 12.01.2011 21:05:01 org.neo4j.kernel.impl.transaction.TxManager init INFO: Unresolved transactions found, recovery started ... Exception in thread "main" org.neo4j.graphdb.TransactionFailureException: No mapping found for branchId[0x162374] at org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:186) at org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:935) at org.neo4j.kernel.impl.transaction.TxManager.buildRecoveryInfo(TxManager.java:416) at org.neo4j.kernel.impl.transaction.TxManager.recover(TxManager.java:257) at org.neo4j.kernel.impl.transaction.TxManager.init(TxManager.java:181) at org.neo4j.kernel.impl.transaction.TxModule.start(TxModule.java:85) at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:157) at org.neo4j.kernel.EmbeddedGraphDbImpl.(EmbeddedGraphDbImpl.java:168) at org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:81) at org.neo4j.kernel.E
Re: [Neo4j] Unfinished transaction - cannot open db
Hi Andi, what version of neo4j are you running against? The latest 1.2 or sth else? And did you delete any of the files of the database? Thanks a lot Michael Am 12.01.2011 um 21:10 schrieb Andreas Bauer: > Hi, > > ok, I did that and now I get this stack trace > > 12.01.2011 21:04:57 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log [cep/nioneo_logical.log.1]. Recovery > started ... > 12.01.2011 21:05:01 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log [cep/lucene/lucene.log.1]. Recovery > started ... > 12.01.2011 21:05:01 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log [cep/lucene-fulltext/lucene.log.1]. > Recovery started ... > 12.01.2011 21:05:01 > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery > INFO: Non clean shutdown detected on log > [/Users/buki/Documents/workspace/Pimstr/cep/index/lucene.log.1]. Recovery > started ... > org.neo4j.graphdb.TransactionFailureException: Could not create data source > lucene-index[lucene-index] > at > org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:182) > at > org.neo4j.index.impl.lucene.LuceneIndexProvider.load(LuceneIndexProvider.java:110) > at > org.neo4j.index.impl.lucene.LuceneIndexProvider.init(LuceneIndexProvider.java:94) > at > org.neo4j.kernel.KernelExtension$KernelData.initAll(KernelExtension.java:153) > at > org.neo4j.kernel.EmbeddedGraphDbImpl$2.init(EmbeddedGraphDbImpl.java:160) > at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:155) > at > org.neo4j.kernel.EmbeddedGraphDbImpl.(EmbeddedGraphDbImpl.java:168) > at > org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:81) > at > org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:65) > at > nu.buki.neo4j.SocialNetworkService.(SocialNetworkService.java:46) > at > nu.buki.neo4j.SocialNetworkService.main(SocialNetworkService.java:325) > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager.java:74) > at > org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:176) > ... 10 more > Caused by: java.lang.NullPointerException > at > org.neo4j.index.impl.lucene.LuceneDataSource.findDocument(LuceneDataSource.java:602) > at > org.neo4j.index.impl.lucene.CommitContext.getDocument(CommitContext.java:71) > at > org.neo4j.index.impl.lucene.LuceneCommand$AddRelationshipCommand.perform(LuceneCommand.java:212) > at > org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:231) > at > org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:319) > at > org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.injectTwoPhaseCommit(XaResourceManager.java:380) > at > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyTwoPhaseCommitEntry(XaLogicalLog.java:577) > at > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyEntry(XaLogicalLog.java:469) > at > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.doInternalRecovery(XaLogicalLog.java:804) > at > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:274) > at > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:197) > at > org.neo4j.kernel.impl.transaction.xaframework.XaContainer.openLogicalLog(XaContainer.java:98) > at > org.neo4j.index.impl.lucene.LuceneDataSource.(LuceneDataSource.java:207) > ... 16 more > 12.01.2011 21:05:01 org.neo4j.kernel.impl.transaction.TxManager init > INFO: Unresolved transactions found, recovery started ... > Exception in thread "main" org.neo4j.graphdb.TransactionFailureException: No > mapping found for branchId[0x162374] > at > org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:186) > at > org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:935) > at > org.neo4j.kernel.impl.transaction.TxManager.buildRecoveryInfo(TxManager.java:416) > at > org.neo4j.kernel.impl.transaction.TxManager.recover(TxManager.java:257) > at org.neo4j.kernel.impl.transaction.TxManager.init(TxManager.java:181) > at org.ne
Re: [Neo4j] Unfinished transaction - cannot open db
Hi! What version of Neoclipse are you using? Basically, anything not built from source recently is too old to use with the current Neo4j versions. /anders 2011-01-12 20:21, Andreas Bauer skrev: > Hi, > > I let neoclipse do its work. After the messages mentioned below, only > > checking service ... > starting neo4j > checking service ... > starting neo4j > checking service ... > starting neo4j > checking service ... > > appears, interrupted by the message "The neo service is not available"; and > after I clicked "ok" "The database seem to be in use. Please make sure it is > not in use or change to another dtabase location." is shown. > > The size of the db is quite small (at the moment), neostore.propertystore.db > is 946kb and neostore.nodestore.db 45kb > > Cheers, > > Andi > > > Am 12.01.2011 um 20:10 schrieb Michael Hunger: > >> Hi Andi, >> >> That just shows that the recovery of the transaction started. Does it also >> say that it finishes the recovery after a while? >> You should allow it to end the recovery and then do a clear shutdown of the >> database. >> >> If you connect to the db with neoclipse it shouldn't pose any problem. >> >> How big is the dataset that you've stored in the graph? >> >> Thanks >> >> Michael >> >> Am 12.01.2011 um 20:05 schrieb Andreas Bauer: >> >>> Hi, >>> >>> I get the following messages, when I start from the command line. As I >>> supposed the problem is due to the random stop of my program, when I debug. >>> I mean when I debug, I just click the stop button in Eclipse. This seems to >>> cause the problem. But how do I work around this? >>> >>> 12.01.2011 19:55:50 >>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >>> doInternalRecovery >>> INFO: Non clean shutdown detected on log [../nioneo_logical.log.1]. >>> Recovery started ... >>> 12.01.2011 19:55:50 >>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >>> doInternalRecovery >>> INFO: Non clean shutdown detected on log [../lucene/lucene.log.1]. Recovery >>> started ... >>> 12.01.2011 19:55:50 >>> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog >>> doInternalRecovery >>> INFO: Non clean shutdown detected on log [../lucene-fulltext/lucene.log.1]. >>> Recovery started ... >>> 12.01.2011 19:55:51 org.neo4j.kernel.impl.transaction.TxManager init >>> INFO: Unresolved transactions found, recovery started ... >>> >>> Cheers, >>> >>> Andi >>> >>> Am 12.01.2011 um 13:32 schrieb Michael Hunger: >>> Hi Andi, as the database reruns all not synced transaction on startup after a startup and clear shutdown all transaction that should be accounted for should be applied and all others discarded. So an new EmbeddedGraphDatabase( path ).shutdown() should clean it up for you (or starting and stopping the server). Please don't delete any of the files otherwise you risk corrupting your database. Would you please provide the error message that you get from neoclipse? (And the StackTrace if possible). Hope that helps, if not, let us know. Thanks Michael Am 11.01.2011 um 05:48 schrieb Andreas Bauer: > Hi, > > I recently asked why I can't open my database in neoclipse. > > After checking my logs I found out that there was an error occurring in > the thread that writes to the database, which apparently leaves the > database in an open stte. > > My question is now, what do I have to do to get the database back into a > "finished" state when this happens, so I can open it in neoclipse. Do I > have to delete the *.active files or alter some other files? > > Cheers, > > Andi > ___ > 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 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Unfinished transaction - cannot open db
Hi, I use the latest stable version for mac available on the neo4j homepage (V1.2). And no, I didn't delete anything. Regards, Andi Am 12.01.2011 um 22:52 schrieb Michael Hunger: > Hi Andi, > > what version of neo4j are you running against? The latest 1.2 or sth else? > > And did you delete any of the files of the database? > > Thanks a lot > > Michael > > Am 12.01.2011 um 21:10 schrieb Andreas Bauer: > >> Hi, >> >> ok, I did that and now I get this stack trace >> >> 12.01.2011 21:04:57 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log [cep/nioneo_logical.log.1]. >> Recovery started ... >> 12.01.2011 21:05:01 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log [cep/lucene/lucene.log.1]. Recovery >> started ... >> 12.01.2011 21:05:01 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log [cep/lucene-fulltext/lucene.log.1]. >> Recovery started ... >> 12.01.2011 21:05:01 >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog doInternalRecovery >> INFO: Non clean shutdown detected on log >> [/Users/buki/Documents/workspace/Pimstr/cep/index/lucene.log.1]. Recovery >> started ... >> org.neo4j.graphdb.TransactionFailureException: Could not create data source >> lucene-index[lucene-index] >> at >> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:182) >> at >> org.neo4j.index.impl.lucene.LuceneIndexProvider.load(LuceneIndexProvider.java:110) >> at >> org.neo4j.index.impl.lucene.LuceneIndexProvider.init(LuceneIndexProvider.java:94) >> at >> org.neo4j.kernel.KernelExtension$KernelData.initAll(KernelExtension.java:153) >> at >> org.neo4j.kernel.EmbeddedGraphDbImpl$2.init(EmbeddedGraphDbImpl.java:160) >> at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:155) >> at >> org.neo4j.kernel.EmbeddedGraphDbImpl.(EmbeddedGraphDbImpl.java:168) >> at >> org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:81) >> at >> org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:65) >> at >> nu.buki.neo4j.SocialNetworkService.(SocialNetworkService.java:46) >> at >> nu.buki.neo4j.SocialNetworkService.main(SocialNetworkService.java:325) >> Caused by: java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> at >> org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager.java:74) >> at >> org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:176) >> ... 10 more >> Caused by: java.lang.NullPointerException >> at >> org.neo4j.index.impl.lucene.LuceneDataSource.findDocument(LuceneDataSource.java:602) >> at >> org.neo4j.index.impl.lucene.CommitContext.getDocument(CommitContext.java:71) >> at >> org.neo4j.index.impl.lucene.LuceneCommand$AddRelationshipCommand.perform(LuceneCommand.java:212) >> at >> org.neo4j.index.impl.lucene.LuceneTransaction.doCommit(LuceneTransaction.java:231) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.commit(XaTransaction.java:319) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.injectTwoPhaseCommit(XaResourceManager.java:380) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyTwoPhaseCommitEntry(XaLogicalLog.java:577) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.applyEntry(XaLogicalLog.java:469) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.doInternalRecovery(XaLogicalLog.java:804) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:274) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.open(XaLogicalLog.java:197) >> at >> org.neo4j.kernel.impl.transaction.xaframework.XaContainer.openLogicalLog(XaContainer.java:98) >> at >> org.neo4j.index.impl.lucene.LuceneDataSource.(LuceneDataSource.java:207) >> ... 16 more >> 12.01.2011 21:05:01 org.neo4j.kernel.impl.transaction.TxManager init >> INFO: Unresolved transactions found, recovery started ... >> Exception in thread "main" org.neo4j.graphdb.TransactionFailureException: No >> mapping found for branchId[0x162374] >> at >> org.neo4j.kernel.impl.transaction.XaDataSourceManager.getXaResource(XaDataSourceManager.java:186) >> at >> org.neo4j.kernel.impl.transaction.TxManager.getXaResource(TxManager.java:935) >> at
[Neo4j] Download site down?
I haven't been able to access https://svn.neo4j.org/ or http://components.neo4j.org/ for a few days. Can someone confirm those sites are up? Thanks. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Download site down?
Adam, things are up for me, so it might be something on your local side? 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://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Jan 13, 2011 at 12:08 AM, Adam Mendlik wrote: > I haven't been able to access https://svn.neo4j.org/ or > http://components.neo4j.org/ for a few days. Can someone confirm those sites > are up? > > 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
[Neo4j] Newbie Question related to IMDB
I'm new to Neo4J and have successfully loaded the IMDB sample. Is there an easy way to migrate the IMDB sample from the built-in jetty server to either Tomcat or the Neo4J application server? I've looked through the list but haven't seen that answered anywhere. Looking forward to diving in and working with Neo4J. Thanks Dave Fauth ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Newbie Question related to IMDB
Hi Dave, Do you mean that you want to deploy Neo4j onto Tomcat? At the moment that's not supported (we don't produce a .war out of our build). Not sure what you mean by Neo4j application server though - can you clarify? Jim On 13 Jan 2011, at 02:30, david fauth wrote: > I'm new to Neo4J and have successfully loaded the IMDB sample. Is there an > easy way to migrate the IMDB sample from the built-in jetty server to either > Tomcat or the Neo4J application server? I've looked through the list but > haven't seen that answered anywhere. > > Looking forward to diving in and working with Neo4J. > > Thanks > Dave Fauth > ___ > 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] Newbie Question related to IMDB
HI Dave, the imdb app is packaged as a war using maven. So you can deploy that easily to Tomcat. The Neo4J Server provides a RESTful interface and is not intended to host applications. If you just want to use the imdb data as your dataset in the Neo4j Server then just copy the files from the original place (e.g. the imdb target directory) to the db/data directory of the server. Cheers Michael Am 13.01.2011 um 08:32 schrieb Jim Webber: > Hi Dave, > > Do you mean that you want to deploy Neo4j onto Tomcat? At the moment that's > not supported (we don't produce a .war out of our build). > > Not sure what you mean by Neo4j application server though - can you clarify? > > Jim > > On 13 Jan 2011, at 02:30, david fauth wrote: > >> I'm new to Neo4J and have successfully loaded the IMDB sample. Is there an >> easy way to migrate the IMDB sample from the built-in jetty server to either >> Tomcat or the Neo4J application server? I've looked through the list but >> haven't seen that answered anywhere. >> >> Looking forward to diving in and working with Neo4J. >> >> Thanks >> Dave Fauth >> ___ >> 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