azure-maven-plugins icon indicating copy to clipboard operation
azure-maven-plugins copied to clipboard

Deploy external resources to Azure outside wwwroot will show timeout error on Azure Win VM.

Open EricZhangzf opened this issue 4 years ago • 1 comments

Plugin name and version

Maven plugin for azure webapps
1.9.1

Plugin configuration in your pom.xml

<plugin> 
   <groupId>com.microsoft.azure</groupId> 
   <artifactId>azure-webapp-maven-plugin</artifactId> 
   <version>1.9.1</version> 
   <configuration> 
     <authType>auto</authType> 
     <subscriptionId>xxxxxxxxxxxxxxxxxxx</subscriptionId>
     <schemaVersion>V2</schemaVersion> 
     <resourceGroup>your-resource-group</resourceGroup> 
     <appName>web-20201</appName> 
     <pricingTier>P1v2</pricingTier> 
     <region>eastus</region> 
     <runtime> 
        <os>linux</os> 
        <javaVersion>jre8</javaVersion> 
        <webContainer>Tomcat 8.5</webContainer> 
     </runtime> 
     <deployment> 
        <resources> 
            <resource> 
               <directory>${project.basedir}/target</directory> 
               <includes> 
                   <include>*.war</include> 
               </includes> 
            </resource> 
         <resource>
             <directory>${project.basedir}</directory>
             <targetPath>/apache-tomcat-8.5.42/conf</targetPath>
             <includes>
                 <include>server.xml</include>
            </includes>
        </resource>
     </resources> 
     </deployment> 
     </configuration> 
 </plugin>

Expected behavior

Deploy successfully

Actual behavior

image

Steps to reproduce the problem

  1. Config your pom.xml like above.
  2. mvn clean package
  3. mvn azure-webapp:deploy

Note:

It only occors on Azure Windows VM

EricZhangzf avatar Mar 26 '20 03:03 EricZhangzf

it's not reproduceable on Azure VM (Windows 11)

wangmingliang-ms avatar Sep 20 '22 08:09 wangmingliang-ms