db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Hai to All - need a help
Date Fri, 24 Apr 2009 10:20:24 GMT
sureshnadaraj <sureshnadarajan@gmail.com> writes:

> 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.

Hi Suresh,

The steps you described above look correct to me. Could you give some
more details about how it's not working properly?

-- 
Knut Anders

Mime
View raw message