Symptom
This can lead to two different errors after accessing an Acc. 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 is seen:
- {"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":"[180.166.22.238] ","Tenant":""},"threadId":122,"threadPriority":5,"origin":"PLATFORM"}
"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
404, storefront, wcms, url, pattern, ccv2, hybris , KBA , CEC-SCC-COM-BCA , B2C Commerce Accelerator , Known Error
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.