IBM Support

JR53796: "Invalid cookies" error when Multiple Logon is enabled

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you are logged on and you change URLs between stores such as
    an old and new storefront asset store, you might encounter an
    error. When Multiple Logon is enabled, authentication from
    Search server fails with Invalid Cookie error.
    
    For example, you log on to an old storefront asset store, and
    then change the URL to the new storefront asset store. You try
    to navigate back to the old storefront asset store but you
    encounter an error similar to the following message,
    
    Caused by: java.lang.NullPointerException
     at
    com.ibm.commerce.foundation.internal.server.services.context.WCC
    omponentActivityAuthenticationCookie.getSignature(WCComponentAct
    ivit
    AuthenticationCookie.java:129)
     at
    com.ibm.commerce.browseradapter.WCAuthenticationCookie.validate(
    WCAuthenticationCookie.java:807)
     at
    com.ibm.commerce.browseradapter.WCAuthenticationCookie.getUserId
    (WCAuthenticationCookie.java:647)
     at
    com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHa
    ndler.getAuthenticatedUserIdFromAuthenticationCookie(CommerceTok
    enRe
    uestHandler.java:3090)
     at
    com.ibm.commerce.foundation.rest.handlers.CommerceTokenRequestHa
    ndler.fetchAuthenticatedUserIdFromAuthenticationCookie(CommerceT
    oken
    equestHandler.java:3021)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce V7 shoppers on Feature Pack 7 or later.
    
    PROBLEM ABSTRACT:
    "Invalid cookies" error when Multiple Logon is enabled
    
    BUSINESS IMPACT:
    User-specific search query using REST call from browser will
    fail.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updates code to set the proper user cookie session and set the
    user as unverified to WCComponentCookieUserSession.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53796

  • 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

    2015-07-08

  • Closed date

    2015-12-13

  • Last modified date

    2015-12-13

  • 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