IBM Support

JR56915: JR54611 sets Local/Remote binding requests to uncacheable when 404 error is returned

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JR54611 sets Local/Remote binding requests to uncacheable only
    when:
    1. The response code is 404
    2. If an exception is thrown on the JSP page.
    This behavior can be toggled by setting
    RESTinLocalRemoteBindingExceptionsEnabled to false in
    <WCDE_installdir>/workspace/WC/xml/config/com.ibm.commerce.found
    ation-ext/wc-component.xml custom configuration file.
    
    When RESTinLocalRemoteBindingExceptionsEnabled is set to true,
    if a generic shopper accesses an empty shopping cart, the REST
    call returns a 404, which triggers the fix in JR54611 and causes
     the hosting JSP page to not be cached.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 Feature Pack 8, and Version 8.
    
    PROBLEM ABSTRACT:
    JR54611 sets Local/Remote binding requests to uncacheable when
    404 error is returned
    
    BUSINESS IMPACT:
    Customers who want to cache 404 requests must also disable the
    configuration to set all exceptions in JSP files as uncachable.
    
    RECOMMENDATION:
    

Problem conclusion

  • Added configuration
    "RESTinLocalRemoteBindingCachingDisabledFor404" to determine
    whether JSPs are set as uncacheable for responses with a 404
    status code.
    - When set to "true", the JSP responses with a 404 status code
    will be uncacheable.
    - When set to "false", the JSP responses with a 404 status code
    will be cacheable.
    - The default configuration for this setting is "false".
    
    You can change the configuration by modifying the
    <WCDE_installdir>/workspace/WC/xml/config/com.ibm.commerce.found
    ation-ext/wc-component.xml file.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR56915

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-28

  • Closed date

    2016-11-24

  • Last modified date

    2016-11-24

  • 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 EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

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

Document Information

Modified date:
11 December 2021