IBM Support

PI75573: DESTROY SESSION AND CONVERSATION CONTEXTS BEFORE APPLICATION CONTEXT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The CDI spec says that the application context should be
    active during the predestroy for session and conversation
    contexts.
    
    Currently the application context is re-enabled as necessary.
    It would be more efficient to delay the destruction of the
    application context.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Contexts and Dependency Injection    *
    *                  (CDI) users                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The CDI application scope was being     *
    *                      destroyed too early during              *
    *                      application shutdown                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    According to the CDI spec the application scope must be active
    during the preDestroy methods for beans with any scope other
    than application scope. However during application shutdown
    the destruction of application context objects was triggered
    before session and conversation contexts.
    

Problem conclusion

  • While fallback code was already in place to ensure spec
    compliance, we reordered the destruction of context objects to
    minimize the reliance on fallback code.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.12, 8.0.0.14 and Liberty 17.0.0.1
    
    In Liberty this fix only affects users who use the cdi-1.0
    feature.
    
    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

    PI75573

  • 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

    2017-01-27

  • Closed date

    2017-03-09

  • Last modified date

    2017-03-09

  • 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

  • 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