Hi, I'm following the guide on the official website:
https://h-mdm.com/advanced-web-panel-installation/
And arriving at the point where the installation starts, I'm getting a "Error: Failed to deploy WAR file!"
I've checked the forums and follow the advice on this and this answers with no luck.
Here's the log of journalctl -u tomcat9.service
-- Journal begins at Thu 2022-07-14 13:29:14 UTC, ends at Fri 2022-09-02 09:42:39 UTC. --
Sep 02 07:52:55 deliclever-vpn systemd[1]: Starting Apache Tomcat 9 Web Application Server...
Sep 02 07:52:55 deliclever-vpn systemd[1]: Started Apache Tomcat 9 Web Application Server.
Sep 02 07:52:55 deliclever-vpn tomcat9[1708762]: NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/>
Sep 02 07:52:58 deliclever-vpn tomcat9[1708762]: Server version name: Apache Tomcat/9.0.43 (Debian)
Sep 02 07:52:58 deliclever-vpn tomcat9[1708762]: Server built: Jan 4 1970 19:03:34 UTC
Sep 02 07:52:58 deliclever-vpn tomcat9[1708762]: Server version number: 9.0.43.0
Sep 02 07:52:58 deliclever-vpn tomcat9[1708762]: OS Name: Linux
Sep 02 07:52:58 deliclever-vpn tomcat9[1708762]: OS Version: 5.10.0-16-amd64
Sep 02 07:52:58 deliclever-vpn tomcat9[1708762]: Architecture: amd64
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Java Home: /usr/lib/jvm/java-11-openjdk-amd64
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: JVM Version: 11.0.16+8-post-Debian-1deb11u1
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: JVM Vendor: Debian
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: CATALINA_BASE: /var/lib/tomcat9
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: CATALINA_HOME: /usr/share/tomcat9
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Djava.awt.headless=true
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Dignore.endorsed.dirs=
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Dcatalina.base=/var/lib/tomcat9
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Dcatalina.home=/usr/share/tomcat9
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: Command line argument: -Djava.io.tmpdir=/tmp
Sep 02 07:52:59 deliclever-vpn tomcat9[1708762]: The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x8>
Sep 02 07:53:02 deliclever-vpn tomcat9[1708762]: Initializing ProtocolHandler ["http-nio-8080"]
Sep 02 07:53:02 deliclever-vpn tomcat9[1708762]: Server initialization in [5276] milliseconds
Sep 02 07:53:03 deliclever-vpn tomcat9[1708762]: Starting service [Catalina]
Sep 02 07:53:03 deliclever-vpn tomcat9[1708762]: Starting Servlet engine: [Apache Tomcat/9.0.43 (Debian)]
Sep 02 07:53:03 deliclever-vpn tomcat9[1708762]: Deploying web application directory [/var/lib/tomcat9/webapps/ROOT]
Sep 02 07:53:09 deliclever-vpn tomcat9[1708762]: 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 un>
Sep 02 07:53:14 deliclever-vpn tomcat9[1708762]: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [5,133] milliseconds.
Sep 02 07:53:15 deliclever-vpn tomcat9[1708762]: Deployment of web application directory [/var/lib/tomcat9/webapps/ROOT] has finished in [11,821] ms
Sep 02 07:53:15 deliclever-vpn tomcat9[1708762]: Starting ProtocolHandler ["http-nio-8080"]
Sep 02 07:53:15 deliclever-vpn tomcat9[1708762]: Server startup in [12482] milliseconds
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: Undeploying context []
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: The web application [ROOT] appears to have started a thread named [SeedGenerator Thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: java.base@11.0.16/java.lang.Object.wait(Native Method)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: java.base@11.0.16/java.lang.Object.wait(Object.java:328)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: java.base@11.0.16/sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(SeedGenerator.java:332)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: java.base@11.0.16/java.lang.Thread.run(Thread.java:829)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: Failed to clear soft references from ObjectStreamClass$Caches for web application [ROOT]
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base >
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:2282)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches(WebappClassLoaderBase.java:2257)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:1626)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:1554)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:461)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5469)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:805)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.startup.HostConfig.undeploy(HostConfig.java:1369)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1296)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1555)
Sep 02 08:22:26 deliclever-vpn tomcat9[1708762]: at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)