IBM Support

JR41545: CMVC 216274 - DISABLE SALES CENTER CUSTOM CACHE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The WebSphere Commerce Sales Center normally caches customer
    related information in the Dynamic Cache facility, and issues
    customer related invalidation messages to DynaCache when the
    customer related information changes in the database.  When the
    Sales Center is not frequently used, while customer related
    information does frequently change in the database, the
    occasional performance benefits of Sales Center caching may be
    less than the constant slight performance degradation resulting
    from frequent processing of the invalidation messages.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on Version 7.0
    
    PROBLEM ABSTRACT:
    How to turn off Sales Center customer related caching and its
    associated invalidation messages.
    
    BUSINESS IMPACT:
    Slight performance degradation due to frequent processing of
    Sales Center customer related cache invalidation messages.
    
    RECOMMENDATION
    

Problem conclusion

  • This fix adds a new wc-server.xml customization tag in the
    InstanceProperties tag.  Add the new tag just after the opening
    InstanceProperties tag, like this:
    
    <InstanceProperties name="Instance Properties">
    
    <com.ibm.commerce.telesales.messaging.bodreply.ShowCustomerCache
    CmdImpl enabled="false"/>
    
    When enabled="false", the ShowCustomerCacheCmdImpl command sets
    its cache expiry to the current time, thus immediately
    invalidating its cache entry, and effectively disabling caching
    for that command.
    
    The commands that normally issue the "Customers" invalidation to
    the baseCache have been changed to not issue it when
    enabled="false".
    
    The Business Context Session data is normally cached in the
    baseCache servlet cache, as specified in the
    InitializationServlet.war/WEB-INF/cachespec.xml file.  Because
    this data is frequently invalidated, a performance improvement
    may sometimes be obtained by instead caching this data in the
    WCSessionDistributedMap object cache.  This may be done by
    removing the cache-entry tag for the
    ContextDataSerValueCacheCmdImpl command from the
    InitializationServlet.war/WEB-INF/cachespec.xml file, and
    defining the WCSessionDistributedMapCache object cache in the
    Stores.war/WEB-INF/classes/cacheinstances.properties file.
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR41545

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-22

  • Closed date

    2012-06-28

  • Last modified date

    2012-08-03

  • 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

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
07 December 2021