Bug 2224483 - FileNotFOundException: tzdb.dat
Summary: FileNotFOundException: tzdb.dat
Keywords:
Status: NEW
Alias: None
Product: OpenJDK on Windows
Classification: Red Hat
Component: Container Image
Version: 11
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-21 05:56 UTC by Sachin
Modified: 2023-07-25 17:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.