kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [...] [java.util.ArrayList]

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Optimistic mode

    Oracle Community | 1 decade ago | 3004
    kodo.util.OptimisticVerificationException: Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [...] [java.util.ArrayList]

    Root Cause Analysis

    1. kodo.util.OptimisticVerificationException

      Optimistic locking errors were detected when flushing to the data store. This indicates that some objects were concurrently modified in another transaction. Failed objects: [...] [java.util.ArrayList]

      at kodo.runtime.PersistenceManagerImpl.throwFlushException()
    2. kodo.runtime
      PersistenceManagerImpl.beforeCompletion
      1. kodo.runtime.PersistenceManagerImpl.throwFlushException(PersistenceManagerImpl.java:1294)
      2. kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1159)
      3. kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1042)
      4. kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:969)
      4 frames
    3. weblogic.transaction.internal
      ServerTransactionImpl.commit
      1. weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1010)
      2. weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:115)
      3. weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1216)
      4. weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1990)
      5. weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:275)
      6. weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:246)
      6 frames
    4. weblogic.ejb20.internal
      StatelessEJBObject.postInvoke
      1. weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
      2. weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
      2 frames
    5. com.myapp
      DataAccess_55rfae_EOImpl_WLSkel.invoke
      1. com.myapp.DataAccess_55rfae_EOImpl.commit(DataAccess_55rfae_EOImpl.java:523)
      2. com.myapp.DataAccess_55rfae_EOImpl_WLSkel.invoke(Unknown Source)
      2 frames
    6. weblogic.rmi.internal
      BasicServerRef.invoke
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
      1 frame
    7. weblogic.rmi.cluster
      ReplicaAwareServerRef.invoke
      1. weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
      1 frame
    8. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
      1 frame
    9. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    10. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    11. weblogic.rmi.internal
      BasicExecuteRequest.execute
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
      2. weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
      2 frames
    12. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
      2 frames