Optimistic Locking Error When Creating Logicaldevice With Associated Places. (Doc ID 1418906.1)

Last updated on APRIL 03, 2015

Applies to:

Oracle Communications Unified Inventory Management - Version 7.1.2 and later
Information in this document applies to any platform.

Symptoms

Sometimes kodo.util.OptimisticVerificationException is observed when there are multiple simultaneous calls to AttachmentManager.createRel(Involvement inv) while associating Logical Device to Geographic Place.
Following error gets logged to the UIM logs:

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: [[ GeographicSiteDAO oid=com.metasolv.impl.entity.GeographicPlaceDAO-7265720 !PTDND!=TTFFF id=LAB name=LAB description=null formattedIdentifier=null latitude=null longitude=null vertical=null horizontal=null lastModifiedUser=<anonymous> lastModifiedDate=Fri Jan 27 21:18:39 CST 2012 ]] [java.util.ArrayList]
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: [[ GeographicSiteDAO oid=com.metasolv.impl.entity.GeographicPlaceDAO-7265720 !PTDND!=TTFFF id=LAB name=LAB description=null formattedIdentifier=null latitude=null longitude=null vertical=null horizontal=null lastModifiedUser=<anonymous> lastModifiedDate=Fri Jan 27 21:18:39 CST 2012 ]] [java.util.ArrayList]
at kodo.runtime.PersistenceManagerImpl.throwFlushException(PersistenceManagerImpl.java:1524)
at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1386)
at kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1267)
at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1037)
at com.metasolv.api.framework.persistence.impl.JdoBean.flushTransaction(JdoBean.java:918)
at oracle.communications.inventory.webservice.adapter.ni.LogicalDeviceAdapterImpl.addDeviceToSite(LogicalDeviceAdapterImpl.java:270)
at oracle.communications.inventory.webservice.adapter.ni.LogicalDeviceAdapterImpl.createLogicalDevice(LogicalDeviceAdapterImpl.java:229)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms