Warm tip: This article is reproduced from stackoverflow.com, please click
azure-web-app-service spring-boot tomcat web-deployment azure-web-sites

Unable to run azure app service after deploying War file

发布于 2020-04-08 09:22:16

I renamed my war file to ROOT.war and deployed on azure web app service via FTP but it fails to start giving an error of 502. I get " there was insufficient free space available after evicting expired cache entries " from log stream. Anyone know how to solve this?

UPDATE: @alok I tried deploying with curl it gave me an error of invalid credentials. I am copying app FTP app credentials from deployment Center

    Server Error
    401 - Unauthorized: Access is denied due to invalid credentials.
    You do not have permission to view this directory or page using the credentials that you supplied.

(AZURE CLI is installed on my system) also when I try to deploy using power shell it says

Publish-AzWebapp : The term 'Publish-AzWebapp' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Questioner
FS95
Viewed
62
7,125 2020-02-01 08:57

Here's how I managed to get my war working on azure from Eclipse:

  1. Install Azure Tool kit for Eclipse from https://marketplace.eclipse.org/content/azure-toolkit-eclipse during installation eclipse will restart a couple of times.

  2. Right click on your project from drop down; hover to Azure and select Publish as Azure Webapp..

  3. Create a new linux based resource group with required Jre and tomcat version

  4. Hit Deploy !