IBM Support

Download as PDF function does not work for IBM Content Navigator Container

Troubleshooting


Problem

Select a Word file in ICN. From the menu, select Download it as PDF. After the PDF file generated, try to open it. We found the file was full of mess. Word file’s content has no issue.

Resolving The Problem

The issue reported in APAR IO28608 and fixed in Container 21.0.3, 21.0.2 IFix5, and 21.0.1 IFix7.

After installed the above fix, please follow below steps to update your environment.
==================
It needs to install custom fonts and run below steps to config gdfontpath.
1. In the CR yaml file, add the font setting "gdfontpath" for ICN configuration.
navigator_configuration:
icn_production_setting:
Gdfontpath: "/opt/ibm/wlp/usr/servers/defaultServer/configDropins/overrides/fonts"
2. Deploy ICN by the CR yaml.
3. Prepare the custom fonts for container.
a) Log in OCP console by command line.
With a customer's server which can run Red Hat OpenShift client, then open a terminal, following is a sample to log in, you can get the access token from OCP web console or login by OCP user and password.
Oc login --token=<token> --server=https://<server name>:6443
b) Switch to target project and copy the custom fonts to ICN container. In this case, the custom fonts are in local folder /tmp/fonts, the target project name of OCP is gyfguo-dev.
export project_name=gyfguo-dev
Oc project $project_name
Pods=$(oc get pod --no-headers | grep navigator | awk '{print $1}')
Pod=($pods)
Oc exec -i $pod -- /bin/bash -c "mkdir /opt/ibm/wlp/usr/servers/defaultServer/configDropins/overrides/fonts/"
#copy default fonts to custom font location
Oc exec -it $pod bash
Cp -fr /opt/ibm/java/jre/lib/fonts/* /opt/ibm/wlp/usr/servers/defaultServer/configDropins/overrides/fonts
Exit
# copy custom fonts to container
Oc cp /tmp/fonts/* $pod:/opt/ibm/wlp/usr/servers/defaultServer/configDropins/overrides/fonts/
==================

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB18","label":"Miscellaneous LOB"},"Business Unit":{"code":"BU056","label":"Miscellaneous"},"Product":{"code":"SSEUEX","label":"IBM Content Navigator"},"ARM Category":[{"code":"a8m0z0000001gsdAAA","label":"ICN-\u003ECore-\u003EContainer"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
08 May 2023

UID

ibm16537934