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.


Answer accepted by question author
Ajay Kumar N 28,291 Reputation points Microsoft Employee Moderator
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

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.