我们的Java WAR应用程序--只是一个无状态的Java web服务--在Heroku上运行了3年,但是在周五Heroku发起的一些活动之后:
heroku-postgresql: heroku-postgresql更新HEROKU_POSTGRESQL_RED
该应用程序现在在dyno重新启动时记录此错误:
2017-08-14T19:37:10.491690+00:00 heroku[web.1]: Starting process with command `${PRE_JAVA}java ${JAVA_OPTS} -jar webapp-runner-7.0.40.0.jar --port ${PORT} ${WEBAPP_RUNNER_OPTS} cv-services-1.0.0.war`
2017-08-14T19:37:12.584664+00:00 heroku[web.1]: State changed from starting to crashed
2017-08-14T19:37:12.585526+00:00 heroku[web.1]: State changed from crashed to starting
2017-08-14T19:37:12.575166+00:00 heroku[web.1]: Process exited with status 1
2017-08-14T19:37:12.503570+00:00 app[web.1]: Unable to access jarfile webapp-runner-7.0.40.0.jar并返回503 (服务不可用)错误。
Heroku支持说问题是:
不属于Heroku支持政策的性质
如果你已经经历并解决了这类问题--尤其是最近--或者有洞察力,请回答。
PS
heroku信息输出:
Addons: heroku-postgresql:dev
Auto Cert Mgmt: false
Dynos: web: 1
Git URL: https://git.heroku.com/xxxxxx.git
Owner: xxxxxx@xxxxxx.com
Region: eu
Repo Size: 0 B
Slug Size: 0 B
Stack: cedar
Web URL: https://xxxxxx.herokuapp.com/发布于 2017-08-14 20:15:44
我不清楚到底是什么问题,但是Heroku cedar堆栈(a.k.a )。雪松-10)为两年前停工.您可以按照步骤更新您的应用程序,但我认为您最好创建一个新的应用程序,您可以使用以下命令来完成:
$ heroku create
$ heroku plugins:install heroku-cli-deploy
$ heroku deploy:war cv-services-1.0.0.war这假设您有一个cv-services-1.0.0.war文件的副本。deploy:war命令将使用最新的Java (8)和最新的Tomcat (8.5)在最新的(heroku-16)堆栈上部署它。
https://stackoverflow.com/questions/45682001
复制相似问题