Fixes are available
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
APAR status
Closed as program error.
Error description
When trying to create an Oauth 2 Custom Mediator we see Stack Dump = java.lang.NoClassDefFoundError: com/ibm/ejs/ras/Tr at com.ibm.ws.security.oauth20.mediator.ResourceOwnerValidationMedi dator.<clinit>(ResourceOwnerValidationMedidator.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons tructorAccessorImpl.java:39) at ... Caused by: java.lang.ClassNotFoundException: com.ibm.ejs.ras.Tr at com.ibm.ws.classloading.internal.AppClassLoader.findClassCommonL ibraryClassLoaders(AppClassLoader.java:390) at com.ibm.ws.classloading.internal.AppClassLoader.findClass(AppCla ssLoader.java:247) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at com.ibm.ws.classloading.internal.AppClassLoader.loadClass(AppCla ssLoader.java:366) ... 37 more
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty Core * **************************************************************** * PROBLEM DESCRIPTION: A NoClassDefFoundError exception is * * thrown when trying to access a * * custom OAuth mediator. * **************************************************************** * RECOMMENDATION: * **************************************************************** When attempting to use the com.ibm.ws.security.oauth20.mediator.ResourceOwnerValidationMedi dator class mentioned in documentation as a custom OAuth mediator, a NoClassDefFoundError exception for the com.ibm.ejs.ras.Tr class is thrown. This exception is thrown because the com.ibm.ejs.ras.Tr and com.ibm.ejs.ras.TraceComponent classes are deprecated for Liberty profile servers and are not accessible.
Problem conclusion
The renamed com.ibm.ws.security.oauth20.mediator.ResourceOwnerValidationMedi ator class has been added with the appropriate references to the updated Tr and TraceComponent classes. The NoClassDefFoundError exception should be avoided by using com.ibm.ws.security.oauth20.mediator.ResourceOwnerValidationMedi ator as the value for the mediatorClassname attribute in the server configuration instead of com.ibm.ws.security.oauth20.mediator.ResourceOwnerValidationMedi dator. The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.2. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM95013
Reported component name
WAS LIBERTY COR
Reported component ID
5725L2900
Reported release
855
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2013-08-13
Closed date
2013-09-19
Last modified date
2013-09-19
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
WAS LIBERTY COR
Fixed component ID
5725L2900
Applicable component levels
R855 PSY
UP
Document Information
Modified date:
12 January 2022