IBM Support

PI25681;8.5.5: remove export packages of the org.apache.commons.codec from com.ibm.ws.security.oidc.client.jar

Download


Abstract

Export packages in com.ibm.ws.security.oidc.client_1.0.0.jar may cause application initialization failures

Download Description

PI25681 resolves the following problem:

ERROR DESCRIPTION:
The application cannot load its own version of the org.apache.commons.codec.binary.Base64 class that is packaged within the application. The new (WAS_HOME)/plugins/com.ibm.ws.security.oidc.client_1.0.0.jar shipped with fix pack v8.5.5.3 is loaded instead. This causes the application failed with NoSuchMethodError:

java.lang.NoSuchMethodError:
org/apache/commons/codec/binary/Base64.isBase64(Ljava/lang/String;)

LOCAL FIX:
Change the classloader mode for the WAR to parent_last.

PROBLEM SUMMARY

USERS AFFECTED:
All users of IBM WebSphere Application Server

PROBLEM DESCRIPTION:
An application that has packaged org.apache.commons packages with its application may experience an initialization failure. Setting the PARENT_LAST classloader policy can alleviate the problem.

RECOMMENDATION:
Install a fix pack that contains this APAR.

PROBLEM CONCLUSION:
In com.ibm.ws.security.oidc.client_1.0.0.jar, org.apache.commons packages are exported for use by com.ibm.ws.security.openid20.client.jar. These exports may cause applications that package their own version of the org.apache.commons.code packages to fail to initialize.

The org.apache.commons.codec, org.apache.commons.codec.binary, and org.apache.commons.codec.net packages are removed from com.ibm.ws.security.oidc.client_1.0.0.jar. These packages are now bundled in both com.ibm.ws.security.oidc.client_1.0.0.jar and com.ibm.ws.security.openid20.client.jar.

The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.4. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Keywords: IBMWL3WSS, OIDC, INTERIMFIX

Prerequisites

None

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"4398","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PI25681/8.5.5.3/readme.txt"}]
On
[{"DNLabel":"8.5.5.3-WS-WASProd-IFPI25681","DNDate":"11-03-2014","DNLang":"US English","DNSize":"299973","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.3-WS-WASProd-IFPI25681&productid=WebSphere%20Application%20Server&brandid=5","DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Security","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5.3","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24038665