2024 Jul 06 8:15 PM - edited 2024 Jul 06 8:18 PM
Hi @Mark_Quincy and team.
I'm running an issue while deploying the riskManagement app in trial account. This is my repo:
https://github.com/stefanopassaro/riskManagement/
I see everything fine in local, but when I deploy i receive this when I go to the launchpad page:
The other service is up and running, so it must me something related with routing i presume:
both services are running in the cloud foundry environment in a btp trial account with BAS and Hana Cloud.
Thank in advance!!!
pd: I would like to thank you for your work and effort.
Hello Stefano. Try this:
(1) Go to your “xs-app.json” file ( located under “app/router” ) and on line #1 change the string from "app/launchpad.html" to “app/risk-management/webapp/index.html”. Be sure to save it.
(2) Move the “xs-app.json” file from the router folder to the “app” folder ( in other words move it one directory level up ).
(3) Go to your “mta.yaml” file and change the string on line #42 from “app/router“ to “app”. Be sure to save it. This is necessary since we moved the “xs-app.json” file one directory up so the location string has to be updated.
(4) Rebuild & redeploy to cloud foundry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank for your answer! Unfortunately, i'm receiving errow while, deplyoying (not sure it is related):
rror staging application "risk-management": NoAppDetectedError - An app was not successfully detected by any available buildpack 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. Stopping application "risk-management-srv"... Proceeding with automatic retry... (3 of 3 attempts left) Staging application "risk-management"... Staging application "risk-management-srv"... Error staging application "risk-management": NoAppDetectedError - An app was not successfully detected by any available buildpack
Hello Stefano. Hope all is well.
When I cloned your project I did not see that any of the changes that I suggested have been made. However it may be the case that you haven't yet "pushed" changes to your project to GitHub and I was simply cloning a previous version of your code.
So what I did was simply to take the version of code from your GitHub repository, clone it and then add the changes. This updated code is located at my GitHub repository:
https://github.com/FioriDeveloper19/riskManagment.git
You can clone this working solution from this location: ("git clone https://github.com/FioriDeveloper19/riskManagment.git"). After cloning you can deploy. The "index.html" will then load.
Although the index.html will load I noticed when trying to execute your application that there were issues with the "Business Partners" API call. Again that may be related to me just using a previous version of your code (your current version may have the correct code). I can't do those steps for you. The steps for that are explained in the relevant exercise for the CLD200 course. So you'll have to do (or redo) those steps after you clone the working solution.
Hi @Mark_Quincy,
I'm experiencing the same 'not found' error as Stefano. Despite applying the changes you mentioned, I'm still getting the same error that he encountered when deploying the application:
Error staging application "risk-management": NoAppDetectedError - An app was not successfully detected by any available buildpack 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.
I've tried deleting the 'gen' folder and rebuilding and redeploying, but I still get the same error.
I'm not sure if it's related, but when I run my application locally and try to access the data (after entering the username 'riskmanager' and password 'initial'), I get a 'forbidden' error, even though my user has been assigned the riskmanager role. This error started occurring after the application deployment.
This is my git repository: https://github.com/inesromero-r/RiskManagement/tree/main
Thank you in advance.
User | Count |
---|---|
10 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.