Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Liberty Profile 仅在服务器接收到它的第一个请求时才加载我们部署到它的 EAR 和 WAR。我们如何告诉它在服务器启动时急切地加载应用程序?
我们使用的是最新的 8.5.5 WLP。
谢谢,
斯图
您可以通过将以下内容添加到 server.xml 来配置 WebContainer 以在第一次请求之前完全初始化应用程序:
<webContainer deferServletLoad="false"/>