CA Business Intelligence JasperServer encountered an error while generating a report with graphics (such as charts):
The jasperserver.log contains the following:
2022-03-21T22:00:20,580 ERROR SecureExceptionHandlerImpl,JasperServerScheduler_Worker-2:116 - There was an error on the server. Try again or contact site administrators
. (Error UID: fb6b10ee-9067-4075-8e01-e2278a55016d)
2022-03-21T22:00:20,580 ERROR ReportExecutionJob,JasperServerScheduler_Worker-2:327 - The export to pdf was not completed. An error interrupted the process. (Error UID:
fb6b10ee-9067-4075-8e01-e2278a55016d) org.quartz.JobExecutionException: Did not find report result for {paginated: null, maxPageHeight: null, maxPageWidth: null}
at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor.getReportResultForOutput(InternalReportExecutor.java:504)
at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor$InternalReportExecutionOutput.getReportOutput(InternalReportExecutor.java:166
)
at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:493)
at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:219)
at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:45)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Spectrum 22.2.x, 23.3.x
CABI 7.9.2.x
Some of the libX graphics libraries are not installed, as per the following errors shown in the JasperServer log:
$CABI_HOME/apache-tomcat/webapps/jasperserver-pro/WEB-INF/logs/
2022-04-06T16:45:44,741 ERROR ReportExecutionJob,JasperServerScheduler_Worker-1:327 - The report was not completed. An error occurred while executing it. (Error UID: 5036f80d-3288-4619-88ea-2ab941be7884) com.github.kklisura.cdt.launch.exceptions.ChromeProcessTimeoutException: Failed while waiting for chrome to start: Timeout expired! Chrome output: /opt/CA/SharedComponents/CA_Business_Intelligence/apache-tomcat/webapps/jasperserver-pro/chrome/chrome: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory
at com.github.kklisura.cdt.launch.ChromeLauncher.waitForDevToolsServer(ChromeLauncher.java:368)
...
2022-03-22T13:15:04,564 ERROR ReportExecutionJob,JasperServerScheduler_Worker-1:327 - The report was not completed. An error occurred while executing it. (Error UID: 188fdd7e-547c-4d5d-9234-49449ae6d119) com.github.kklisura.cdt.launch.exceptions.ChromeProcessTimeoutException:Failed while waiting for chrome to start: Timeout expired! Chrome output: /opt/CA/SharedComponents/CA_Business_Intelligence/apache-tomcat/webapps/jasperserver-pro/chrome/chrome: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
These errors show missing Linux graphics rendering packages. The above for example show that libXcomposite.so.1 and libXrandr.so.2 are missing.
These are pre-requisites for the libraries we list under:
CA Business Intelligence - Pre-requisites
To correct this, install these packages (where it says error while loading shared libraries: in the error).For example:
yum install libXrandr.so.2
Other examples of missing libraries could be:
- libnss3.so
- libasound.so.2