OptimisticLockException and Duplicate or Missing Records During Upsert Using EMS

(Doc ID 2274547.1)

Last updated on JUNE 07, 2017

Applies to:

Oracle BAM (Business Activity Monitoring) - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

On :  12.2.1.2.0 version, BAM

Under load, duplicate records are being sent to the BAM Data Object from EMS.

Also, at times, records are dropped or missing in the Data Object after EMS upsert.

The following error is seen in the log file:  org.eclipse.persistence.exceptions.OptimisticLockException

Example:
Caused by: Exception [EclipseLink-5011] (Eclipse Persistence Services - 2.6.3.v20160526-8f41838): org.eclipse.persistence.exceptions.OptimisticLockException
Exception Description: One or more objects cannot be updated because it has changed or been deleted since it was last read

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