IBM Support

JR52033: Provide option to disable caches for REST requests

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Unless the REST client includes the session management cookie
    (JSESSIONID) with each request, the WebSphere plug-in will
    assign each request to a different server in the cluster.
    
    If Cache Replication (DRS) is not enabled across servers,
    subsequent requests can land on servers with stale caches,
    leading to errors.
    

Local fix

Problem summary

  • Provide option to disable caches for REST requests
    

Problem conclusion

  • This fix is available for feature packs starting with Feature
    Pack 4, and requires fixpack 8 or higher in order to use the new
     ability described here.
    
    This fix provides the ability to disable cross transaction
    caching for specific data cache object caches while REST
    services are executing.
    
    To disable cross transaction caching while REST services are
    executing for the object caches with JNDI names
    services/cache/WCUserDistributedMapCache and
    services/cache/WCSessionDistributedMapCache, add the following
    settings to the CrossTransactionCache tag in the
    InstanceProperties tag in the wc-server.xml instance
    configuration file:
    
    <WCUserDistributedMapCache restCaching="false" />
    <WCSessionDistributedMapCache restCaching="false" />
    
    Starting in Feature Pack 7, to disable cross transaction caching
    while REST services are executing in the Search Server for the
    object cache with JNDI name
    services/cache/SearchUserDistributedMapCache, add the following
    configuration to the CrossTransactionCache configuration
    grouping in the
    Search.war/xml/config/com.ibm.commerce.foundation/wc-component-e
    xt.xml component configuration file:
    
    <_config:property
    name="CrossTransactionCache/SearchUserDistributedMapCache/restCa
    ching" value="false"/>
    
    For information about how to use wc-component-ext.xml files,
    refer to:
    
    http://www-01.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.i
    bm.commerce.developer.doc/tasks/tsdwccomponent.htm
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR52033

  • Reported component name

    3C COM PROF ED

  • Reported component ID

    5724I4000

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-11

  • Closed date

    2015-08-07

  • Last modified date

    2015-08-07

  • 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

    3C COM PROF ED

  • Fixed component ID

    5724I4000

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSPK6A","label":"WebSphere Commerce Professional"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
12 December 2021