Issue #2050: ObjectDB tries to create a File in a localtion without write access

Type: BugPriority: CriticalStatus: FixedReplies: 2


if we install our Product into the windows Program Files directory which have by default no write acces for the 'normal' users.

If we now open 'older' Profiles (older Databases) we get the following exception:

Caused by: javax.persistence.PersistenceException: com.objectdb.o.UserException: Failed to create a new file 'IndexManager_12.mrg_filter'
  at com.objectdb.o._PersistenceException.b(
  at com.objectdb.o.JPE.g(
  at com.objectdb.o.JPE.g(
  ... 25 more
Caused by: com.objectdb.o.UserException: Failed to create a new file 'IndexManager_12.mrg_filter'
  at com.objectdb.o.MSG.d(
  at com.objectdb.o.LFL.D(
  at com.objectdb.o.LFL.B(
  at com.objectdb.o.LFL.B(
  at com.objectdb.o.FCL.l(
  at com.objectdb.o.IXM.A(
  at com.objectdb.o.UTT.l(
  at com.objectdb.o.TSK.i(
  at com.objectdb.o.TSK.f(
  at com.objectdb.o.TSM.e(
  at com.objectdb.o.MST.Vf(
  at com.objectdb.o.WRA.Vf(
  at com.objectdb.o.WSM.Vf(
  at com.objectdb.o.OBM.bQ(
  at com.objectdb.o.OBM.bO(
  at com.objectdb.o.OBM.bM(
  at com.objectdb.jpa.EMImpl.commit(
  ... 22 more
Caused by: IndexManager_12.mrg_filter (Access is denied)
  at Method)
  at Source)
  at<init>(Unknown Source)
  at com.objectdb.o.LFL.D(
  ... 37 more

Please provide a fix which creates the file for example in %TEMP%


Please try build 2.7.0_04.

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

Thank you very much for the fast fix. We had directly used the new version.

Post Reply

To post a reply and/or subscribe to update notifications - please login