My Oracle Support Banner

Downloading Files gets 500 Error. In logs: SEVERE: unsupported encoding: 'AL32UTF8': java.io.UnsupportedEncodingException: AL32UTF8 (Doc ID 2359023.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Application Express (APEX) - Version 5.1.3 and later
Information in this document applies to any platform.

Symptoms

On : APEX 5.1.3 accessed using WLS/ORDS



When attempting to download any file (new or existent one)
the following error occurs.

ERROR
-----------------------
500 error in the front -end browser
and the follow in the WLS managed server log where ORDS is deployed:

----------------

SEVERE: unsupported encoding: 'AL32UTF8': java.io.UnsupportedEncodingException: AL32UTF8
java.lang.IllegalArgumentException: unsupported encoding: 'AL32UTF8': java.io.UnsupportedEncodingException: AL32UTF8
at weblogic.servlet.internal.ServletResponseImpl.setEncoding(ServletResponseImpl.java:1132)
at weblogic.servlet.internal.ServletResponseImpl.setContentType(ServletResponseImpl.java:422)
at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:140)
at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:140)
at oracle.dbtools.apex.HeaderUtils.processHeader(HeaderUtils.java:51)
at oracle.dbtools.apex.HeaderUtils.processResponseHeaders(HeaderUtils.java:32)
at oracle.dbtools.apex.HeaderUtils.processHeaders(HeaderUtils.java:19)

------------------

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Upgrade java to 1.7 and WLS (webLogic Server) to 10.3.6
2. Test the APEX application that used to work loading and downloading files
3. Now download gives 500 error for any file


Changes

 Upgraded Java and WLS

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.