About tutorial

forum_thread

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user=admin;password=password Thank you in advance. ... ( EMF. java : 253 ) at tutorial. Main . main ( Main. java : 22 ) Caused by ...   Test Code package tutorial ;   import javax. persistence . *; import java. ...

 
release

2.5.6

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.7

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.6.0

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.5

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.4

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.1

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.2

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.3

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...

 
release

2.5.0

... You should start by following a  tutorial or reading the manual . For upgrading from version 1.0 ...