Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undertow does not start application until first request #576

Open
deepakmn opened this issue Jan 26, 2021 · 3 comments
Open

Undertow does not start application until first request #576

deepakmn opened this issue Jan 26, 2021 · 3 comments

Comments

@deepakmn
Copy link

deepakmn commented Jan 26, 2021

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?

@decebals
Copy link
Member

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
Copy link
Member

@deepakmn What is the resolution of this issue?

@deepakmn
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants