IBM Support

PI47334: CDI INTERCEPTOR NOT TRIGGERED FOR MDB (ONMESSAGE)

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The CDI interceptor is not triggered for the onMessage() method
    in a MessageDrivenBean. The only interceptor that is triggered
    is the EJB interceptor.
    @CDIInterceptorBinding
    @Interceptors({EJBInterceptor.class})
    public void onMessage(Message inMessage) {:}
    
    Logs show:
    
    [2015-06-02 07:46:50:026 CEST] 00000085 EJSContainer  >
    EJBinvokeProceed(0:timerMethod) Entry
    [2015-06-02 07:46:50:026 CEST] 00000085 PrivExAction  W
    J2CA0144W: No mappingConfigAlias found for ConnectionFactory or
    DataSource jms/MyDataSource.
    [2015-06-02 07:46:50:026 CEST] 00000085 PrivExAction  W
    J2CA0114W: No container-managed authentication alias found for
    ConnectionFactory or DataSource jms/MyDataSource.
    [2015-06-02 07:46:50:135 CEST] 00000085 SystemOut     O   >>>
    TestTimerEJB: Sending message: Test message
    [2015-06-02 07:46:50:135 CEST] 00000085 EJSContainer  <
    EJBinvokeProceed(0:timerMethod) returning null Exit
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: An interceptor declared against an      *
    *                      message driven bean does not fire       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An interceptor declared against an message driven bean does
    not fire. Because of the type hirarchy message driven beans
    were not considered valid targets for interceptors.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI47334

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-21

  • Closed date

    2016-02-03

  • Last modified date

    2016-02-03

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

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