BAM 12c Continuous Query fails to activate during save and activate "oracle.beam.common.exceptions.BeamException: BAM-04005: Query execution error" (Doc ID 2024657.1)

Last updated on JUNE 10, 2016

Applies to:

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

Symptoms

In BAM 12c a Business Query of type Continuous Query with Template Monitor Count was created.
The query uses a Logical Data Object and that Logical Data Object uses multiple Data Object Mappings left outer joins to External Dimension Data Objects.
If the Save and Activate is clicked the following exception is generated:

[2015-04-17T14:13:53.951-04:00] [WLS_BAM] [ERROR] [] [oracle.beam.config.server.editor.cmd.CompositeWork] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic_soa] [ecid: 0054yyAk^i9FCCqMwMU^MG0000hQ0002qw,0:1] [APP: BamServer] [DSID: 0000Kn7t18UFCCqMwMQ_MG1LCET0000003] Commit fails.[[
oracle.beam.config.server.editor.cmd.CmdException: oracle.beam.common.exceptions.BeamException: BAM-04005: Query execution error.
    at oracle.beam.config.server.editor.cmd.cq.CQQueryCreate$CQQueryStart.commit(CQQueryCreate.java:100)
    at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:47)
    at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:47)
    at oracle.beam.config.server.editor.cmd.cq.CQQueryUpdate.commit(CQQueryUpdate.java:40)
    at oracle.beam.config.server.editor.cmd.CompositeWork.commit(CompositeWork.java:47)
    at oracle.beam.config.server.editor.BeamObjectEditor.runWork(BeamObjectEditor.java:214)
    at oracle.beam.config.server.editor.BeamObjectEditor.runWorks(BeamObjectEditor.java:218)
    at oracle.beam.config.server.editor.BeamObjectEditor.update(BeamObjectEditor.java:209)
    at oracle.beam.config.server.ConfigSessionBean.update(ConfigSessionBean.java:213)
    at sun.reflect.GeneratedMethodAccessor2472.invoke(Unknown Source)
    ...
Caused by: oracle.beam.common.exceptions.BeamException: BAM-04005: Query execution error.
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:258)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:474)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:285)
    at oracle.beam.cqservice.services.CQServiceBean_7dvq6r_CQServiceImpl_12130_WLStub.registerCQ(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
    at com.sun.proxy.$Proxy234.registerCQ(Unknown Source)
    at oracle.beam.commonquery.execution.biproxy.ProxyCQLQueryDriverImpl.registerDDL(ProxyCQLQueryDriverImpl.java:52)
    at oracle.beam.commonquery.execution.AbstractCQLQueryDriver.startContinuousQuery(AbstractCQLQueryDriver.java:31)
    at oracle.beam.commonquery.CommonQueryServiceImpl.startContinuousQuery(CommonQueryServiceImpl.java:236)
    at oracle.beam.config.server.editor.cmd.cq.CQQueryCreate$CQQueryStart.commit(CQQueryCreate.java:98)
    ...
]]



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