A spring application is deployed as a web module initializing multiple modules(deployed as SAR files) to have the flexibility of changing integrations based on customer interfaces during deployment time. I've seen whenever there is an invalid name server entry in /etc/resolv.conf deployment of the SAR files slows down where each one takes atleast more than 60 seconds slowing down the overall deployment of the application.
Application -
- WAR
- Hibernate
- SAR (Multiple)
- Spring based REST/SOAP clients
Any idea why would the invalid nameserver entry slow down the deployment.
Thanks,
Raja
Take thread dumps when those 60 seconds+ delays happen and see what the threads are doing. Here's some details on how to take thread dumps ThreadDump