IBM Support

PI66630: UNSATISFIEDRESOLUTIONEXCEPTION THROWN IN NON-CDI ENVIRONMENT

Subscribe

You can track all active APARs for this component.

 

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

[{"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:
28 April 2022