Collecting MustGather data for session management issues
Collect the following MustGather data that HCL Support requires for diagnosing session management issues.
Procedure
-
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.
- If the issue is not related to Business Context, use this trace
string:
- 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- For information about how to set trace strings, see Configuring logging for the Store server.
- For Transaction server Docker container:
-
Reproduce the problem.
Record the specific steps that you used to reproduce the problem and any details that might be relevant.
-
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
-
Confirm if you have
ActivityCleanupjob scheduled. If yes, provide the details on how the job is configured and if it is running okay. For reference regardingActivityCleanup, see ActivityCleanUp URL. -
Confirm if
dbcleanutility is configured to clean up user and activity data:OBJECTNAME='user'andOBJECTNAME='activity'. If yes, provide the details on how the utility is configured and if it is running okay. For more information aboutdbcleanutility, see Database Cleanup utility objects.