Skip to content

Azure Web App: Configuration Details

Andy Xu(devdiv) edited this page Feb 14, 2020 · 16 revisions

<javaVersion>

The supported values for Web App on Linux are jre8,java11.

The supported values for Web App on Windows:

Supported Value Description
1.7 Java 7, Newest minor version
1.7.0_51 Java 7, Update 51
1.7.0_71 Java 7, Update 71
1.8 Java 8, Newest minor version
1.8.0_25 Java 8, Update 25
1.8.0_60 Java 8, Update 60
1.8.0_73 Java 8, Update 73
1.8.0_111 Java 8, Update 111
1.8.0_92 Azul's Zulu OpenJDK 8, Update 92
1.8.0_102 Azul's Zulu OpenJDK 8, Update 102
11 Java 11
11.0.2_ZULU Azul's Zulu OpenJDK 11

Note: It is recommended to ignore the minor version number so that the latest supported JVM will be used in your Web App.

<webContainer>

The supported Value for web App on Linux

Supported Value Description
tomcat 8.5 Newest Tomcat 8.5
tomcat 9.0 Tomcat 9.0
jre8 Java SE 8
java11 Java SE 11

Note: If the <webcontainer> is not configured, maven plugin will deploy your project to correspond Java SE runtime,

The supported Value for web App on windows

Supported Value Description
tomcat 7.0 Newest Tomcat 7.0
tomcat 7.0.50 Tomcat 7.0.50
tomcat 7.0.62 Tomcat 7.0.62
tomcat 8.0 Newest Tomcat 8.0
tomcat 8.0.23 Tomcat 8.0.23
tomcat 8.5 Newest Tomcat 8.5 (Default)
tomcat 8.5.6 Tomcat 8.5.6
jetty 9.1 Newest Jetty 9.1
jetty 9.1.0.20131115 Jetty 9.1.0.v20131115
jetty 9.3 Newest Jetty 9.3
jetty 9.3.13.20161014 Jetty 9.3.13.v20161014
java 8 Java SE 8
java 11 Java SE 11

Note1: It is recommended to ignore the minor version number so that the latest supported web container will be used in your Web App.

<resource>

Property Description
directory Specifies where the resources are stored.
targetPath Specifies the target path where the resources will be deployed to.
includes A list of patterns to include, e.g. **/*.war.
excludes A list of patterns to exclude, e.g. **/*.xml.

Note1: By default, the <targetPath> is relative to the /site/wwwroot/ folder except one case: it is relative to the /site/wwwroot/webapps when you deploy the war package.

Note2: If <targetPath> is started with '/', then <targetPath> will be regarded as a absolute path, you could deploy external resources to folders outside wwwroot in this method

<region>

Some valid regions are listed as below. All valid regions please refer to Azure Region Availability.

  • West US
  • West US 2
  • East Asia

<pricingTier>

Some valid pricing tiers are listed as below. All valid pricing tiers please refer to Azure App Service Plan Pricing.

  • F1 (Windows Only)
  • P1V2
  • P2V2

Note: Pricing tier selected should support the 'AlwaysOn' setting for deployment to succeed.

Clone this wiki locally