sureshnadaraj <[email protected]> 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"); > > I have done the aove properly. but i am geting the error.
Hi, Did you by any chance unfreeze the database and/or stop the original database before performing step 4? Step 4 must be performed while the database is frozen and in the same process as the frozen database. -- Knut Anders
