on 2020 Aug 26 9:44 AM
Hi All,
I'm tring to deploy HTML5 application on cloudfoundry environment as a MTA app. But i'm getting error sating that
"Deployment of html5 application content failed [Deployment Id: deploy-d3d05030-e769-22ea-8c5f-eeee0a910db3] Error: Error while uploading resources to Server; Status: 400 Response: "Upload application content failed { CODE: '1001' } validation error: Application metadata for application Zsample already exists in service instance f81654d4-8c89-48f4-a0a3-591ad7a378aa".
So i refered below attached screenshot from one of the SAP Cloud foundry PDF and undeployed/deleted the Apphost service instance of my mta project by using the Cloud foundry cli command "cf undeploy {mtaprojectname} --delete-service --delete-service-key" and successfully deleted it.
But, again when i try to deploy the application i'm getting the same error.
Thanks and Regards,
Ranjithkumar Ayyavu
Request clarification before answering.
Hi Ranjithkumar,
It sounds like the issue is in your generated object files during build execution. Clean up the resources folder that was created in the previous build and do a fresh build and deploy.
ui-deployer
|
-- node_modules
-- resources <-- delete this
package.json
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jhodel,
I don't have any resources folder inside the ui-deployer module. I have only two modules.
1. Package.json
2. Che folder (project.json)
Can u help where I exactly need to do the changes.
ui-deployer
|
-- package.json
-- che
|
-- project.json
Then that means you are using SAP WebIDE. If you are using SAP BAS or VS Code then you can see the resources folder, but that's not the case with SAP WebIDE. But I guess you have no choice but to delete the whole project folder and load it again to SAP WebIDE (i hope you have backup from a Git server).
Or much better, try to migrate into using SAP Business Application Studio or VS Code.
User | Count |
---|---|
66 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.