db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sureshnadaraj <sureshnadara...@gmail.com>
Subject Hai to All - need a help
Date Fri, 24 Apr 2009 07:22:00 GMT

I tried with replication feature in derby 10.4.2.0 

1.I have freezed the DB

2.copied the Database to new location.

3.Started the slave mode by :
public  String url =
"jdbc:derby:APPSYS_DATA;startSlave=true;slaveHost=localhost";
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
             con = DriverManager.getConnection(url, "sssv", "s123456");

4.And started the server by:
 public  String url =
"jdbc:derby:APPSYS_DATA;startMaster=true;slaveHost=localhost";
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
con = DriverManager.getConnection(url, "sssv", "s123456");
But its not working properly.
Can any one give an example to the asynchronous replication of derby in
embedded mode.  

thanks in advance

Regards 
Suresh N.
-- 
View this message in context: http://www.nabble.com/Hai-to-All---need-a-help-tp23211230p23211230.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message