pippo icon indicating copy to clipboard operation
pippo copied to clipboard

Undertow does not start application until first request

Open deepakmn opened this issue 4 years ago • 3 comments

pippo 1.12 used with spring container and undertow. What I've noticed with undertow vis-à-vis other servers is that undertow does not start my app until the first request. I have to make at least one request for the via a browser for the service to be available. How can I fix this?

deepakmn avatar Jan 26 '21 15:01 deepakmn

Try to call setLoadOnStart in UndertowServer and see if it works. If it works we will extract a setLoadOnStart method in WebServer interface (or other good place).

decebals avatar Jan 28 '21 17:01 decebals

@deepakmn What is the resolution of this issue?

decebals avatar Nov 16 '21 20:11 decebals

I've not attempted this yet. Our team later decided to work with the default behavior.

deepakmn avatar Nov 19 '21 08:11 deepakmn