Symptom
This can lead to two different errors after accessing an accelerator storefront that has no URL pattern assigned:
- A screen written "HTTP Status 404 - Not Found".
- A screen written "Server Error" and in a log similar to the following one can be found:
{"origin":"access-log","timeMillis":1656057469543,"thread":"hybrisHTTP18","contextMap": "remoteHost":"10.245.7.41","remoteUser":null,"requestLine":"GET / HTTP/1.1","statusCode":500,"bytesSent":141,"processMillis":10,"commitMillis":10,"connectionStatus":"-"}} - In both scenarios, a log similar to below one can be seen:
- For Cloud version.
{"instant":{"epochSecond":1656057469,"nanoOfSecond":542789000},"thread":"hybrisHTTP18","level":"WARN","loggerName":"de.hybris.platform.acceleratorcms.context.ContextInformationLoader","message":"Cannot find CMSSite associated with current URL (https://accstorefront.*******-*******-**-public.model-t.cc.commerce.ondemand.com)!","endOfBatch":false,"loggerFqcn":"org.apache.log4j.Category","contextMap":{"RemoteAddr":"[***.***.***.***] ","Tenant":""},"threadId":122,"threadPriority":5,"origin":"PLATFORM"}
- For Cloud version.
-
- For on-premise version.
WARN [hybrisHTTP20] [DefaultContextInformationLoader] Cannot find CMSSite associated with current URL (https://localhost:9002/******)!
- For on-premise version.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
- SAP Commerce
- SAP Commerce Cloud
Product
SAP Commerce Cloud all versions ; SAP Commerce all versions
Keywords
hybris, ccv2 , KBA , CEC-SCC-COM-BCA , B2C Commerce Accelerator , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview