Use Tomcat 9 instead of Tomcat 8. To install Tomcat 9, use the command:
# apt install tomcat9
There are two important things while installing Headwind MDM with Tomcat 9.
1. Tomcat 9 runs in the sandbox. Which means, it has no access to filesystem outside /var/lib/tomcat9. Therefore, when the installer script prompts for Headwind MDM directory and defaults it to /opt/hmdm, change it to some other directory accessible to Tomcat, for example, /var/lib/tomcat9/work. The installer script warns you about that, so just be attentive.
2. There is no catalina.out by default. To view the log file in the case of errors, look into /var/lib/tomcat9/logs/catalina.YYYY-MM-DD.log (where YYYY-MM-DD is the current date). Or use journalctl:
# journalctl -f -u tomcat9.service