jar deploy problem

saltycheeez 21 Reputation points
2020-12-04T08:04:26.437+00:00

I want to deploy in web app as jar.
So I deleted start html file and uploaded my jar file.
Then restart my server.
But when I enter my server url I just see start html page.
Also when I enter l7check page I get 404 error.
I uploaded my jar file at home/site/wwwroot.

Did I missed something?
I want any advice😭

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,881 questions
{count} votes

Accepted answer
  1. ajkuma 22,401 Reputation points Microsoft Employee
    2020-12-04T13:28:12.69+00:00

    @saltycheeez ,

    In Azure portal: select the app's Configuration page, then select General settings. In the Startup Command field, place either the full text of your startup command or the name of your startup command file. Then select Save to apply the changes.

    stack: Java SE
    Expected value: the command used to start your JAR app (e.g. java -jar /home/site/wwwroot/app.jar --server.port=80)

    Kindly see, this document for more details.
    Also, refer the sample/step-step process: Quickstart: Create a Java app on Azure App Service


0 additional answers

Sort by: Most helpful