My Oracle Support Banner

OptimisticLockException and Duplicate or Missing Records During Upsert Using EMS (Doc ID 2274547.1)

Last updated on FEBRUARY 03, 2019

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.