IBM Support

PM93829: ASYNC SERVLET LOST ORIGINAL IDENTITY AFTER RESUME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An UnauthorizedSessionRequestException results in an internal
    server error response when an asynchronous servlet request is
    dispatched by any user other than the user that started the
    asynchronous servlet request.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: An UnauthorizedSessionRequestException  *
    *                      can be thrown after an asynchronous     *
    *                      servlet request is dispatched.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a user attempts to access a session which it does not own,
    a
    com.ibm.websphere.servlet.session.UnauthorizedSessionRequestExce
    ption is thrown. This exception can occur if another thread
    processes a dispatch from a different asynchronous request's
    AsyncContext object.
    

Problem conclusion

  • The WebContainer code has been updated to capture the security
    context of the thread which starts the asynchronous request
    and uses this during AsyncContext.dispatch(),
    AsyncContext.complete(), and AsyncContext.start() method calls.
    
    To get this new behavior the following new WebContainer custom
    property needs to be set in the server.xml:
    
    
    <webContainer transfercontextinasyncservletrequest="true"/>
    (default
    =false)
    
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.2.  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

    PM93829

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-25

  • Closed date

    2013-09-20

  • Last modified date

    2013-09-20

  • APAR is sysrouted FROM one or more of the following:

    PM90834

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

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

Document Information

Modified date:
28 April 2022