PM77540: Session creation within a data grid agent causes an exception and a client timeout when data grid security is enabled.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A container exception occurs and might lead to a client
    timeout when security is enabled.
    
    The following exception might be displayed in the FFDC if this
    error occurs:
    ...
    Stack Dump =
    com.ibm.websphere.objectgrid.ObjectGridException: A
    failure happened when ObjectGrid.getSession() is called: the
    ObjectGrid-
    level security is enabled but there is no SubjectSource
    plug-in set on the ObjectGrid instance.
    at com.ibm.ws.objectgrid.ObjectGridImpl.setSessionSecurity
    (ObjectGridImpl.java:1329)
    at
    com.ibm.ws.objectgrid.ObjectGridImpl.popSession(ObjectGridImpl
    .java:4047)
    at com.ibm.ws.objectgrid.ServerCoreEventProcessor.
    getRemoteClientSession(ServerCoreEventProcessor.java:1871)
    at com.ibm.ws.objectgrid.ServerCoreEventProcessor.
    createInitialReadWriteTransaction(ServerCoreEventProcessor.java:
    609)
    at com.ibm.ws.objectgrid.ServerCoreEventProcessor.
    processMapCreationRequestMessage(ServerCoreEventProcessor.java:1
    780)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All WebSphere eXtreme Scale users using a   *
    *                  DataGrid agent in the WebSphere eXtreme     *
    *                  Scale V8.5 or higher API, with security     *
    *                  enabled in their environment.               *
    ****************************************************************
    * PROBLEM DESCRIPTION: A container exception leading to        *
    *                      a client timeout might occur when       *
    *                      security is enabled.                    *
    ****************************************************************
    * RECOMMENDATION:  Install an interim fix that includes this   *
    *                  APAR.                                       *
    ****************************************************************
    When a DataGrid agent is created using the WebSphere eXtreme
    Scale API in an application, and it does an
    ObjectGrid.getSession() call within either the process(),
    processAllEntries(), or reduce() methods, and grid
    authorization checking is enabled by setting
    securityEnabled=true in the objectgrid.xml file, then calls
    from  the client to the agent fail with the FFDC error message
    that is mentioned in the Error Description of this APAR.
    This error might happen in one of the following scenarios:
    1) While accessing an ObjectGrid instance in a distributed way,
    the client does not provide any security credential, or the
    server does not authenticate the client credential.
    2)While accessing an ObjectGrid instance locally, the
    SubjectSource plug-in is not configured.
    This is because the session returned by the getSession() call
    in
    an agent context does not have an associated Subject for
    security checking.
    This problem does not apply to the WebSphere DataPower XC10
    Appliance.
    

Problem conclusion

  • The code was corrected to use the appropriate session whenever
    the getSession() method is called on the agent.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM77540

  • Reported component name

    WS EXTREME SCAL

  • Reported component ID

    5724X6702

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-21

  • Closed date

    2012-11-30

  • Last modified date

    2012-11-30

  • 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

    WS EXTREME SCAL

  • Fixed component ID

    5724X6702

Applicable component levels

  • R850 PSY

       UP

  • R860 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere eXtreme Scale

Software version:

850

Reference #:

PM77540

Modified date:

2012-11-30

Translate my page

Machine Translation

Content navigation