From derby-user-return-9800-apmail-db-derby-user-archive=db.apache.org@db.apache.org Fri Sep 19 09:03:42 2008 Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 7345 invoked from network); 19 Sep 2008 09:03:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 09:03:41 -0000 Received: (qmail 80267 invoked by uid 500); 19 Sep 2008 09:03:37 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 80248 invoked by uid 500); 19 Sep 2008 09:03:37 -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 80237 invoked by uid 99); 19 Sep 2008 09:03:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 02:03:37 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=FS_REPLICA,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 09:02:36 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe3.eu.sun.com [192.18.6.12]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m8J92qQZ000687 for ; Fri, 19 Sep 2008 09:03:02 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K7F00H01Q7BCK00@fe-emea-09.sun.com> (original mail from Jorgen.Loland@Sun.COM) for derby-user@db.apache.org; Fri, 19 Sep 2008 10:02:51 +0100 (BST) Received: from [80.233.255.45] by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K7F001SZQFCZU00@fe-emea-09.sun.com> for derby-user@db.apache.org; Fri, 19 Sep 2008 10:02:00 +0100 (BST) Date: Fri, 19 Sep 2008 12:01:59 +0300 From: =?ISO-8859-1?Q?J=F8rgen_L=F8land?= Subject: Re: Derby replication In-reply-to: Sender: Jorgen.Loland@Sun.COM To: Derby Discussion Message-id: <48D36A87.8080403@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 8BIT References: User-Agent: Thunderbird 2.0.0.16 (X11/20080724) X-Virus-Checked: Checked by ClamAV on apache.org Hi JB, You didn't tell whether or not you run Derby with the security manager enabled. If you do, you have to grant the server sufficient socket permissions as described in the Derby Server and Admin Guide here: http://db.apache.org/derby/docs/10.4/adminguide/cadminreplicsecurity.html If neither of these tips are of any use, it would be much easier to suggest solutions if you give more details. Especially, derby.log should contain more information on what went wrong. Regards, Jørgen Løland 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 >