Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

+1 vote

I'm installing Headwind MDM on my server using the installer from the website.

However it reports an error: failed to deploy WAR file!

Here's the script output:

Ready to install!

Location on server: /var/lib/tomcat9/work

URL: https://*********.com

Is this information correct [Y/n]? y

Waiting for undeploying the previous version

..........

Tomcat config file created: /var/lib/tomcat9/conf/Catalina/localhost/ROOT.xml

Deploying hmdm-4.07.1-os.war to Tomcat: /var/lib/tomcat9/webapps/ROOT.war

........................................................................................................................

ERROR: failed to deploy WAR file!

Please check /var/lib/tomcat9/logs/catalina.out for details.

by (32.7k points)

1 Answer

–1 vote
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.
by (32.7k points)
...