Tomcat - starting webapps in a specific order

前端 未结 9 633
既然无缘
既然无缘 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条回答
  •  既然无缘
    2020-12-05 08:36

    Can it be that they are starting in the order as they are deployed in?

    So if i have four apps: 1, 2, 3, 4 and i deploy them in the following order: 1, 2, 4 (restart tomcat), 3 (restart). That it caches something somewhere to make the projects always startup in that order? So 1, 2, 4, 3. It happens over here. I'm unsure, but maybe it helps someone.

提交回复
热议问题