“ Azure容器未响应HTTP ping 80”-无法启动部署为War的Grails服务

时间:2019-06-12 10:11:36

标签: azure azure-web-sites

我有一个grails服务,该服务使用gradle构建人工制品sample.war。该War文件通过FTP部署到Linux的Azure应用程序服务中。我重新启动服务,并在Docker日志中收到这些错误,无法响应HTTP ping。我在catalina日志中也没有看到错误痕迹。绝对不知道这里发生了什么。

Docker日志:

2019-06-12 09:59:43.401 INFO  - Initiating warmup request to container xxxx-xxxx-xx_0 for site xxxx-xxxx-xx   
2019-06-12 09:59:46.587 ERROR - Container xxxx-xxxx-xx_0 for site xxxx-xxxx-xx has exited, failing site start
2019-06-12 09:59:46.612 ERROR - Container xxxx-xxxx-xx_0 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.

卡塔利娜日志:

12-Jun-2019 09:30:51.416 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.41
12-Jun-2019 09:30:51.423 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          May 4 2019 09:17:16 UTC
12-Jun-2019 09:30:51.424 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.41.0
12-Jun-2019 09:30:51.424 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
12-Jun-2019 09:30:51.425 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.4.0-128-generic
12-Jun-2019 09:30:51.425 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
12-Jun-2019 09:30:51.426 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/zulu-8-azure-jre-headless_8.38.0.13-8.0.212-linux_musl_x64
12-Jun-2019 09:30:51.514 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_212-b04
12-Jun-2019 09:30:51.517 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Azul Systems, Inc.
12-Jun-2019 09:30:51.527 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
12-Jun-2019 09:30:51.560 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
12-Jun-2019 09:30:51.578 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.net.preferIPv4Stack=true
12-Jun-2019 09:30:51.580 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
12-Jun-2019 09:30:51.588 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
12-Jun-2019 09:30:51.589 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
12-Jun-2019 09:30:51.590 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
12-Jun-2019 09:30:51.591 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
12-Jun-2019 09:30:51.626 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
12-Jun-2019 09:30:51.670 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsite.logdir=/home/LogFiles
12-Jun-2019 09:30:51.670 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsite.azMonlogdir=/var/log/diagnosticLogs
12-Jun-2019 09:30:51.670 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsite.home=/home
12-Jun-2019 09:30:51.676 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsite.tempdir=/tmp
12-Jun-2019 09:30:51.677 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dport.http=80
12-Jun-2019 09:30:51.677 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xverify:none
12-Jun-2019 09:30:51.677 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.instance.name=RD281878538FDA
12-Jun-2019 09:30:51.853 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
12-Jun-2019 09:30:51.864 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
12-Jun-2019 09:30:51.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0022
12-Jun-2019 09:30:51.873 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
12-Jun-2019 09:30:51.877 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
12-Jun-2019 09:30:51.877 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
12-Jun-2019 09:30:51.944 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
12-Jun-2019 09:30:51.982 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/lib/jvm/zulu-8-azure-jre-headless_8.38.0.13-8.0.212-linux_musl_x64/lib/amd64/server:/usr/lib/jvm/zulu-8-azure-jre-headless_8.38.0.13-8.0.212-linux_musl_x64/lib/amd64:/usr/lib/jvm/zulu-8-azure-jre-headless_8.38.0.13-8.0.212-linux_musl_x64/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
12-Jun-2019 09:30:57.228 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]
12-Jun-2019 09:30:58.232 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
12-Jun-2019 09:30:58.978 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 24183 ms
12-Jun-2019 09:30:59.956 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
12-Jun-2019 09:30:59.991 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.41
12-Jun-2019 09:31:01.313 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/site/wwwroot/webapps/sample.war]

0 个答案:

没有答案