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.<init>(EmbeddedGraphDbImpl.java:168) >> at >> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:81) >> at >> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:65) >> at >> nu.buki.neo4j.SocialNetworkService.<init>(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.<init>(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.<init>(EmbeddedGraphDbImpl.java:168) >> at >> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:81) >> at >> org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:65) >> at >> nu.buki.diss.cep.data.neo4j.SocialNetworkService.<init>(SocialNetworkService.java:46) >> at >> nu.buki.diss.cep.data.neo4j.SocialNetworkService.main(SocialNetworkService.java:325) >> >> any ideas? >> >> Thanks, >> >> Andi >> >> Am 12.01.2011 um 20:49 schrieb Michael Hunger: >> >>> 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 >> >> _______________________________________________ >> 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