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.
Here's how I managed to get my war working on azure from Eclipse:
Install Azure Tool kit for Eclipse from https://marketplace.eclipse.org/content/azure-toolkit-eclipse during installation eclipse will restart a couple of times.
Right click on your project from drop down; hover to Azure and select Publish as Azure Webapp..
Create a new linux based resource group with required Jre and tomcat version
Hit Deploy !