Skip to content

Latest commit

 

History

History
250 lines (153 loc) · 12.1 KB

ccv2-validation.md

File metadata and controls

250 lines (153 loc) · 12.1 KB

CCv2 Validation Errors

Here you can find additional information for the errors and warnings reported by validateManifest

🔴 E-001 >extension< not available

All extensions (remember, addons are also extensions) referenced in the manifest.json must be part of the extensions loaded by the platform during build or server startup.

The error indicates that the extension is not loaded by the platform.

  • Double-check the name of the extension/addon
  • Make sure that the extension is enabled in manifest.json
    • Is it configured in extensions.xml file referenced via useConfig.extensions.location?
    • Is it listed in the extensions array?
  • Or add the extensions as a dependency to another extensions that is already configured

Related Documentation

🔴 E-002 Aspect >aspect< not supported

Only a predefined set of aspects is supported in CCv2.

Related Documentation

🔴 E-003 Duplicate aspect configuration

Configuring the same aspect multiple times leads to undefined behaviour during build and deploy.

Related Documentation

🔴 E-004 Duplicate extension configuration

Configuring the same extension more than once for the same aspect leads to undefined behaviour during build and deploy.

Related Documentation

🔴 E-005 Duplicate context path/webroot configuration

Using the same contextPath/webroot more than once in the same aspect breaks the server startup.

🔴 E-006 contextPath <path> must start with /

If the contextPath doesn't start with /, the build will fail (since the server wouldn't start with this configuration).

🔴 E-007 Webapps not allowed for aspect admin

CCv2 uses the admin aspect to perform system updates and starts it in "headless" mode. Configuring webapps for it is not supported and may break the deployment process.

Related Documentation

🔴 E-008 Persona >persona< not supported

Only a predefined set of personas (= environment types) is supported in CCv2

Relevant Documentation

🔴 E-009 Location >path< is invalid/absolute/...

Files and folders referenced in manifest.json must be:

  • Not empty (you have to define the location attribute!)
  • Unix-style paths (i.e. use / as separator)
  • relative to the folder that contains manifest.json
  • in US-ASCII (using special characters may lead to undefined behaviour)
  • plain values (no relative paths, no environment variable substitution etc.)

Bad:

/some/path - absolute path
path/../other/path - relative path
$HYBRIS_BIN_DIR/value - variable substitution
folder/file.pröperties - special character
path\to\file.properties - wrong path separator\

Good:

relative/path/to/something

Relevant Documentation

🔴 E-010 >file< is not a valid Java properties file

Files referenced in the useConfig.properties array of manifest.json must be readable as Java properties files.

Relevant Documentation

🔴 E-011 >file< is not a valid extensions.xml file

The file referenced in useConfig.extensions.locations must be a valid extensions.xml file.

Relevant Documentation

🔴 E-012 extension.dir is not supported

The cloud build only supports the name attribute of the <extension> tags in the useConfig.extensions.locations file.

Relevant Documentation

🔴 E-013 Solr customization folder structure

The Solr customization support for CCv2 expects a specific folder structure to be present.

If the folder structure is incorrect, the customization simply doesn't work.

Relevant Documentation

🔴 E-016 Invalid media conversion configuration

To use the cloud media conversion feature, you have to configure the cloudmediaconversion extension and enable the image processing service (enableImageProcessingService)

Relevant Documentation

🔴 E-017 Webroot configured in properties

Do not configure <extension>.webroot in any properties. Only use asepect[].webapps[].contextPath to configure and enable web extensions.

Relevant Documentation

🔴 E-018 Invalid Solr Version

The Solr version in the manifest must be two numbers separated by a dot (<major>.<minor>).

Relevant Documentation

🔴 E-019 Invalid Integration Extension Pack Version

The Integration Extension Pack must be compatible with SAP Commerce and its version must be fully qualified, i.e. include the patch number.

2102 - missing patch
2102.0

Relevant Documentation

⚠️ W-001 Property >property< is a managed property

The build process preconfigures certain properties with optimal values for a high-performance cloud environments.

Changing their values may have unintended side effects (like breaking the server) and should only be done if recommended by SAP experts or SAP support.

Relevant Documentation

⚠️ W-002 Property file encoding

Property files are assumed to be encoded in ISO 8859-1. Using a different encoding might lead to changed/corrupted values after build and deploy.

Relevant Documentation

⚠️ W-003 Cloud Hot Folder without configuration for processing nodes

If you use the Cloud Hot Folders feature of the Commerce cloud, you also have to configure the backgroundProcessing nodes to process the incoming files.

Relevant Documentation

⚠️ W-004 Solr customization without pinned Solr version

If you customize your Solr configuration, it is recommended that you pin the Solr version in your manifest.json.

A SAP Commerce patch release may change the default Solr version, leading to deployment errors if your customization is not compatible with the new Solr version.

Relevant Documentation