APAR status
Closed as program error.
Error description
Error Message: N/A . Stack Trace: N/A . MimetypesFileTypeMap.getContentType returns application/octet-stream for all file extension rather than returning the MIME type for specific file object.
Local fix
Problem summary
MimetypesFileTypeMap.getContentType returns application/octet-stream for all file types. The reason for this behaviour is the file /META-INF/mimetypes.default missing in jre/lib/resources.jar in IBM JDK1.7
Problem conclusion
JDK is now updated to have /META-INF/mimetypes.default file in jre/lib/resources.jar. . This APAR will be fixed in the following Java Releases: 7 SR9 FP40 (7.0.9.40) 7 R1 SR3 FP40 (7.1.3.40) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV80522
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-01-19
Closed date
2016-03-18
Last modified date
2016-03-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
21 February 2022