cancel
Showing results for 
Search instead for 
Did you mean: 

HANA Express WebIDE Deploy to the cloud of MTA Application

Steven_UM
Contributor
0 Kudos

Hi,

I have been developing an MTA application on my local machine using HANA Express 2.0 SPS02 (Patch 7) and I want to deploy this MTA to my SAP cloud trial account CF ...

I can build the archive without any issues but when I try to deploy it to the cloud then I am getting the following error:

(DeploymentToCF) Deployment to Cloud Foundry failed. (Response state is FAILED).

And that's it ... I have been looking around in logs on my local instance and also in the cloud (audit log) but I cannot find anywhere some more usefull information on why the deploy failed.

When I deploy the MTA via WebIDE on my local XS I am ALSO getting the same error but ironically the MTA's is deployed and works fine ... in the cloud nothing is deployed ( and I don't have anything else there deployed so I don't think it is a resource issue ).

Bottom line ... any pointers on how I can find out what is wrong ?

Is it even possible to deploy an MTA from SPS02 into the cloud at the moment ?

Thanks,

Steven.

Accepted Solutions (0)

Answers (2)

Answers (2)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Hi Steven,

My two cents on this:

1) Share your project in a git repository
2) Clone the repository into WebIDE Full Stack and build it from there.

Please note that some adaptation may be required and you should at least be able to build there without any issues before deployment can be done. Hopefully you are able to see which issues are relevant to you case.

In general, XHE will allow to develop in a full Database mode, whereas in the CF Trial you are limited to HDI-Shared - which in essence are created in different ways.

Regards,
Ivan

Steven_UM
Contributor
0 Kudos

Thanks Ivan for your reply ...

I will have a look to upload it via GIT ...

Will update on my findings.

Steven_UM
Contributor
0 Kudos

Just a quick update on my question ...

I managed to build the MTAR with the SAP command line tool 'MTAR builder' and then deploy it to the CF with the CF command line tool.

So basically this means exporting the project as a ZIP ( standard export functionality ). Then extract it again into the file system and then use the MTAR builder tool to generate an MTAR with build destination CF. That generates then an MTAR for CF which can then be deployed.

I have to add that I then encountered issues with my web module which would crash when starting but that turned out to be the missing parameter 'TENANT_HOST_PATTERN' within my mta.yaml ( you wouldn't need that property on a single tenant local installation ).

Steven_UM
Contributor
0 Kudos

This blogis very useful in explaining the required tools and steps needed.

Do be sure to use node.js < v8 as otherwise you will get compilation errors on a standard module 'fibers' ... took me a while to figure that one out 😛