SAP Knowledge Base Article - Preview

3081055 - Missing URL Patterns in an Accelerator Storefront

Symptom

This can lead to two different errors after accessing an accelerator storefront that has no URL pattern assigned:

  1. A screen written "HTTP Status 404 - Not Found".
  2. 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:

{"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 on-premise version, a log similar to below one can be seen:

WARN  [hybrisHTTP20] [DefaultContextInformationLoader] Cannot find CMSSite associated with current URL (https://localhost:9002/******)!

"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, url patterns, server error , 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.