Usage Note 56108: Printing from SAS® Visual Analytics might fail in a Linux environment if certain shared libraries are missing
Overview
If your SAS Visual Analytics is installed in a Linux environment, printing a report might fail if certain Linux shared libraries are missing. When this problem exists, you might encounter messages that are similar to the following when you attempt to print a report.
Browser exceptions
This exception might appear in the browser:
HTTP Status 500 - java.lang.NullPointerException
type Exception report
message java.lang.NullPointerException
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
Log file warnings and errors
These warnings and errors might appear in the SAS® Visual Analytics Transport Service log.
VAT WARN [tomcat-http--24] 2015-05-27 10:29:52,824
[ST-31704-sQc1cRAbvfC3uqYpSlRn-cas:sasdemo] com.sas.onebi.transportservices.utils.ProcessLogger -
/saswork/SASHome/SASVisualAnalyticsPrintingSupport/7.1/PrintSupport/exploded/BirdPrintPosix.out:
error while loading shared libraries: libjpeg.so.62: cannot open shared object file:
No such file or directory
The Required Shared Libraries
In order for printing to succeed, certain libraries must be installed on the middle tier where SAS Visual Analytics is deployed. Here is a list of known libraries. Depending on your release of SAS Visual Analytics, the version number at the end of the library name might be different. The transport log indicates exactly which library is missing, so you should install the library indicated in the log. The example messages shown previously appeared because the libjpeg.so.62 library was not installed in a SAS Visual Analytics 7.1 environment.
- libjpeg.so.62
- libfreetype.so.6
- libpng12.so.0
- libfontconfig.so.1
- libz.so.1
- libm.so.6
- libpthread.so.0
- libc.so.6
- libexpat.so.1
- libXxf86vm.so.0
- libcurl.so.4
- libXdamage.so.1
- libxcb-shape.so.0
Note: The transport log mentions only the first missing package that it finds. Continue to check the log until you no longer see a message about a missing library.
The packages that provide these shared libraries differ by Linux version and distribution. Both the yum (Red Hat Enterprise Linux and Oracle Linux) and zypper (SuSE Linux Enterprise Server) commands provide options for finding the package that contains a particular file. For more information about finding and installing the required packages, consult the man pages for yum and zypper, and the documentation for your Linux distribution.
Operating System and Release Information
SAS System | SAS Visual Analytics | Linux for x64 | 7.1 | | 9.4 TS1M2 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2018-10-11 14:42:09 |
Date Created: | 2015-07-02 14:36:42 |