Home » Search

About lock

21-30 of 165Refresh
Forum
20

Optimistic Locking

We are having problems with optimistic locking. I made a simple test case to try to induce an optimistic lock. I have two users logged on to our system.  They both read and display the same data ... does not get an optimistic lock exception, so the database has user 2’s change. Do you have a simple
Forum
20

Undeployment of an remote Glassfish application locks objectdb log file

, I can delete the folder. The locked file problem does not exist if I deploy the WebApplication on an local Glassfish server. How can I undeploy the application without getting the logfile locked ... :/" and then it worked to undeploy the webapplication. But now is the logfile at c:/ locked. The problem
Forum
19

Optimistic locking failure

Optimistic locking failure: I am using a Semaphore to force this execution of concurrents ... . Please explain the test output: Sequential=true Lock=WRITE Thread[Thread-2,5,main] READ  A1 version=1 ... version=2 value=30 Sequential=false Lock=WRITE Thread[Thread-6,5,main] READ  A1 version=1 value=0
Issue
19

Pessimistic lock timeout - blocks indefinitely

to update the object. I'm using a pessimistic lock with timeout as follows: Map properties = new HashMap(); properties.put("javax.persistence.lock.timeout", 5000 ... get released at the correct time but thrown a LockTimeoutException implying that the first lock wasn't
Forum
19

Optimistic lock failed : object has version .. instead of ..

.OptimisticLockException Optimistic lock failed for object entities.Record#'1405/838/2011/121' (object ... :381) ... Thank you! Optimistic locking is explained in this manual page. adibe
Forum
19

Pessimistic lock

=true javax.jdo.option.RestoreValues=false The DB2 returns the message "Optimistic lock failed ... .objectdb.o._JdoUserException: Attempt to lock an entity object by retrieval when no transaction is activ
Forum
19

Remove a modified entity cause an optimistic lock exception

. The second example is an OSGi program which fails with an optimistic lock exception. Both examples ... ). Can you explain the optimistic lock exception? It seems that the first level cache contains yet a dirty entity
Forum
18

explorer locks local database in readonly mode

hi, my current use case is: execute unit test, verify results in explorer. my problem, i have to close the explorer before every run, and open it again after the tests are done. this slows down the whole process. i opened the database in readonly mode, but the file will be locked by the explorer
Issue
18

File lock exception on odb$

below. No other process had a lock on the file, especially as the server had just been rebooted
Forum
18

Optimistic lock

Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the changes made to the object before the violation be retained or must they be duplicated in the retry code?  Assuming it affects only one object.  tia. The exact situation that you describe is unclear