Question

Liberty Profile is loading EARs and WARs we deploy to it only when the server receives it's first request. How can we tell it to eagerly load applications upon server start?

We're using the latest 8.5.5 WLP.

Thanks,

Stu

Was it helpful?

Solution

You can configure the WebContainer to fully initialize the application prior to the first request by adding the following to your server.xml:

<webContainer deferServletLoad="false"/>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top