db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narayanan <V.Naraya...@Sun.COM>
Subject Re: Derby replication
Date Fri, 19 Sep 2008 02:22:27 GMT

Yes, I have used the derby replication feature before, I have however 
have not tried between two
windows boxes though. One thing I know is that to make derby replication 
work, I need to do
the same thing between the master and a slave that I would do between a 
Derby client and a
Derby server. The basic network interface is sockets. So the network 
setup is the same.

So basically you could try setting the slavehost property to what you 
set -h to.

You can find information on how to set the slave host property here,


Here are some resources for you (copy pasted from here 

- The wiki page: http://wiki.apache.org/db-*derby*/*ReplicationWriteup* 
- The *Derby* Server and Administration guide: (for example)
- The release notes & download page for the new release:
- Current unresolved issues relating to *Replication* (includes bugs and
improvement requests): http://tinyurl.com/4jkxkh


ext-jb.wang@nokia.com wrote:
> I am trying to test derby replication feature using two windows xp 
> boxes. When I tried to connect from the master derby to the slave 
> derby using this
> connect 
> 'jdbc:derby://localhost:1527/repldb;startMaster=true;slaveHost=slace_box_name'; 
> I got the connection error "XRE04.U.1". Did anybody ever use this 
> derby replication feature?
> I need to add '-h' to start derby to allow other machine to 
> access to my derby db at port 1527. How to allow other machine to 
> access to the port 4851 - default replication port?
> Thanks!
> JB (Jiabing) Wang
> (c) 978-435-1050
> (c) 508-202-2906
> (e) ext-jb.wang@nokia.com

View raw message