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 screen:
Ready to install!
Location on server: /var/lib/tomcat9/work
URL: 192.168.1.6:443
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 ./server/target/launcher.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.
I try to install it again but its happen all the times.
I cheked a tomcat log file and there's a lot of information. What i looking for?
The Errors i found:
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scaning can improve startup time and JSP compilation time.
Dec 06 14:29:56 mdm tomcat9[11011]: [HMDM-LOGGING] : Using log4j configuration from: file:///var/lib/tomcat9/work/log4j-hmdm.xml
Dec 06 14:29:59 mdm tomcat9[11011]: 2021-12-06 14:29:59 [ERROR] com.hmdm.guice.module.LiquibaseModule : Error during open JDBC connection
Dec 06 14:29:59 mdm tomcat9[11011]: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "hmdm"
2021-12-06 14:30:00 [ERROR] com.hmdm.notification.guice.module.NotificationLiquibaseModule : Error during open JDBC connection
Dec 06 14:30:00 mdm tomcat9[11011]: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "hmdm"