【发布时间】:2014-03-27 14:21:01
【问题描述】:
我认为我的 Procfile 有问题。部署已成功编译,但应用程序未启动此消息--
2014-03-27T14:17:06.465302+00:00 heroku[api]: Deploy ea0e14d by xxxx@gmail.com
2014-03-27T14:17:06.465378+00:00 heroku[api]: Release v10 created by xxxx@gmail.com
2014-03-27T14:17:14.091032+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/enigmatic-dusk-7498 -Dhttp.port=32253`
2014-03-27T14:17:15.199466+00:00 app[web.1]: bash: target/universal/stage/bin/enigmatic-dusk-7498: No such file or directory
2014-03-27T14:17:16.511169+00:00 heroku[web.1]: Process exited with status 127
2014-03-27T14:17:16.521177+00:00 heroku[web.1]: State changed from starting to crashed
procfile 读取:
web: target/universal/stage/bin/enigmatic-dusk-7498 -Dhttp.port=$PORT
我猜这是 play 2.2 以后的标准。 怎么了?神秘的黄昏是 heroku 给我的应用程序起的名字。我的本地名称不同。
编辑:
根据一些建议,我尝试将 procfile 更改为我的本地应用程序名称。
新建 Procfile -
web: target/universal/stage/bin/ExampleBootStrap -Dhttp.port=$PORT
还是失败了。
2014-03-27T17:58:12.527528+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/ExampleBootStrap -Dhttp.port=38392`
2014-03-27T17:58:13.948429+00:00 app[web.1]: bash: target/universal/stage/bin/ExampleBootStrap: No such file or directory
2014-03-27T17:58:15.608461+00:00 heroku[web.1]: Process exited with status 127
2014-03-27T17:58:15.621947+00:00 heroku[web.1]: State changed from crashed to starting
2014-03-27T17:58:15.620997+00:00 heroku[web.1]: State changed from starting to crashed
2014-03-27T17:58:27.265083+00:00 heroku[web.1]: State changed from starting to crashed
2014-03-27T17:58:24.366648+00:00 heroku[web.1]: Starting process with command `target/universal/stage/bin/ExampleBootStrap -Dhttp.port=33223`
2014-03-27T17:58:25.666535+00:00 app[web.1]: bash: target/universal/stage/bin/ExampleBootStrap: No such file or directory
2014-03-27T17:58:27.250296+00:00 heroku[web.1]: Process exited with status 127
【问题讨论】:
标签: heroku playframework playframework-2.0