IBM Support

PH37788: USE FIRST FOUND EJBDESCRIPTOR FOR MDB

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Use first found ejbDescriptor for MDB , all platforms ,
    21.0.0.3, sev 3 , the exception is [18.05.21 20:32:17:840
    MESZ]
    0000002e
    ibm.ws.cdi.impl.managedobject.CDIEJBManagedObjectFactoryImpl
    E
    Could not find an EjbDescriptor for : LEIUpdate [18.05.21
    20:32:17:841 MESZ] 0000002e
    com.ibm.ejs.container.LocalExceptionMappingStrategy E
    CNTR0019E:
    EJB hat eine unerwartete (nicht deklarierte) Ausnahme beim
    Aufruf der Methode "onMessage" ausgelöst. Ausnahmedaten:
    java.lang.NullPointerException at
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Contexts and Dependency    *
    *                  Injection (CDI)                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException during invocation  *
    *                      of Message Driven Bean                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    You will see an error such as CNTR0019E: EJB threw an unexpected
    (non-declared) exception during invocation of method
    "onMessage". Exception data: java.lang.NullPointerException when
    running an application that uses CDI and message driven beans.
    

Problem conclusion

  • Code was added to allow CDI to recognise that MDBs should not
    return a bean from an ejbDescriptor and allow CDI to work
    regardless.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 9.0.5.9 and liberty 21.0.0.7 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

    PH37788

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-06-02

  • Closed date

    2021-09-01

  • Last modified date

    2021-09-01

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0"}]

Document Information

Modified date:
02 September 2021