Oracle 12.1.0.2 DB Home Deinstall fails with error "java.io.FileNotFoundException : jdk/jre/lib/currency.data (No such file or directory)" after applying JDK Update Patch
(Doc ID 2598753.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterOracle Cloud Infrastructure - Database Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.
Symptoms
After patching the JDK version in Oracle 12.1.0.2 home to 1.7.0_221(Patch 29924111),the deinstall script fails with the following error message:
Exception in thread "main" java.lang.InternalError
at java.util.Currency$1.run(Currency.java:228)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.Currency.<clinit>(Currency.java:196)
at java.text.DecimalFormatSymbols.initialize(DecimalFormatSymbols.java:585)
at java.text.DecimalFormatSymbols.<init>(DecimalFormatSymbols.java:94)
at java.text.DecimalFormatSymbols.getInstance(DecimalFormatSymbols.java:157)
at java.text.NumberFormat.getInstance(NumberFormat.java:767)
at java.text.NumberFormat.getIntegerInstance(NumberFormat.java:439)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:664)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:585)
at oracle.sysman.oii.oiii.OiiiCompsXMLHandler$OiiiInstallCompElementHandler.onStart(OiiiCompsXMLHandler.java:923)
at oracle.sysman.oix.oixs.OixsElementHandler.startElement(OixsElementHandler.java:140)
at oracle.sysman.oix.oixs.OixsDefaultHandler.startElement(OixsDefaultHandler.java:109)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1635)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:458)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:404)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:244)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:324)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:232)
at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:2307)
at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:1057)
at oracle.sysman.oii.oiii.OiiiAreaInventory.getTopLevelComps(OiiiAreaInventory.java:1877)
at oracle.install.db.deinstall.wrapper.Deinstall.getTopLevelCompVersion(Deinstall.java:2019)
at oracle.install.db.deinstall.wrapper.Deinstall.main(Deinstall.java:539)
Caused by: java.io.FileNotFoundException: /tmp/deinstall2019-09-30_09-18-02AM/jdk/jre/lib/currency.data (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at java.util.Currency$1.run(Currency.java:202)
at java.util.Currency$1.run(Currency.java:228)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.Currency.<clinit>(Currency.java:196)
at java.text.DecimalFormatSymbols.initialize(DecimalFormatSymbols.java:585)
at java.text.DecimalFormatSymbols.<init>(DecimalFormatSymbols.java:94)
at java.text.DecimalFormatSymbols.getInstance(DecimalFormatSymbols.java:157)
at java.text.NumberFormat.getInstance(NumberFormat.java:767)
at java.text.NumberFormat.getIntegerInstance(NumberFormat.java:439)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:664)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:585)
at oracle.sysman.oii.oiii.OiiiCompsXMLHandler$OiiiInstallCompElementHandler.onStart(OiiiCompsXMLHandler.java:923)
at oracle.sysman.oix.oixs.OixsElementHandler.startElement(OixsElementHandler.java:140)
at oracle.sysman.oix.oixs.OixsDefaultHandler.startElement(OixsDefaultHandler.java:109)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1635)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:458)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:404)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:244)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:324)
at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:232)
at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:2307)
at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:1057)
at oracle.sysman.oii.oiii.OiiiAreaInventory.getTopLevelComps(OiiiAreaInventory.java:1877)
at oracle.install.db.deinstall.wrapper.Deinstall.getTopLevelCompVersion(Deinstall.java:2019)
at oracle.install.db.deinstall.wrapper.Deinstall.main(Deinstall.java:539)
Caused by: java.io.FileNotFoundException: /tmp/deinstall2019-09-30_09-18-02AM/jdk/jre/lib/currency.data (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileInputStream.<init>(FileInputStream.java:101)
at java.util.Currency$1.run(Currency.java:202)
In other cases, Below Error may be seen -
[oracle@test deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/site_perl/5.32.0/x86_64-linux-thread-multi /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/site_perl/5.32.0 /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/5.32.0/x86_64-linux-thread-multi /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/5.32.0) at /tmp/deinstall2023-02-16_01-03-19PM/deinstall.pl line 109.
BEGIN failed--compilation aborted at /tmp/deinstall2023-02-16_01-03-19PM/deinstall.pl line 109.
Checking for required files and bootstrapping ...
Please wait ...
Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/site_perl/5.32.0/x86_64-linux-thread-multi /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/site_perl/5.32.0 /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/5.32.0/x86_64-linux-thread-multi /tmp/deinstall2023-02-16_01-03-19PM/perl/lib/5.32.0) at /tmp/deinstall2023-02-16_01-03-19PM/deinstall.pl line 109.
BEGIN failed--compilation aborted at /tmp/deinstall2023-02-16_01-03-19PM/deinstall.pl line 109.
Changes
JDK Update Patch(in this case Patch 29924111) was applied
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |