IBM Support

JR48699: USER AVATARS ARE NOT CACHED IN PROCESS PORTAL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Process Portal, user avatars, which are displayed in areas
    such as the task list, are not cached.  This can result in a
    significant performance degradation in rendering a page,
    especially if several avatars are being displayed.  With avatars
    typically not being updated frequently, caching of avatars in
    the browser can significantly enhance performance of page
    loading.
    Identifying the issue:
    With the following trace *=info:com.ibm.bpm.rest.*=all  the
    following rest API call will be made multiple times per user
    rest/bpm/wle/v1/avatar/image/<username>?preventCache=14208089482
    00
    Using this trace
    *=info:org.springframework.jdbc.*=all:WAS.clientinfopluslogging=
    all  you will see the following query called thousands of
    times.  You can also get a report from the database describing
    the frequency of calls to the database and you will see this
    have a high frequency of calls.
    select USER_ID, USER_AVATAR_IMAGE from BPM_USR_AVATAR where
    USER_ID = ?
    

Local fix

  • None.  Customer can still use the product, but there is a
    performance degradation.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of BPM Advanced, BPM Standard, and    *
    *                  BPM Express.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: In Process Portal, user avatars are     *
    *                      not cached, which can result in a       *
    *                      significant performance degradation     *
    *                      in rendering a page.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The "Cache-Control" attribute in the request header for an
    avatar was always set to "no-cache, no-store, max-age=0",
    effectively disabling browser caching for the avatar.
    

Problem conclusion

  • Setting the "Cache-Control" attribute to "public,
    max-age=604800, s-maxage=604800" in the request header for an
    avatar allows avatars to be cached.  This implementation of
    avatar caching will rebuild the cache upon page refresh, but
    will not do so otherwise, regardless of the amount of time
    elapsed or the number of operations performed in a given
    Process Portal session.
    
    Interim fixes for Business Process Manager Version 8.0.1.1 and
    Version 8.0.1.2 have been published to Fix Central. Please
    refer to the separate file that is automatically downloaded
    with each interim fix for prerequisite information and
    installation/uninstallation instructions.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR48699

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-03

  • Closed date

    2014-01-31

  • Last modified date

    2015-01-14

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 January 2015