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

IMPORTANT: Please notify the team about your question by filling in the form on the contact page. Otherwise, we may miss your question!

0 votes

I have troubles installing Headwind MDM on Ubuntu 20.04. When I'm trying to install Tomcat 8, it tells me:

E: Package 'tomcat8' has no installation candidate


How to proceed with installation?

by (6.9k points)

1 Answer

0 votes

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).

by (6.9k points)
...