cancel
Showing results for 
Search instead for 
Did you mean: 

I can´t deploy a simple application

0 Kudos

Hello,

I´m trying to deploy an app HelloWorld built on Web IDE to SAP Cloud platform as MTA.

I got the following error: "(Application Index) URI block was not added to the manifest.json file: Unknown project guidelines".

I appreciate very much your support. kind regards,

gregorw
Active Contributor
0 Kudos

Can you please provide more context? What Web IDE template have you used? Have you tried the MTA builder locally? You could check out my build script on how to use it for a UI5 app.

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Heriberto,

There seems to be some issues with WebIDE in the past month - maybe it is your case. In my case (using trial landscape), I simply get the following messages:

11:51:31 AM (DeployService) Target: https://deploy-service.cfapps.eu10.hana.ondemand.com/slprot/<account>/dev/slpPreparing to deploy /mta_archives/fiori_module/<mta_project_name>_<version>.mtar
Checking if there are conflicting processes
Found 0 conflicting processes
Uploading archive
Job failed
11:51:31 AM (DeploymentToCF) Deployment of the "<mta-project-name>" project to Cloud Foundry failed.(Response state is FAILED)

However, not all hope is lost! There are some things you could try:

- [Assuming WebIDE has already been fixed by SAP] Clear your browser's cache - this should "force" your browser into loading any newer versions of the components that make up WebIDE. And try deploying again. If the behavior is still the same, you have to wait until they[product team] fix it. I always encourage people to open an incident at SAP's support system - this type of issue doesn't fall into a different category.

- Meanwhile, there is a workaround procedure that you could use to overcome the deployment issue. I've tested it in my trial account and it works.

First you build the html5 module project (the whole MTA project - not just the html5 module). Once the process has finished, there will be an .mtar file under the "mta_archives" folder in WebIDE. Right click on it and chose 'export' which will download this file to your local PC. Once exported, you can deploy it using CF CLI application properly configured to use SAP's MTA Plugin. To install the plugin you need to call CF CLI with the following command (in my case I use Windows, but you can adapt it to according to your own OS). Don't try running the downloaded file as it is not an installer application:

cf install-plugin .\cf-cli-mta-plugin-2.0.3-windows-x86_64.exe

Once installed, you will be able to use the 'deploy' command directly via CF CLI to deploy the mtar artifact:

cf deploy .\<file.you.exported>_<version>.mtar

NOTE: the whole deployment process takes quite a long time to complete - at least in a trial landscape. Please be patient and wait for the following message sequence:

...
  Creating service brokers...
  Updating subscribers...
 Process finished.
Use "cf dmol -i XXXXXXXXXX" to download the logs of the process.

Remember: this is just a workaround. You should always think about opening an incident at SAP's support system if you want the real solution to your issue.

Best regards,
Ivan