We tried to open objectdb databases from application and got following error:
Attempt to open a database file 'D:\tmp\PAT-707\TC_9_2_3_1_8b@2015-09-17_12.08.15\TC_9_2_3_1_8b@2015-09-17_12.08.15.pa3' that is currently in use by another process (error 141) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:260) at com.anritsu.pa3.application.pa3datastore.AppDataStoreManager.doOpenDataStore(AppDataStoreManager.java:252) at com.anritsu.pa3.application.pa3datastore.AppDataStoreManager.openDataStore(AppDataStoreManager.java:63) at com.anritsu.pa3.application.pa3guiapplication.managers.AppDataImportManager$4.run(AppDataImportManager.java:487) at java.lang.Thread.run(Thread.java:722) Caused by: com.objectdb.o.UserException: Attempt to open a database file 'D:\tmp\PAT-707\TC_9_2_3_1_8b@2015-09-17_12.08.15\TC_9_2_3_1_8b@2015-09-17_12.08.15.pa3' that is currently in use by another process at com.objectdb.o.MSG.d(MSG.java:62) at com.objectdb.o.LFL.G(LFL.java:934) at com.objectdb.o.LFL.B(LFL.java:880) at com.objectdb.o.LFL.B(LFL.java:790) at com.objectdb.o.SFL.<init>(SFL.java:235) at com.objectdb.o.MST.<init>(MST.java:123) at com.objectdb.o.MST.aM(MST.java:105) at com.objectdb.o.MSF.U1(MSF.java:188) at com.objectdb.o.OMF.ao(OMF.java:777) at com.objectdb.jpa.EMF.ao(EMF.java:238) at com.objectdb.o.OMF.an(OMF.java:690) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:257) ... 4 more
Is it possible to open object db files in read only mode from several application instances?