SAP Knowledge Base Article - Public

2897432 - Enable tracing in the Live Universe Connector for SAP Analytics Cloud (SAC) [How-To]

Symptom

An error message or unexpected behavior occurs whilst using the Live Universe Connector in SAP Analytics Cloud (SAC), it is required to enable tracing to gather more details on the issue.

Environment

  • SAP Analytics Cloud 
  • SAP BusinessObjects Business Intelligence Platform 4.x (BI 4.0 / 4.1 / 4.2)
  • Windows
  • Linux / Unix 

Reproducing the Issue

[Enter your Reproducing the Issue here...]

Resolution

To enable tracing for the Live Universe Connector, follow the below steps:

  1. Go to the conf directory of the Tomcat which has the Live Universe Connector deployed, eg:
    C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\conf
  2. Create a new file bo_trace.ini
  3. Add the below lines to the bo_trace.ini (replace <PATHTOLOGSFOLDER> with a path to the desired folder to store the logs:
    size = 494967290; 
    keep_num = -1; 
    sap_trace_level = trace_debug; 
    sap_log_level = log_info; 
    log_dir = "<PATHTOLOGSFOLDER>";

    Note: keep_num = -1; means that logs will never be deleted, leading to the possibility that the logs could use all available disk space. Do not leave it at -1 for an extended period of time.
  4. Next, go to the JAVA options for Tomcat and add the java parameter for the bo_trace.ini:
  1. Windows

    1. If a standalone Tomcat is being used (KBA 2897198) then go to tomcatdir\bin\TomcatXw.exe -> Java tab
      If the SAP BI tomcat is being used, run the program 'Tomcat Configuration' -> Java tab

    2. under the 'Java Options' section, add:
      -Dtracelog.configfile="tomcatdir\conf\bo_trace.ini"
      Eg: -Dtracelog.configfile="C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\conf\bo_trace.ini"
    3. Restart Tomcat

  2. Linux
    1. Navigate to tomcatdir/bin
    2. Open setenv.sh
    3. Add the line (or append to if it already exists):
      JAVA_OPTS="$JAVA_OPTS -Dtracelog.configfile="tomcatdir/conf/bo_trace.ini"
      eg: JAVA_OPTS="$JAVA_OPTS -Dtracelog.configfile=/usr/BOP/tomcat/conf/bo_trace.ini"
    4. Save
    5. Restart Tomcat

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC   , KBA , LOD-ANA-LDC-UNV , SAC Live Data Connection Universe , How To

Product

SAP Analytics Cloud 1.0