IBM Support

PH66549: CLASSCASTEXCEPTION WHEN USING FAULTTOLERENCE ANNOTATIONS ON EJB

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

  • The following exception is issued using CDI interceptors created
    by CDI Extensions used on EJBs.
    
    java.lang.ClassCastException: class com.ibm.ws.microprofile.fau
    lttolerance.cdi20.FaultToleranceCDI20Interceptorcannot be cast t
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere 9.0.0.0 and later    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The user has created a CDI              *
    *                      Interceptor annotation via a CDI        *
    *                      Extension and experienced a             *
    *                      ClassCastException from                 *
    *                      InterceptorChain.proceed                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The code for handling CDI interceptors applied to EJBs makes
    an assumption that is not true, if the Interceptor annotation
    is registered via a CDI Extension. This will cause a class cast
    exception.
    

Problem conclusion

  • The code was updated to handle interceptor annotations
    
    registered via CDI Extensions
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.27. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH66549

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-05-15

  • Closed date

    2026-01-21

  • Last modified date

    2026-01-21

  • 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 PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
21 January 2026