是否可以在heroku上部署带有manager-gui的tomcat?

时间:2017-12-11 12:13:39

标签: tomcat heroku

我尝试在heroku上部署tomcat但它在启动时崩溃,错误代码为H10。 目标是使用manager / html来部署war文件。 从环境正确设置端口,禁用关闭端口。 错误日志显示:

2017-12-11T11:52:15.044454+00:00 heroku[web.1]: State changed from crashed to starting
2017-12-11T11:52:18.958330+00:00 heroku[web.1]: Starting process with command `export JAVA_OPTS="-Dserver.port=59582"; ./tomcat/bin/startup.sh`
2017-12-11T11:52:21.651115+00:00 heroku[web.1]: State changed from starting to crashed
2017-12-11T11:52:21.629979+00:00 heroku[web.1]: Process exited with status 0
2017-12-11T11:52:21.495507+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2017-12-11T11:52:21.534256+00:00 app[web.1]: Tomcat started.
2017-12-11T12:02:23.057838+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/manager/html" host=my-app.herokuapp.com request_id=1e4f9199-3015-4e4c-8a2f-311c0d97151a fwd="147.86.223.1" dyno= connect= service= status=503 bytes= protocol=https

它在本地工作正常。 有没有人试过这个?

0 个答案:

没有答案