JR44011: CMVC 224288 - TO HANDLE THE CONTENT PARSING EXCEPTION WHEN THE WC_USERACTIVITY COOKIE IS INCOMPLETE IN THE USER REQUEST

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When the content of WC_USERACTICITY cookie is incomplete, error
    happens during cookie parsing phase. However, the exception is
    not handled correctly, and then a blank page is returned with
    200 status code. Since the 200 blank page will be cached for a
    period of time, making this blank page much more visible to
    other Shoppers.
    There is an exception in the trace file:
    [8/22/12 22:05:02:448 CST] 0000135b CommerceSrvr E
    com.ibm.commerce.webcontroller.WebControllerHelper
    startRequestProcess(HttpServletRequest,HttpServletResponse,Strin
    g,ServletContext,Integer) CMN0409E: The following error occurred
    during processing: "java.lang.StringIndexOutOfBoundsException".
    java.lang.StringIndexOutOfBoundsException
    at java.lang.String.substring(String.java:1093)
    at
    com.ibm.commerce.browseradapter.WCCookieUserSession.containsStor
    eId(WCCookieUserSession.java:234)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 with cache mechanism
    integration will have this problem.
    
    PROBLEM ABSTRACT:
    WC_USERACTIVITY cookie parsing fails without exception handling
    
    BUSINESS IMPACT:
    Shoppers get blank pages
    
    RECOMMENDATION:
    

Problem conclusion

  • Inside
    com.ibm.commerce.browseradapter.WCCookieUserSession.containsStor
    eId, catch StringIndexOutOfBoundsException and throw
    ECSystemException with error
    view(ECConstants.EC_COOKIE_ERROR_VIEW). In this way, error page
    will be shown instead of blank page.
    
    -------------------------------------------------------------
    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

    JR44011

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-10

  • Closed date

    2013-01-30

  • Last modified date

    2013-01-30

  • 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



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Commerce Enterprise

Software version:

7.0

Reference #:

JR44011

Modified date:

2013-01-30

Translate my page

Machine Translation

Content navigation