Fast Object Database for Java - with JPA/JDO support

Problem connecting to the replicated server

#1

I've got a master/slave cluster set up with just a master and a slave.  I can connect to the master with a client app no problem.  My slave can connect to the master and replicate no problem.  But when I use a client app to connect to the slave like this:

objectdb://slaveserverurl.com:6136//masterserverurl.net:6136/prod/theFile.odb;user=slaveUserName;password=slavePassword;

I get an error: User slaveUserName has no permission to to access database file (error 572)

Why is that?



    

#2

Check that you add the user (slaveUserName) to the server's user list of the slave server.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

Hello.  Yes I did, I even gave the slave user permission to the same path as the master user.

#4

In the connection url try to specify a username/password for the master server.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#5

Hi I have tried that, when I do that it will say "Login Error (bad username 'masterUserName' or password) (error 575)"

Post Reply