APAR status
Closed as program error.
Error description
When the charset utf8 is specified with double quotes, the Wink JAXRS implementation fails, because the quotes are unexpected. Other implementations like CXF just ignore the quotes and accept that charset definition.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server using JAXRS-1.1 involving a UTF8 * * charset * **************************************************************** * PROBLEM DESCRIPTION: With JAXRS version 1.1 specifying a * * charset of "UTF8" with double quotes * * can encounter an encoding error. * **************************************************************** * RECOMMENDATION: * **************************************************************** In JAXRS 1.1, specifying a charset="UTF-8" vs. charset=UTF-8 may result in an UnsupportedEncodingException. com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause BPMRestAPIServlet: javax.servlet.ServletException: java.io.UnsupportedEncodingException: "UTF-8"
Problem conclusion
Adjusted the Wink RequestProcessor code to tolerate the quotation marks around the charset. The fix for this APAR is targeted for inclusion in fix packs 9.0.5.9 and 8.5.5.21. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH37038
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-05-07
Closed date
2021-07-13
Last modified date
2021-07-13
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
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R850 PSY
UP
R900 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 November 2021