我正在将一个WAR文件部署到Azure的应用程序服务器中,我的管道构建成功了,但我的web应用程序没有显示在服务器URL中,有人能告诉我遗漏了什么吗?
2020-04-20T14:01:09.3660179Z ##[section]Starting: Deploy War to Azure App Service
2020-04-20T14:01:09.3766431Z
==============================================================================
2020-04-20T14:01:09.3766892Z Task : Azure App Service deploy
2020-04-20T14:01:09.3767548Z Description : Deploy to Azure App Service a web, mobile, or API app
using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
2020-04-20T14:01:09.3767944Z Version : 4.163.5
2020-04-20T14:01:09.3768213Z Author : Microsoft Corporation
2020-04-20T14:01:09.3768522Z Help : https://aka.ms/azureappservicetroubleshooting
2020-04-20T14:01:09.3768901Z
==============================================================================
2020-04-20T14:01:10.5416719Z Got service connection details for Azure App Service:'jpetstore01'
2020-04-20T14:01:13.1232245Z Package deployment using WAR Deploy initiated.
2020-04-20T14:01:28.4292592Z Deploy logs can be viewed at
https://jpetstore01.scm.azurewebsites.net/api/deployments/9d03f1b9973b489e898d2aedfd5f7129/log
2020-04-20T14:01:28.4294018Z Successfully deployed web package to App Service.
2020-04-20T14:01:34.2874810Z Successfully updated App Service configuration details
2020-04-20T14:01:36.5781456Z Successfully updated deployment History at
https://jpetstore01.scm.azurewebsites.net/api/deployments/41587391294722
2020-04-20T14:01:38.3127393Z App Service Application URL: http://jpetstore01.azurewebsites.net
2020-04-20T14:01:41.0462523Z ##[section]Finishing: Deploy War to Azure App Service
这是我的管道日志,上面说部署成功,但我无法将web应用程序放入http://jpetstore01.azurewebsites.net.有人能帮我吗?
从@LoGan共享的日志来看,war文件似乎已由Azure DevOps任务成功部署,但应用程序在启动过程中遇到了一些错误。
请导航到https://<sitename>.scm.azurewebsites.net/DebugConsole
,然后浏览到D:homeLogFilesApplication
目录。您应该看到一个或多个名为catalina.*.log
的文件。这些是Tomcat生成的日志文件,应该会为您提供一些关于应用程序在启动过程中出现问题的提示。