CA UIM / AXA - external_cabi UIM dashboards not loading

Document ID : KB000095865
Last Modified Date : 15/05/2018
Show Technical Document Details
Issue:
We've configured the cabi_external probe for the CABI (Jasper Reports Server) reporting integration. After following the below guide, we were able to use CABI for UIM. 

Install or Upgrade for an External CA Business Intelligence JasperReports Server - https://docops.ca.com/ca-unified-infrastructure-
management/8-5-1/en/installing-ca-uim/ca-business-intelligence-with-ca-uim/installing-and-upgrading-ca-business-intelligence-jasperreports-
server-with-ca-uim/install-or-upgrade-for-an-external-ca-business-intelligence-jasperreports-server

We are creating solution consisting of multiple CA products (UIM, SD, APM, AXA, CABI). CABI for AXA requires a Web App Integration setup, process explained in the following education video: 

CA App Experience Analytics: Web App Integration - https://www.youtube.com/watch?v=4VlRb2iZP-w

During this process you must configure java scripts in the following file: 

C:\Program Files\CA\SC\CA Business Intelligence\apache-tomcat\webapps\jasperserver-pro\WEB-INF\decorators\decorators.jsp

After following the guide CABI for AXI works however, the UIM CABI integration no longer works. Dashboards never load any data in the UMP or CABI Web Console. 
 
Resolution:
For the AXA Web App Integration setup the javascripts are added in the decorators.jsp file: 

<html>
    <head>
        <title><spring:message code="company.name"/>: <decorator:title /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=${requestScope['com.jaspersoft.ji.characterEncoding']}">

        <!--
        <meta http-equiv="X-UA-Compatible" content="IE=8"/>
        -->
        <link rel="shortcut icon" href='${pageContext.request.contextPath}/<spring:theme code="images/favicon.ico" />' />

        <!--
            <link rel="shortcut icon" href="favicon.ico" />
        -->
        <%@ include file="decoratorCommonImports.jsp" %>
        <decorator:head />
    </head>

The java script entries must be added at the bottom of the html section, i.e: 

<html>
    <head>
        <title><spring:message code="company.name"/>: <decorator:title /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=${requestScope['com.jaspersoft.ji.characterEncoding']}">

        <!--
        <meta http-equiv="X-UA-Compatible" content="IE=8"/>
        -->
        <link rel="shortcut icon" href='${pageContext.request.contextPath}/<spring:theme code="images/favicon.ico" />' />

        <!--
            <link rel="shortcut icon" href="favicon.ico" />
        -->
        <%@ include file="decoratorCommonImports.jsp" %>
        <decorator:head />

       <script type="text/javascript" id="ca_xxxx" sro="http://xx.x.x.xx:xxxx/xxx/xx/xxxx/xxxxxxx/xxx.js"></script>
       <script type="text/javascript" id="ca_xxxx" sro="http://xx.x.x.xx:xxxx/xxx/xx/xxxx/xxxxxxx/xxx.js" data-profileUrl="etc"></script>

    </head>