Tomcat - starting webapps in a specific order

前端 未结 9 636
既然无缘
既然无缘 2020-12-05 07:51

I know that Tomcat and the Servlet spec do not support starting webapps in a particular order.

However, this seems to me like a common use case, and I\'m wondering i

9条回答
  •  Happy的楠姐
    2020-12-05 08:51

    We have the same problem and to solve it we're relying on the fact (slippery, I know) that applications are started in the order they are defined in /conf/server.xml.

    This of course has a disadvantage of hardcoding apps in the server.xml but we can live with it.

提交回复
热议问题