Undertow listeners start before application deployments and start up is complete on EAP 7
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.x
Issue
- Undertow listeners fully start and accept requests long before the server starts and applications fully deploy. This leads to unneeded 404s as JBoss starts accepting the incoming traffic before completing deployments.
Resolution
- This is going to be resolved in EAP 7.1.0 by EAP7-636, which blocks all requests till the server is fully started (server behaves as suspended).
- It should be possible to start the server in suspended mode. In addition to this as part of normal startup the server should be suspended until the MSC service container hits stability.
- You can refer to Starting Suspended.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
