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.

0 votes
Hi,
I also got this error, but even 2/3 other tries, the error always shows.
OS : debian 13
Tomcat v9.0.112

Ready to install!

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

URL: https://mdm.xxxxyyyyy.fr

Is this information correct [Y/n]? Y

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

Deploying hmdm-5.37.3-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.

this is the log: (note that i changed the tomcat port to 8087 since crowdsec already uses 8080)

 tail -f /opt/tomcat/logs/catalina.out

02-Dec-2025 14:26:44.170 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Déploiement du répertoire d'application web [/opt/tomcat/webapps/host-manager]

02-Dec-2025 14:26:44.187 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Le déploiement du répertoire [/opt/tomcat/webapps/host-manager] de l'application web s'est terminé en [17] ms

02-Dec-2025 14:26:44.187 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Déploiement du répertoire d'application web [/opt/tomcat/webapps/examples]

02-Dec-2025 14:26:44.292 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Le déploiement du répertoire [/opt/tomcat/webapps/examples] de l'application web s'est terminé en [105] ms

02-Dec-2025 14:26:44.292 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Déploiement du répertoire d'application web [/opt/tomcat/webapps/manager]

02-Dec-2025 14:26:44.306 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Le déploiement du répertoire [/opt/tomcat/webapps/manager] de l'application web s'est terminé en [14] ms

02-Dec-2025 14:26:44.306 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Déploiement du répertoire d'application web [/opt/tomcat/webapps/ROOT]

02-Dec-2025 14:26:44.313 INFOS [main] org.apache.catalina.startup.HostConfig.deployDirectory Le déploiement du répertoire [/opt/tomcat/webapps/ROOT] de l'application web s'est terminé en [7] ms

02-Dec-2025 14:26:44.316 INFOS [main] org.apache.coyote.AbstractProtocol.start Démarrage du gestionnaire de protocole ["http-nio-0.0.0.0-8087"]

02-Dec-2025 14:26:44.326 INFOS [main] org.apache.catalina.startup.Catalina.start Le démarrage du serveur a pris [346] millisecondes
related to an answer for: ERROR: failed to deploy WAR file!
ago by (120 points)

1 Answer

0 votes
Please note that the recommended OS is Ubuntu Server 22.04 (or higher).

The most common cause of this error is the use of special characters in the database user password.

Try changing the password to a simpler one, containing only letters and numbers.
ago by (17.9k points)
Thanks for your help,
 Well, the password is actually only letters and numbers, although 25 characters long.
I did try changing back to port 8080 (and putting crowdsec on another), but i still get the same error.
What's annoying is the lack of logging. I know ubuntu is the recommended os, i guess i'll redo the installation, but honestly everything went ultra smooth with tomcat before that error
...