db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jørgen Løland <Jorgen.Lol...@Sun.COM>
Subject Re: Derby replication
Date Fri, 19 Sep 2008 09:01:59 GMT
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:


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.

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