saphanaacademy / haa

HANA Analytics Adapter
6 stars 5 forks source link

Unhandled exception in Buildpack main method: None of the available runtimes: [Tomee, Tomee7, Tomcat, Java Mai #3

Open cedricve opened 3 years ago

cedricve commented 3 years ago

I'm trying to deploy this to our CF space, but get following error while staging. PS I had to use mtad.yaml (just copied the mta.yaml file), and then did cf deploy

Following this video: https://www.youtube.com/watch?v=V0XL8x_1Pcs&list=PLkzo92owKnVyh290bEmKED11Gcdkyoi7w&index=30 (however the MTA build archive is deprecrated by now, so you need to use mtad).

    #2.0#2020 09 28 08:41:49.486#Z#DEBUG#com.sap.cloud.lm.sl.xs2.1cb5cb01-0166-11eb-86c7-eeee0a99c877.haa-java.stageAppTask#
    ######org.cloudfoundry.multiapps.controller.persistence.services.ProcessLogger########flowable-async-job-executor-thread-106152###
    [PollStageAppStatusExecution] [haa-java] cae251e4-2f83-4fde-82ec-7dc69c5007ce [Mon Sep 28 08:41:36 UTC 2020] WARNING: User config value for 'tomee/webapps/ROOT/WEB-INF/resources.xml' is not valid, existing property not present.SEVERE: Unhandled exception in Buildpack main method: None of the available runtimes: [Tomee, Tomee7, Tomcat, Java Main] support the application in the specified path. Failed to compile droplet: Failed to run finalize script: exit status 9 (STDERR, STG)#

Command line:

    C02XL1E5JHD3:haa i353408$ cf deploy
    Deploying multi-target app archive /Users/i353408/Downloads/haa/haa.mtar in org i353408_sapbeluxworkshop / space sapbelux-dev as cedric.verstraeten@sap.com...

    y
    There is an ongoing operation for multi-target app haa. Do you want to abort it? (y/n)> 
    Executing action 'abort' on operation 53055db4-0164-11eb-86c7-eeee0a99c877...
    OK
    yUploading 1 files...
      /Users/i353408/Downloads/haa/haa.mtar
    ^R
    OK
    Operation ID: 35f6bfe3-0165-11eb-abb4-eeee0a8fe6be
    Deploying in org "i353408_sapbeluxworkshop" and space "sapbelux-dev"
    Detected MTA schema version: "3"
    Detected deployed MTA with namespace "null", ID "haa" and version "0.0.1"
    Detected new MTA version: "0.0.1"
    Deployed MTA version: "0.0.1"
    Processing service "haa-uaa"...
    Setting service "haa-uaa" parameters from "haa-uaa/xs-security.json"
    Updating service "haa-uaa"...
    Updating application "haa-java"...
    Application "haa-java" attributes are not modified and will not be updated

    Uploading application "haa-java"...
    Started async upload of application "haa-java"
    Staging application "haa-java"...
    Error staging application "haa-java": BuildpackCompileFailed - App staging failed in the buildpack compile phase
    Download the application logs via the dmol command and check them for more information.
    A step of the process has failed. Retrying it may solve the issue.
    Proceeding with automatic retry... (3 of 3 attempts left)
    Staging application "haa-java"...
    Error staging application "haa-java": BuildpackCompileFailed - App staging failed in the buildpack compile phase
    Download the application logs via the dmol command and check them for more information.
    A step of the process has failed. Retrying it may solve the issue.
    Proceeding with automatic retry... (2 of 3 attempts left)
    Staging application "haa-java"...
    Error staging application "haa-java": BuildpackCompileFailed - App staging failed in the buildpack compile phase
    Download the application logs via the dmol command and check them for more information.
    A step of the process has failed. Retrying it may solve the issue.
    Proceeding with automatic retry... (1 of 3 attempts left)
    Staging application "haa-java"...
    Error staging application "haa-java": BuildpackCompileFailed - App staging failed in the buildpack compile phase
    Download the application logs via the dmol command and check them for more information.
    A step of the process has failed. Retrying it may solve the issue.
    Process failed.
    Use "cf deploy -i 35f6bfe3-0165-11eb-abb4-eeee0a8fe6be -a abort" to abort the process.
    Use "cf deploy -i 35f6bfe3-0165-11eb-abb4-eeee0a8fe6be -a retry" to retry the process.
    Use "cf dmol -i 35f6bfe3-0165-11eb-abb4-eeee0a8fe6be" to download the logs of the process.
gregorwolf commented 2 years ago

Hi @cedricve,

to me it seems that the best way to get a working version of HAA is the Yeoman Generator for SAP HANA Analytics Adapter. I've discovered it via this video,

CU Gregor

acruzto2002 commented 1 year ago

gregorwolf please share the video, I can't deploy with Yeoman