Before deploying Headwind MDM web application, Tomcat undeploys the default web application ("It works!"). The installer script assumes that 10 seconds is enough for the undeployment, but sometimes (in particular on weak VMs) it's not enough, and the deployment fails.
To fix the issue, just run Headwind MDM installer once again.