Hello,
Here is my problem :
I need to load-balance two Wildfly instances (currently using Nginx as the load-balancer).
I have a webapp deployed on each instance.
The webapp takes about 30s to deploy.
Now here is the problem :
If I restart an instance, Wildfly accepts http requests to this instance immediatly even if my app is not fully deployed. It just makes the http requests wait until the app is fully deployed.
So that means that when an instance is restarted, I have potentially http requests waiting 30s before getting a response (The load balancer considers this instance OK as it is accepting http requests).
Question: Is there any way to make Wildfly reject http requests on the public interface until my app is fully deployed ?