I'm sometimes getting this exception.  Is there a simple answer to why it's occurring?  (It could take some time to produce code that results in this exception reliably).

Caused by: /tmp/objectdb/tmp/objectdb_1252962966569709153/lock.lck (No such file or directory)
        at Method)
        at com.objectdb.o.LFL.E(
        at com.objectdb.o.LFL.C(
        at com.objectdb.o.TFM.<init>(
        at com.objectdb.o.CFG.aG(
        at com.objectdb.o.VLV.o(
        at com.objectdb.o.VLV.m(
        at com.objectdb.o.VLV.n(
        at com.objectdb.o.EVC.l(
        at com.objectdb.o.STA.T(
        at com.objectdb.o.STM.E(
        at com.objectdb.o.OBM.bQ(
        at com.objectdb.jdo.PMImpl.bQ(
        at com.objectdb.o.OBM.bP(
        at com.objectdb.o.OBM.bN(
        at com.objectdb.jpa.EMImpl.commit(
        ... 6 more

The stack trace indicates a problem in preparing a directory for ObjectDB temporary files.

Please verify that the ObjectDB process has permissions to create directories and files at that path.

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

I was using two objectdb servers with the same (default) temp directory.  Changing the temp directory for one of the servers fixed the problem.  Thanks for your help.


Thank you for this update.

Build 2.7.1_06 includes an attempt to handle multiple servers with a shared temp directory better.

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

Post Reply

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