Problem in BAM when Updating/Inserting/Deleting Records in a Data Object used for Security Filters (Doc ID 1448679.1)

Last updated on MARCH 01, 2017

Applies to:

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

Symptoms

Two Data Objects (DO1 and DO2) and one Security Data Object (SDO) are being used.
Security Filters are created for each Data Object: DO1 and DO2.
Both Security Filters point to the same Security Data Object.
With this configuration, data operations (insert, update, delete) fail for the Security Data Object..

Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite 11g
    Part Number E10224-09
52 Defining and Managing Oracle BAM Data Objects
52.6 "Creating Security Filters"


The following error is generated in the bam diagnostic logs:

[2012-03-05T11:27:45.276+02:00] [bam_server1] [TRACE] [] [oracle.bam.common.remoting.BamEjbClient] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 11d1def534ea1be0:5860bb00:135e1fe1a9c:-8000-0000000000001481,0] [SRC_CLASS: oracle.bam.common.remoting.BamEjbClient] [APP: oracle-bam#11.1.1] [SRC_METHOD: invoke] [12] Failed executing BamAdcServer.insert due to exception. Method is non-retryable. No retry will be attempted.[[
Subject:
Principal: Administrators
Principal: weblogic
Principal: authenticated-role
Private Credential: weblogic
Private Credential: Subject:
Principal: weblogic
Principal: Administrators
Private Credential: weblogic


Exception: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbClient.invoke(BamEjbClient.java:1214)
at $Proxy178.insert(Unknown Source)
at oracle.bam.adc.api.client.BamAdcClient.insert(BamAdcClient.java:553)
at oracle.bam.adc.api.datasets.Dataset.insert(Dataset.java:1060)
at oracle.bam.adc.api.rowsets.Row.save(Row.java:709)
...
Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
oracle.bam.adc.common.exceptions.CacheException: BAM-01262: Active Data Cache server exception in insert().
; nested exception is: oracle.bam.adc.common.exceptions.CacheException: BAM-01262: Active Data Cache server exception in insert().
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:121)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:103)
at $Proxy141.insert(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbClient.invoke(BamEjbClient.java:1214)
...
Caused by: oracle.bam.adc.common.exceptions.CacheException: BAM-01262: Active Data Cache server exception in insert().
at oracle.bam.adc.kernel.util.Util.getCacheException(Util.java:101)
at oracle.bam.adc.kernel.util.Util.getCacheException(Util.java:154)
at oracle.bam.adc.kernel.util.Util.getCacheException(Util.java:172)
at oracle.bam.adc.kernel.server.DataStoreServer.insert(DataStoreServer.java:1612)
at oracle.bam.adc.kernel.server.DataStoreServer.insert(DataStoreServer.java:1574)
...
Caused by: java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
at java.util.AbstractList$Itr.next(AbstractList.java:343)
at oracle.bam.adc.kernel.datasets.Dataset.refreshSecurityFiltersOfSecuredDatasets(Dataset.java:2494)
at oracle.bam.adc.kernel.datasets.Dataset.insertRow(Dataset.java:1688)
at oracle.bam.adc.kernel.server.DataStoreServer.insert(DataStoreServer.java:1606)
at oracle.bam.adc.kernel.server.DataStoreServer.insert(DataStoreServer.java:1574)
..
]]

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