SAP Knowledge Base Article - Preview

3217470 - How to resolve "Server Error" caused by "Cannot find CMSSite associated with current URL"

Symptom

You have contextPath with "" for your storefront webapp in the manifest.json file. For example, ootb yacceleratorstorefront is with below config for accstorefront aspect.

When accessing the default storefront endpoint from Cloud Portal, it throws "Server Error".

By checking Kibana log, below 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":"-"}}

{"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"}


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2005 ; SAP Commerce Cloud 2011 ; SAP Commerce Cloud 2105

Keywords

KBA , CEC-COM-ACC , B2C/B2B 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.