Hello group,

(coss-post from keycloak-user Mailing List)

the undertow servlet-container is started pretty early during the startup of the
wildfly application server. However the initialization of the keycloak serverĀ 
application might take a while to complete. Within this period requests that are
sent to the keycloak endpoints result in responses with HTTP Status Code 404.

Is it possible to configure undertow to return a HTTP Status Code 503 (Service Unvailable)
until the keycloak application startup has completed?

This would ease configuring load-balancers and to avoid showing a file not foundĀ 
to users during server restarts.

Cheers,
Thomas