Hi,
We are facing below issue in objectdb clustering. Currently in objectdb clustering when master server is down ,in slave server during update operation in table getting below issues.
Failed to commit transaction: Attempt to commit a transaction in read only mode[ObjectDB 2.8.2] javax.persistence.RollbackException
Failed to commit transaction: Attempt to commit a transaction in read only mode (error 613)
at com.objectdb.jpa.EMImpl.commit(EMImpl.java:180)
at code.db.jpa.oodb.ObjDBem.doCommitInsert(ObjDBem.java:75)
at code.db.jpa.oodb.ObjDBem.Update(ObjDBem.java:224)
This is the configuration done in objectdb configuration file.
<database>
<size initial="256kb" resize="256kb" page="2kb" />
<recovery enabled="true" sync="true" path="." max="128mb" />
<recording enabled="true" sync="true" path="." mode="write" />
<locking version-check="true" />
<processing cache="64mb" max-threads="10" />
<query-cache results="32mb" programs="500" />
<extensions drop="temp,tmp" memory="mem" />
</database>
Any help would be greatly appreciated. Thanks!