cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment to CCV2 fails due to missing extension

djboyd4715
Participant
0 Kudos

I am receiving the following error when doing a deployment

unkown web root '/mystorefront' cannot find any mapped extension

I have the mystorefront extension in my localextension.xml file

manifest useConfig, I have

        "extensions": {
            "location": "config/localextensions.xml",
            "exclude": [
                "azurecloudhotfolder",
                "cloudcommons",
                "cloudhotfolder"
            ]

manifest accstorefront aspect I have the following

          "name": "accstorefront",
            "properties": [
                {
                    "key": "spring.session.enabled",
                    "value": "true"
                },
                {
                    "key": "storefrontContextRoot",
                    "value": ""
                },
                {
                    "key": "task.engine.loadonstartup",
                    "value": "false"
                }
            ],
            "webapps": [
                {
                    "name": "mediaweb",
                    "contextPath": "/medias"
                },
                {
                    "name": "mystorefront",
                    "contextPath": ""
                },
                {
                    "name": "acceleratorservices",
                    "contextPath": "/acceleratorservices"
                },
                {
                    "name": "paymetric",
                    "contextPath": "/paymetric"
                },
                {
                    "name": "mycommercewebservices",
                    "contextPath": "/mycommercewebservices"
                }
            ]
        },

What am I missing or have not set correctly

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member634058
Active Participant
0 Kudos

Hi David,

Please check the value of the following two properties:

mystorefront.webroot=

storefrontContextRoot=

Considering the entry in the manifest file, these values should be empty as well.

Thanks.

djboyd4715
Participant
0 Kudos

in the storefront project.properties these are both populated.

now looking at the local.properties for D1 these are both set to empty.

Are you saying that for the accstorefront aspect, the storefrontContextRoot and the mystorefront are to have their value set to blank?

And this would include the API aspect also? or anywhere in which the key or name is either storefrontContextRoot / mystorefront

former_member634058
Active Participant
0 Kudos

Hi David.

By D1 local.properties, do you mean the local.properties file from where the global properties are referred? If that is the file, and if the values there are empty, it should be same for all the aspects. Please change and try doing a deployment if that fixes your issue.

Thanks.