WebFOCUS Container Edition deployment is failing for init-configs-edaserver POD

WebFOCUS Container Edition deployment is failing for init-configs-edaserver POD

book

Article ID: KB0070888

calendar_today

Updated On:

Products Versions
ibi WebFOCUS ibi(TM) WebFOCUS(R) - Container Edition 1.2.1

Description

Deployment is failing with following error in the logs. In the "init-configs-edaserver" pod log failed with error:
--------

Caused by: java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el9.x86_64/lib/tzdb.dat (No such file or directory).
--------

Resolution

Updated the WFS and WFC docker file before building the images.

Here are the steps you need to do before run ./build_images.sh

1. Download the IBI_wfce_1.2.0.tar or IBI_wfce_1.1.2.tar file to the machine. We are taking IBI_wfce_1.2.0.tar for the example purpose.

2. Untar the file using the following command:

   $ tar -xvf IBI_wfce_1.2.0.tar

3. You need to update the wfc and wfs dockerfile before proceed to image building step.

4. Open and edit IBI_wfce_1.2.0/wfc/Dockerfile and IBI_wfce_1.2.0/wfs/iserver/Dockerfile

5. Update “RUN yum --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-11-openjdk \” to “RUN yum --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-11-openjdk tzdata-java \ in both Dockerfiles in “#install java” section

6. Updated Dockerfile will look like as below:
#install java
RUN yum --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-11-openjdk tzdata-java \
            && yum clean all \
            && rpm -q java-11-openjdk


Below is the screenshot for reference:


 
7. Save the changes and build the images.

Issue/Introduction

This article explains the steps how to fix the WebFOCUS Container Edition deployment failing for init-configs-edaserver POD on WFCE120 and WFCE112 GA build.