Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 74369 invoked from network); 19 Sep 2008 02:23:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 02:23:13 -0000 Received: (qmail 9285 invoked by uid 500); 19 Sep 2008 02:23:09 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 9264 invoked by uid 500); 19 Sep 2008 02:23:09 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 9253 invoked by uid 99); 19 Sep 2008 02:23:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 19:23:08 -0700 X-ASF-Spam-Status: No, hits=-2.7 required=10.0 tests=FS_REPLICA,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.19.7] (HELO sineb-mail-2.sun.com) (192.18.19.7) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 02:22:08 +0000 Received: from fe-apac-06.sun.com (fe-apac-06.sun.com [192.18.19.177] (may be forged)) by sineb-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m8J2MaeA018423 for ; Fri, 19 Sep 2008 02:22:39 GMT Received: from conversion-daemon.mail-apac.sun.com by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0K7F003017WY4W00@mail-apac.sun.com> (original mail from V.Narayanan@Sun.COM) for derby-user@db.apache.org; Fri, 19 Sep 2008 10:22:36 +0800 (SGT) Received: from [10.40.3.254] ([195.13.166.253]) by mail-apac.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0K7F0007F7XHW94T@mail-apac.sun.com> for derby-user@db.apache.org; Fri, 19 Sep 2008 10:22:36 +0800 (SGT) Date: Fri, 19 Sep 2008 07:52:27 +0530 From: Narayanan Subject: Re: Derby replication In-reply-to: Sender: V.Narayanan@Sun.COM To: Derby Discussion Message-id: <48D30CE3.7070800@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: User-Agent: Thunderbird 2.0.0.14 (X11/20080505) X-Virus-Checked: Checked by ClamAV on apache.org Hi, 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, http://db.apache.org/derby/docs/dev/ref/rrefattribslavehost.html Here are some resources for you (copy pasted from here http://www.nabble.com/apache-derby-REPLICATION-td16914359.html) - The wiki page: http://wiki.apache.org/db-*derby*/*ReplicationWriteup* - The *Derby* Server and Administration guide: (for example) http://db.apache.org/*derby*/*docs*/dev/adminguide/cadminreplication.html - The release notes & download page for the new release: http://db.apache.org/*derby*/releases/release-10.4.1.3.cgi - Current unresolved issues relating to *Replication* (includes bugs and improvement requests): http://tinyurl.com/4jkxkh Narayanan 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 0.0.0.0' 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 >