Fixes are available
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
PI85892:classcastexceptions while doing a naming lookup for beanmanger
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.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
8.5.5.21: WebSphere Application Server V8.5.5.21
APAR status
Closed as program error.
Error description
Update: Please see PI85892 - this update caused a regression and When a JSF application is performing a JNDI lookup, the following exception is thrown. This should return null rather than throwing an exception. Exception data follows: javax.enterprise.inject.UnsatisfiedResolutionException: The cdiincident.war module in the cdiincident_war application is not CDI enabled. The CDI BeanManager is not available for applications that are not CDI enabled. at com.ibm.ws.webbeans.naming.BeanManagerObjectFactory.getObjectIns tance(BeanManagerObjectFactory.java:123) at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstanceUsing ObjectFactoryBuilders(ObjectFactoryHelper.java:351) at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance(Obje ctFactoryHelper.java:109) at org.apache.aries.jndi.OSGiObjectFactoryBuilder.getObjectInstance (OSGiObjectFactoryBuilder.java:62) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j ava:312)
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * **************************************************************** * PROBLEM DESCRIPTION: An unsatisfied resolution exception * * is thrown even in applications that * * do not use CDI * **************************************************************** * RECOMMENDATION: * **************************************************************** An unsatisfied resolution exception is thrown from com.ibm.ws.webbeans.naming.BeanManagerObjectFactory.getObjectIns tance when an application is not cdi enabled.
Problem conclusion
The code throwing the exception was modifed to log a warning instead. NOTE: See PI85892 for details of a regression in this APAR The fix for this APAR is currently targeted for inclusion in fix pack 8.5.5.12. 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
PI66630
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
2016-07-28
Closed date
2017-09-14
Last modified date
2017-09-14
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
R800 PSY
UP
R850 PSY
UP
Document Information
Modified date:
28 April 2022