IBM Support

Control Center Reporting not working from a Cloud install

Troubleshooting


Problem

The customer has installed the software in their IBM Cloud account to perform this demo, and everything is working, less the report module.

When they try to save a report, they get an error message. REBV020E: Problem encountered while running the report.

Symptom

Web Console shows - REBV020E: Problem encountered while running the report.

 

Cause

The necessary fonts are not available on the Cloud environment.

Diagnosing The Problem

Review the ccweb logs for the errors
Web Logs show
BaseException [code=REBV020E, message=null, exception=null]
    at com.ibm.cc.reports.service.ReportsServiceImpl.getReportRunStatus(ReportsServiceImpl.java:588)
    at com.ibm.cc.reports.controller.ReportsControllerImpl.runReportEventStatus(ReportsControllerImpl.java:69)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
If reports are run can show errors in logs
ERROR CCReport - Error initializing graphic environment. Stack Trace: net.sf.jasperreports.engine.JRRuntimeException: Error initializing graphic environment. at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:63)

Resolving The Problem

Resolution Description:
  1. Stop your Control Center
  2. goto bin directory.
  3. take a backup of runEngine.sh
  4. vi runEngine.sh
  5. locate this line (could be line number 44)

JAVA_SYSTEM_VAR="-Dopenjpa.DynamicEnhancementAgent=false -Djava.util.Arrays.useLegacyMergeSort=true -Dfile.encoding=UTF-8"

And replace it with

JAVA_SYSTEM_VAR="-Dopenjpa.DynamicEnhancementAgent=false -Djava.util.Arrays.useLegacyMergeSort=true -Dfile.encoding=UTF-8 -Djava.awt.headless=true"

6. sudo yum install fontconfig

7. sudo yum install urw-fonts

8. Start your Control Center.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSJC3O","label":"IBM Sterling Control Center Monitor"},"ARM Category":[{"code":"a8m0z000000cwW9AAI","label":"REPORTING\/COGNOS"}],"ARM Case Number":"TS015470512","Platform":[{"code":"PF016","label":"Linux"}],"Version":"6.3.0;6.3.1;and future releases"}]

Document Information

Modified date:
21 February 2024

UID

ibm17122451