cancel
Showing results for 
Search instead for 
Did you mean: 

What is wrong with my XS deploy?

mrwong05
Participant
0 Kudos


hxwadm@ip-10-200-6-140:/home/ec2-user> xs deploy com.sap.refapps.shine_1.3.4.mtar




Uploading 1 files:
 /home/ec2-user/com.sap.refapps.shine_1.3.4.mtar
File upload finished


Starting process xs2-deploy...
Starting monitoring...
 Validating parameters...
 Processing MTA archive...
 Processing MTA extension descriptors...
 Detecting MTA major schema version...
 MTA schema version: 3.1.0
 Detecting deploy target...
 Detected deploy target "HANAExpress SAP"
 Validating and merging descriptors...
 Detecting deployed MTA...
 No deployed MTA detected
 Collecting system parameters...
 New MTA version: 1.3.4
 Cannot cast class java.lang.Integer to class java.lang.String
 Unexpected error: Cannot cast class java.lang.Integer to class java.lang.String
ERR    Cannot cast class java.lang.Integer to class java.lang.String
Unexpected error: Cannot cast class java.lang.Integer to class java.lang.String
Use "xs deploy -i 25106 -a retry" to retry the process
Use "xs deploy -i 25106 -a abort" to abort the process
Use "xs dmol -i 25106" to download the logs of the process
hxwadm@ip-10-200-6-140:/home/ec2-user> xs deploy -i 25106 -a retry


Retrying failed step...


Failed step retried
Starting monitoring...
ERR    Cannot cast class java.lang.Integer to class java.lang.String
Unexpected error: Cannot cast class java.lang.Integer to class java.lang.String
Use "xs deploy -i 25106 -a retry" to retry the process
Use "xs deploy -i 25106 -a abort" to abort the process
Use "xs dmol -i 25106" to download the logs of the process
hxwadm@ip-10-200-6-140:/home/ec2-user> xs dmol -i 25106


Downloading logs for multi-target app operation with id "25106" in org "HANAExpress" / space "SAP" as XSA_ADMIN...
ERR    Error while creating download directory "/home/ec2-user/mta-op-25106"
ERR    /home/ec2-user/mta-op-25106



I'm not sure what user/folder i should have my .mtar in on my hana express 2.0 on premise in AWS cloud.

Former Member
0 Kudos

Hi Matthew,

Can you please post your mta.yaml file here? Also the version of he WebIDE you are using would be helpful.

Thanks and Regards,

Kiruthika

mrwong05
Participant
0 Kudos

OK, I will do as soon as i can

mrwong05
Participant
0 Kudos

i've reinstalled hana express and moved on from this issue without a resolution.

mrwong05
Participant
0 Kudos

Kiruthika, can you help me debug this error?

ERR    Error executing application "GHDN-Content-Demo": Deployment of site conte                                                                                                                                                             nt to persistency failed [Deployment Id: deploy-25001]

ghdn-demo-log.txt

mrwong05
Participant
0 Kudos

I am seeing two errors in my WebIDE Version: SAP Web IDE for HANA 2 SPS 02 Patch 0 ( Build 4.2.14 )

1. trying to run sapui5 html5 template project

Application failed to run
Failed access: https://ip-10-200-6-169:53075/che/builder/workspaceqshx8ztd5eombyq6/status/12, method: GET, response code: 500, message: Internal server error

2. trying to build fiori launchpad template fails

ID: GHDN
_schema-version: '2.0'
description: AWS West GHDN MTA Container
version: 0.0.1
modules:
 - name: launchpad-GHDN
   type: siteentry
   path: launchpad
   parameters:
      memory: 64M
   requires:
    - name: sap-portal-services-host-GHDN
    - name: portal-uaa-GHDN
    - name: sapui5-provider
      properties:
         sapui5url: ~{url}
 - name: launchpad-Content-GHDN
   type: sitecontent
   path: launchpad-Content
   parameters:
      memory: 32M
   requires:
    - name: sap-portal-services-client-GHDN
    - name: portal-uaa-GHDN
 - name: LaunchpadTom-GHDN
   type: siteentry
   path: LaunchpadTom
   parameters:
      memory: 64M
   requires:
    - name: sap-portal-services-host-GHDN
    - name: portal-uaa-GHDN
    - name: sapui5-provider
      properties:
         sapui5url: ~{url}
 - name: LaunchpadTom-Content-GHDN
   type: sitecontent
   path: LaunchpadTom-Content
   parameters:
      memory: 32M
   requires:
    - name: sap-portal-services-client-GHDN
    - name: portal-uaa-GHDN
resources:
 - name: sap-portal-services-host-GHDN
   parameters:
      config:
         siteId: GHDN
   type: com.sap.portal.site-host
 - name: portal-uaa-GHDN
   parameters:
      service-plan: space
   type: com.sap.xs.uaa
 - name: sapui5-provider
   parameters:
      provider-id: com.sap.ui5.dist.sapui5-dist-xsa.XSAC_UI5_FESV3:sapui5_fesv3
      version: '>=1.42.0'
      provider-nid: mta
   type: configuration
 - name: sap-portal-services-client-GHDN
   parameters:
      config:
         siteId: GHDN
   type: com.sap.portal.site-content
 - name: sap-portal-services-host-GHDN_2
   parameters:
      config:
         siteId: GHDN
   type: com.sap.portal.site-host
 - name: portal-uaa-GHDN_2
   parameters:
      service-plan: space
   type: com.sap.xs.uaa
 - name: sapui5-provider_2
   parameters:
      provider-id: com.sap.ui5.dist.sapui5-dist-xsa.XSAC_UI5_FESV3:sapui5_fesv3
      version: '>=1.42.0'
      provider-nid: mta
   type: configuration
 - name: sap-portal-services-client-GHDN_2
   parameters:
      config:
         siteId: GHDN
   type: com.sap.portal.site-content

Accepted Solutions (0)

Answers (1)

Answers (1)

mrwong05
Participant
0 Kudos

The version of WEBIDE is Version: SAP Web IDE for HANA 2

SPS 01 Patch 0 ( Build 4.1.39 )

As you may have noticed, the file I'm trying to deploy is com.sap.refapps.shine_1.3.4.mtar. I downloaded this directly from SAP and have not changed any files other than extracting it from .zip file. I'm not sure if this helps. I'll try to load a custom MTA and come back to you with errors trying to load those as well.