George, I think you should switch to neo4j-kernel 1.1-SNAPSHOT and online-backup 0.6-SNAPSHOT. You can find an example test at https://svn.neo4j.org/components/online-backup/trunk/src/test/java/org/neo4j/onlinebackup/MultiRunningTest.java , backing up a master database to a backup in another directory (you can to a number of them of course)
Does that help? Cheers, /peter neubauer COO and Sales, Neo Technology 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, Jul 28, 2010 at 4:55 PM, George Ciubotaru <george.ciubot...@weedle.com> wrote: > Hello, > > I'm trying to build a high availability system with neo4j as explained here: > http://wiki.neo4j.org/content/Online_Backup_HA. In theory everything looks > pretty simple and straightforward... but once I try to run the slave process > I'm getting the following exception: > > Throwing away org.neo4j.onlinebackup.net.connecttomaster...@1f1fba0 > java.nio.channels.NotYetConnectedException > at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source) > at sun.nio.ch.SocketChannelImpl.write(Unknown Source) > at org.neo4j.onlinebackup.net.Connection.write(Connection.java:238) > at > org.neo4j.onlinebackup.net.ConnectToMasterJob.sendGreeting(ConnectToMasterJob.java:55) > at > org.neo4j.onlinebackup.net.ConnectToMasterJob.performJob(ConnectToMasterJob.java:141) > at org.neo4j.onlinebackup.net.JobEater.run(JobEater.java:32) > > ... followed by this exception on master side: > > Connection closed Connection[slave_ip_address:11587] > org.neo4j.onlinebackup.net.SocketException: > Connection[slave_ip_address:11587] error reading > Throwing away org.neo4j.onlinebackup.net.handleincommingslave...@fd13b5 > at org.neo4j.onlinebackup.net.Connection.read(Connection.java:210) > at > org.neo4j.onlinebackup.net.HandleIncommingSlaveJob.getGreeting(HandleIncommingSlaveJob.java:41) > at > org.neo4j.onlinebackup.net.HandleIncommingSlaveJob.performJob(HandleIncommingSlaveJob.java:160) > at org.neo4j.onlinebackup.net.JobEater.run(JobEater.java:93) > Caused by: java.nio.channels.ClosedChannelException > at sun.nio.ch.SocketChannelImpl.ensureReadOpen(Unknown Source) > at sun.nio.ch.SocketChannelImpl.read(Unknown Source) > at org.neo4j.onlinebackup.net.Connection.read(Connection.java:205) > ... 3 more > null chain job > > Any idea of what might be wrong here? (I'm running everything on 64-bit > Windows (7 or Server 2008 R2), neo4j-kernel 1.0 and online-backup 0.5) > > Thank you, > George > _______________________________________________ > 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