access denied ("oracle.security.jps.JpsPermission" "IdentityAssertion") when it is tried to Enable BAM Business Continuous Queries.
(Doc ID 2761420.1)
Last updated on JUNE 17, 2024
Applies to:
Oracle BAM (Business Activity Monitoring) - Version 12.2.1.4.0 to 12.2.1.4.0 [Release 12c]Information in this document applies to any platform.
Symptoms
In an upgraded BAM 12.2.1.4.0 it is not possible to enable Business Continuous Queries.
It was found in the bam diagnostic files a java.security.AccessControlException: access denied ("oracle.security.jps.JpsPermission" "IdentityAssertion") exception like:
2021-03-10T19:45:11.951-06:00] [bam_server1] [NOTIFICATION] [] [oracle.beam.commonquery] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: bdd841f0-19b4-4514-9614-91d893ce60ee-00000101,0] [APP: BamServer] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000NWUx5n68hosMwijc6G1WINF5000001] Registering Continuous Query: CREATE QUERY {BAMProjectName}.{BamBusinessQuery} as SELECT {Column1},..., {ColumnN}' AS QUERY_NAME FROM ( ISTREAM(SELECT COUNT({Column1}) AS COUNT{Column1} FROM {DataObject}[RANGE 1 hour ON DATAOBJECT_MODIFIED] AS S GROUP BY {Column}) ) AS T destination "combined:jms:queue/oracle.beam.cqservice.mdbs.alertengine:queuecf/oracle.beam.cqservice.mdbs.alertengine;jms:queue/oracle.beam.cqservice.mdbs.reportcache:queuecf/oracle.beam.cqservice.mdbs.reportcache?batch=true"
[2021-03-10T19:45:14.217-06:00] [bam_server1] [ERROR] [] [oracle.beam.config.server.editor.cmd.CompositeWork] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: bdd841f0-19b4-4514-9614-91d893ce60ee-00000101,0] [APP: BamServer] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000NWUx5n68hosMwijc6G1WINF5000001] Commit fails.[[
oracle.beam.config.server.editor.cmd.CmdException: oracle.beam.common.exceptions.BeamException: BAM-00177: An exception has occurred in BAM query processing. See exception cause for further details.
at oracle.beam.config.server.editor.cmd.cq.CQQueryCreate$CQQueryRegister.commit(CQQueryCreate.java:68)
at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:50)
at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:50)
at oracle.beam.config.server.editor.cmd.cq.CQQueryUpdate.commit(CQQueryUpdate.java:40)
at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:50)
...
Caused by: oracle.beam.common.exceptions.BeamException: BAM-00177: An exception has occurred in BAM query processing. See exception cause for further details.
at oracle.beam.commonquery.execution.biproxy.ProxyCQLQueryDriverImpl.registerDDL(ProxyCQLQueryDriverImpl.java:78)
at oracle.beam.commonquery.execution.AbstractCQLQueryDriver.registerContinuousQuery(AbstractCQLQueryDriver.java:43)
at oracle.beam.commonquery.CommonQueryServiceImpl.registerContinuousQuery(CommonQueryServiceImpl.java:341)
at oracle.beam.config.server.editor.cmd.cq.CQQueryCreate$CQQueryRegister.commit(CQQueryCreate.java:66)
... 178 more
Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
java.security.AccessControlException: access denied ("oracle.security.jps.JpsPermission" "IdentityAssertion")
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:130)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:102)
at com.sun.proxy.$Proxy401.registerCQ(Unknown Source)
at oracle.beam.commonquery.execution.biproxy.ProxyCQLQueryDriverImpl.registerDDL(ProxyCQLQueryDriverImpl.java:53)
... 181 more
Caused by: java.security.AccessControlException: access denied ("oracle.security.jps.JpsPermission" "IdentityAssertion")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:886)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:536)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:392)
...
[2021-03-10T19:45:14.217-06:00] [bam_server1] [ERROR] [] [oracle.beam.config.server.editor.cmd.CompositeWork] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: bdd841f0-19b4-4514-9614-91d893ce60ee-00000101,0] [APP: BamServer] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000NWUx5n68hosMwijc6G1WINF5000001] Commit fails.[[
oracle.beam.config.server.editor.cmd.CmdException: oracle.beam.common.exceptions.BeamException: BAM-00177: An exception has occurred in BAM query processing. See exception cause for further details.
at oracle.beam.config.server.editor.cmd.cq.CQQueryCreate$CQQueryRegister.commit(CQQueryCreate.java:68)
at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:50)
at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:50)
at oracle.beam.config.server.editor.cmd.cq.CQQueryUpdate.commit(CQQueryUpdate.java:40)
at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:50)
...
Caused by: oracle.beam.common.exceptions.BeamException: BAM-00177: An exception has occurred in BAM query processing. See exception cause for further details.
at oracle.beam.commonquery.execution.biproxy.ProxyCQLQueryDriverImpl.registerDDL(ProxyCQLQueryDriverImpl.java:78)
at oracle.beam.commonquery.execution.AbstractCQLQueryDriver.registerContinuousQuery(AbstractCQLQueryDriver.java:43)
at oracle.beam.commonquery.CommonQueryServiceImpl.registerContinuousQuery(CommonQueryServiceImpl.java:341)
at oracle.beam.config.server.editor.cmd.cq.CQQueryCreate$CQQueryRegister.commit(CQQueryCreate.java:66)
... 178 more
Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
java.security.AccessControlException: access denied ("oracle.security.jps.JpsPermission" "IdentityAssertion")
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:130)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:102)
at com.sun.proxy.$Proxy401.registerCQ(Unknown Source)
at oracle.beam.commonquery.execution.biproxy.ProxyCQLQueryDriverImpl.registerDDL(ProxyCQLQueryDriverImpl.java:53)
... 181 more
Caused by: java.security.AccessControlException: access denied ("oracle.security.jps.JpsPermission" "IdentityAssertion")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:886)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:536)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:392)
...
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 |