I have a master/slave(s) setup and I am finding on the slaves that the slave client will get this message when trying to establish an EntityManager to the slave:
Exception in thread "main" [ObjectDB 2.4.1_06] javax.persistence.PersistenceException Attempt to update types in read only mode (error 614) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) at com.x.test.Test.<init>(Test.java:46) at com.x.Main.start(Main.java:79) at com.x.Main.main(Main.java:48) Caused by: com.objectdb.o.UserException: Attempt to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ad(SHN.java:385) at com.objectdb.o.SHN.K(SHN.java:134) at com.objectdb.o.HND.run(HND.java:133) at java.lang.Thread.run(Thread.java:662)
The weird part is if I restart the slave DB then I can connect no problems and everything works fine. Replication between the DB's is working fine and I see no errors in the logs. I can replicate this problem everytime and restarting the DB will resolve the issue everytime, i've checked the user I am connecting with has "Access" only and I would assume if it was a configuration problem it would either work or it wouldn't, this seems buggy.
Anyone else seen similar?
This is using 2.4.1_06