While Accessing Audit Trail Of Of SOA Composite Instance It Fails With Error "Error fetching audit information"

(Doc ID 2367372.1)

Last updated on MAY 18, 2018

Applies to:

SOA Suite Cloud Service - Version N/A and later
Oracle SOA Suite - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

While accessing Audit trail of some of the SOA Instances, it fails with error "Error fetching audit information". Logs shows below exception trace


ERROR
-----------------------
[2018-02-06T19:08:02.161+00:00] [socq740__adminserver] [ERROR] [] [oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity] [tid: [ACTIVE].ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: soawlsadmin] [ecid: 563ad81b-5fb5-4e5d-8363-5590d9a92b9e-00010a84,0] [APP: em] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000M5gMM5ZFw0h5lBt1iZ1QSLrj00006E] Error fetching audit information[[
java.lang.Exception
at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.getXml(SOAFlowAuditEntity.java:70)
at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.getAuditXml(SOAFlowAuditEntity.java:87)
at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.buildAuditNodes(SOAFlowAuditEntity.java:109)
at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.isAuditNotfound(SOAFlowAuditEntity.java:145)
at sun.reflect.GeneratedMethodAccessor10632.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:362)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at oracle.adf.share.el.VariableResolverELContext$1.getValue(VariableResolverELContext.java:51)
at com.sun.el.parser.AstValue.getValue(AstValue.java:139)
at com.sun.el.parser.AstValue.getValue(AstValue.java:203)
at com.sun.el.parser.AstEqual.getValue(AstEqual.java:58)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:148)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluate(OracleExpressionEvaluatorImpl.java:103)
at oracle.adf.share.el.OracleExpressionEvaluatorImpl.evaluateHandleNull(OracleExpressionEvaluatorImpl.java:84)
at oracle.adf.model.binding.DCUtil.elEvaluate(DCUtil.java:847)
at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getConditionalActivationValue(DCTaskFlowBinding.java:1083)
at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:95)

and

[2018-02-13T20:58:21.499+00:00] [socq740__adminserver] [ERROR] [] [oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity] [tid: [ACTIVE].ExecuteThread: '78' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <username>] [ecid: 563ad81b-5fb5-4e5d-8363-5590d9a92b9e-0001ee55,0] [APP: em] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: 0000M6Gun7_Fw0h5lBt1iZ1QSLrj0000AF] Error fetching audit information[[
java.lang.Exception: access denied ("oracle.fabric.permission.InstancePermission" "<soafolder1>,<soafolder2>" "monitor")
    at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.getXml(SOAFlowAuditEntity.java:70)
    at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.getAuditXml(SOAFlowAuditEntity.java:87)
    at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.buildAuditNodes(SOAFlowAuditEntity.java:109)
    at oracle.soa.mgmt.console.model.flow.SOAFlowAuditEntity.getEcid(SOAFlowAuditEntity.java:158)
    at sun.reflect.GeneratedMethodAccessor11209.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:362)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:139)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:203)
    at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:66)
    at com.sun.el.parser.AstChoice.getValue(AstChoice.java:65)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Access Audit trail of composite instance
 

Changes

 

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