SAP Knowledge Base Article - Preview

3785308 - multisite storefront resolves to wrong base site and custom domains redirect after jdk 21 upgrade (composable storefront)

Symptom

  • After upgrading to JDK 21, multi-site functionality is not working as expected.
  • Accessing the path for one base site resolves/redirects to another base site.
  • Custom storefront domains do not preserve the incoming host and redirect to a different host.
  • During storefront bootstrap, OCC/CMS requests are sent for the wrong base site even when opening a different site.
  • OCC /occ/v2/basesites returns multiple base sites as expected.
  • No explicit backend 301/302 redirect is observed.
  • Error message: "Currency CurrencyModel (xxx) is not supported by the current base store".


Read more...

Environment

  • Product: Commerce Cloud, composable storefront
  • Commerce Cloud Spartacus

Product

SAP Commerce Cloud, composable storefront all versions

Keywords

multisite, baseSite, redirect, composable storefront, spartacus, custom domain, host redirect, oauth 2.0, oauthclientdetails, loginPageUri, allowed hosts, jdk 21, 2211, currency not supported, UnsupportedCurrencyError, routing, site resolution , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , 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.