IBM Support

PI49066: USE OF OPENID TAI MAY CAUSE CLASSCASTEXCEPTION ERROR IN CLUSTER ENVIRONMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Configuring a cluster to use the default OpenID TAI
    implementation for WebSphere Application Server.  When we set
    up the distributed replication service, the request data
    cannot be replicated due to a ClassCastException.
    
    [9/17/15 12:18:42:401 EDT] 0000004e CacheEntry    E
    DYNA0052E: The
    cached object can not be replicated or saved to disk.
    CacheID=9d5c3feda3f07672b9a4ae21778f1dd26bbe7011
    ClassName=com.ibm.ws.
    security.openid20.client.RequestData   Type=cache-value
    Exception=java.lang.ClassCastException:
    com.ibm.ws.security.openid20.
    client.RequestData incompatible with java.io.Serializable
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server            *
    *                  administrators using OpenID                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: OpenID RequestData object is not        *
    *                      Serializable and causes DynaCache       *
    *                      errors                                  *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this       *
    *                  APAR.                                       *
    ****************************************************************
    When OpenID requests is used in a cluster enviornment, the
    following error may occur:
    [9/17/15 12:18:42:401 EDT] 0000004e CacheEntry    E
    DYNA0052E: The
    cached object can not be replicated or saved to disk.
    CacheID=9d5c3feda3f07672b9a4ae21778f1dd26bbe7011
    ClassName=com.ibm.ws.
    security.openid20.client.RequestData   Type=cache-value
    Exception=java.lang.ClassCastException:
    com.ibm.ws.security.openid20.
    client.RequestData incompatible with java.io.Serializable
    

Problem conclusion

  • When an application server processes an OpenID authentication
    request, information from the request is placed into a
    RequestData object that is put into a cache managed by
    DynaCache. RequestData does not implement java.io.Serializable.
    
    When running in a cluster, DynaCache requires that objects that
    are in distributed caches implement java.io.Serializable.
    Since RequestData does not implement java.io.Serializable, an
    error occurs when DynaCache attempts to replicate the cache
    containing the RequestData object.
    
    The RequestData object is updated to implement
    java.io.Serializable.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.12 and 8.5.5.9.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    IBMWL3WSS, OPENID20
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI49066

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-18

  • Closed date

    2015-10-22

  • Last modified date

    2015-11-18

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

Document Information

Modified date:
28 April 2022