Skip to Content

How to run a MTA App deployed on the cloud foundry trail account?

Hello Experts,

I have created one MTA App in the Full Stack Web IDE, then I created DB, JAVA and UI module along with their code. All the modules built and executed successfully independently from the Web IDE.

I built the entire MTA project and deployed the .mtar file onto the cloud foundry trail account, it got deployed successfully.

Now I can't see the UI module in the applications list in the cloud foundry but I can see DB and JAVA module.

Now I have no clue how to run the MTA App. Requesting for your help here.

The application list looks as attached.

test.jpg (68.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 23, 2018 at 10:42 AM

    Please click on the appRouter Application and you should see an URL that you can use to access the App.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 30, 2018 at 07:23 PM

    Hello All,

    I have updated the xs-app.json file of the appRouter module inside my MTA App as mentioned below and now appRouter application gives a different error "503 Service Temporarily Unavailable" when we run the appRuter application in the browser.

    I am not sure if we need to update the xs-app.json file of aapRouter but just tried as hit and trail.

    {
    	"authenticationMethod": "none",
    	"routes": [{
    		"source": "^(.*)$",
    		"target": "$1",
    		"service": "html5-apps-repo-rt",
    		"authenticationType": "xsuaa"
    	}]
    }
    

    Please guide me to resolve this issue.

    Error getting for AppRouter Application.

    I am trying this in Cloud Foundry trail account(AWS).

    Thanks,

    Sudhir


    test.jpg (42.6 kB)
    error.jpg (30.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 11, 2019 at 08:19 AM

    I could manage to run the UI module without using the App Router.

    I didn't use Cloud foundry's HTML5 repository at the time of UI module creation, so it didn't create App router.

    Now I can see an application called UI and it executes fine.

    But still I am wondering, how to make use of App Router when we use Cloud foundry's HTML5 repository.

    Thanks,

    Sudhir.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Sudhir,

      I am struggling with the same kind of problem. Below route is added to xs-app.json file of the html5 module in my MTA.

      { "source": "^(.*)$", "target": "$1", "service": "html5-apps-repo-rt", "authenticationType": "xsuaa" }

      deployment fails with below error,

      xs-app.json/routes/0: Format validation failed (A route requires access to html5-apps-repo-rt service but the service is not bound.)

      When the route is removed from xs-app.json file the MTA gets deployed successfully but when i open the appRouter URL it gives error as File not found with "siteNotFound/siteNotFound.html" at the end of the URL

      Can you please help with any pointers?

      Thanks,

      Ravindra

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.