Undertow listeners start before application deployments and start up is complete on EAP 7

Solution Unverified - Updated

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

EAP 7.1+ has the feature of starting in suspended mode see: How to start JBoss EAP 7.1 and above in suspended mode ?, which queues all requests till the server is fully started. It is possible to disable this request queuing during start up with EAP 7.2+ per Disabling Undertow's request queuing during on EAP 7.2+

Root Cause

This content is not included.WFCORE-1829 - Allow server to start in suspended mode

Components
Category
Tags

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.