Play war deployment prevents Tomcat from stopping

南笙酒味 提交于 2019-12-06 11:18:24
Klink

So I found a solution for this problem in this thread: is-there-any-light-weight-actors-in-akka

As described by Roland Kuhn it is possible to set the threads by akka to be daemon, which in the end won`t keep the VM from shutting down.

To do that just set in application.conf:

play.akka.daemonic=on

or which should also work:

akka {
  daemonic=on
}

With that the tomcat will shutdown without problems.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!