Bug 2224483

Summary: FileNotFOundException: tzdb.dat
Product: OpenJDK on Windows Reporter: Sachin <schinraw>
Component: Container ImageAssignee: Deepak Bhole <dbhole>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 11CC: jonathan.albrecht, josef.cacek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sachin 2023-07-21 05:56:18 UTC
Description of problem: Getting this exception in my docker container after install open-jdk-11-devel in my redhat/ubi:latest tag in docker file, detailed exception:

Exception in thread "main" java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory)


Version-Release number of selected component (if applicable): java-11-openjdk-11.0.20.0.8-2.el8.x86_64


How reproducible: try the following command in the docker container:
FROM redhat/ubi8:8.6
RUN yum install net-tools unzip cronie java-11-openjdk-devel -y 


Actual results:

File not found exception
Expected results:
Application started

Additional info:

Comment 1 Josef Cacek 2023-07-21 12:33:15 UTC
Hazelcast Docker images based on ubi8-minimal are also affected.
Workaround is to install the package tzdata-java manually.