Collecting MustGather data for session management issues

Collect the following MustGather data that HCL Support requires for diagnosing session management issues.

Procedure

  1. Configure these trace strings.
    • For Transaction server Docker container:
      • If the issue is not related to Business Context, use this trace string:
        com.ibm.commerce.foundation.logging.ServiceLogger=all:com.ibm.websphere.commerce.WC_SERVER=all:com.ibm.websphere.commerce.WC_SESSIONMANAGEMENT=all:com.ibm.commerce.foundation.rest.handlers.*=all
      • If the issue is related to Business Context, use this trace string:
        com.ibm.commerce.foundation.logging.ServiceLogger=all:com.ibm.websphere.commerce.WC_SERVER=all:com.ibm.websphere.commerce.WC_SESSIONMANAGEMENT=all:com.ibm.commerce.foundation.rest.handlers.*=all:com.ibm.websphere.commerce.WC_BUSINESSCONTEXT=all
        
      • For information about how to set trace strings, see Configuring logging for the Transaction server.
    • For Store server Docker container:
      com.ibm.commerce.store.foundation.session.=all: com.ibm.commerce.foundation.logging.=all:com.ibm.commerce.security.internal.encryption.*=all 
  2. Reproduce the problem.

    Record the specific steps that you used to reproduce the problem and any details that might be relevant.

  3. Collect the following files.
    Transaction server Docker container
    • /opt/WebSphere/AppServer/profiles/default/installedApps/localhost/ts.ear/xml/config/wc-server.xml
    • /opt/WebSphere/AppServer/profiles/default/installedApps/localhost/ts.ear/Stores.war/WEB-INF/struts-config*
    • /opt/WebSphere/AppServer/profiles/default/installedApps/localhost/ts.ear/Stores.war/WEB-INF/classes/struts-*.xml
    Store server Docker container
    • /opt/WebSphere/Liberty/usr/servers/default/apps/crs.ear/crs-web.war/WEB-INF/xml/config
  4. Confirm if you have ActivityCleanup job scheduled. If yes, provide the details on how the job is configured and if it is running okay. For reference regarding ActivityCleanup, see ActivityCleanUp URL.
  5. Confirm if dbclean utility is configured to clean up user and activity data: OBJECTNAME='user' and OBJECTNAME='activity'. If yes, provide the details on how the utility is configured and if it is running okay. For more information about dbclean utility, see Database Cleanup utility objects.