我想在AWS Beanstalk上部署一个JAVA应用程序(基于PlayFramework 1.x)。我使用的是基于Corretto 8的web服务器环境,运行在64位Amazon Linux 2/3.1.6上。
我还在环境中添加了一个负载均衡器。在部署期间,我的钩子工作得很好(例如数据库模式演变),然后就是启动web服务器的时候了。
部署失败,出现以下错误:
[ERROR] update processes [web cfn-hup nginx healthd] pid symlinks failed with error Read pid source file /var/pids/web.pid failed with error:open /var/pids/web.pid: no such file or directory
[ERROR] An error occurred during execution of command [app-deploy] - [Track pids in healthd]. Stop running the command. Error: update processes [web cfn-hup nginx healthd] pid symlinks failed with error Read pid source file /var/pids/web.pid failed with error:open /var/pids/web.pid: no such file or directory 对于nginx,我没有使用任何特定的配置。我在缺省端口(5000)上运行JAVA应用程序。
我在AWS论坛和stackoverflow上看到,有些人在worker环境中遇到了这个问题,但我不使用这种配置。
你遇到过这个问题吗?
发布于 2021-03-27 00:18:06
您的web.service无法启动。您可能在jar中缺少清单,或者在清单文件中缺少主类。
https://stackoverflow.com/questions/66802010
复制相似问题