IBM Support

PI36177: POSTCONSTRUCT METHOD IS NOT CALLED IF THERE IS A SECOND METHOD OF THE SAME NAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a bean defines a PostConstruct method and a second method of
    the same name, the PostConstruct is not called.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server using Contexts and Dependency        *
    *                  Injection (CDI)                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: PostConstruct is not called if there    *
    *                      is a second method with the same name.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an application has two methods of the same name, where
    one is annotated with PostConstruct, this PostConstruct is
    never processed.
    

Problem conclusion

  • Changes were made to the WebBeansUtil class to allow
    processing of annotations where there is more than one method
    with the same name.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.11 and 8.5.5.6.  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

    PI36177

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-03-03

  • Closed date

    2015-04-10

  • Last modified date

    2015-04-10

  • 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

  • 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.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022