OSM Installer Failed with Error: error during .ear update : Bad file descriptor (Doc ID 2004457.1)

Last updated on MAY 01, 2015

Applies to:

Oracle Communications Order and Service Management - Version 7.2.4 and later
Information in this document applies to any platform.

Goal

 OSM installation failed with following error

Mon Apr 27 10:45:17 IST 2015: UpdateEAR: Extracted file commons-configuration-1.9.jar of 325191 bytes with CRC 1828595372 from /opt/OSM_72415/bin/oms.ear
Mon Apr 27 10:45:20 IST 2015: UpdateEAR: Added entry commons-configuration-1.9.jar of 358048 bytes into /opt/OSM_72415/temp/tmp.ear
Mon Apr 27 10:45:20 IST 2015: UpdateEAR: The file, commons-configuration-1.9.jar is Done
Mon Apr 27 10:45:20 IST 2015: UpdateEAR: commons-io-2.0.1.jar has been read from the oms.ear
Mon Apr 27 10:45:20 IST 2015: UpdateEAR: Extracted file commons-io-2.0.1.jar of 144772 bytes with CRC 3973900425 from /opt/OSM_72415/bin/oms.ear
Mon Apr 27 10:45:23 IST 2015: UpdateEAR: Added entry commons-io-2.0.1.jar of 159509 bytes into /opt/OSM_72415/temp/tmp.ear
Mon Apr 27 10:45:23 IST 2015: UpdateEAR: The file, commons-io-2.0.1.jar is Done
Mon Apr 27 10:45:23 IST 2015: UpdateEAR: commons-io-2.4.jar has been read from the oms.ear
Mon Apr 27 10:45:23 IST 2015: UpdateEAR: Extracted file commons-io-2.4.jar of 169807 bytes with CRC 937643154 from /opt/OSM_72415/bin/oms.ear
Mon Apr 27 10:45:26 IST 2015: UpdateEAR: error during .ear update : Bad file descriptor
Mon Apr 27 10:45:26 IST 2015: UpdateEAR: Updating the .ear file :
java.io.IOException: Bad file descriptor
       at java.io.FileOutputStream.writeBytes(Native Method)
       at java.io.FileOutputStream.write(Unknown Source)
       at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
       at java.io.BufferedOutputStream.write(Unknown Source)
       at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
       at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
       at java.util.zip.ZipOutputStream.finish(Unknown Source)
       at java.util.zip.DeflaterOutputStream.close(Unknown Source)
       at java.util.zip.ZipOutputStream.close(Unknown Source)
       at com.mslv.oms.installation.UpdateEAR.copyToJar(UpdateEAR.java:582)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms