Installing dhis2 on win server 2019

I am trying to setup an instance on win server2019. Am using jdk 8, tomcat 8 and postgres 13. After going through all steps, I get apache loading on port 8080 but the application does not load yet with the same procedure i can install on win 10.

Kindly advise.

See error message below

HTTP Status 404 – Not Found

Type Status Report

Message The requested resource [/suface] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Apache Tomcat/8.5.63

@sundayose Could you please share your virtual host configuration?
I think there issue with proxy.

Hi thanks for the quick response.

I am using a virtual private server at OVHcloud with the following specifications;
8vCores, 8GB Ram, 160GB SSD, Intel core processor (Haswell, No TSX).

I can access the server via RDP.

Under host manager of tomcat my application is also not started yet i successfully ran tomcat and started it.

26-Feb-2021 01:50:14.697 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.43
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 28 2021 20:25:45 UTC
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.43.0
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2016
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk-15.0.2
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 15.0.2+7-27
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 9.0
26-Feb-2021 01:50:14.707 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 9.0
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf\logging.properties
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
26-Feb-2021 01:50:14.730 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk-15.0.2\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;“C:\Program Files\Java\jdk-15.0.2\bin”;C:\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\WindowsApps;.]
26-Feb-2021 01:50:15.194 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
26-Feb-2021 01:50:15.319 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [889] milliseconds
26-Feb-2021 01:50:15.382 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
26-Feb-2021 01:50:15.382 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.43]
26-Feb-2021 01:50:15.429 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\suface.war]
26-Feb-2021 01:50:36.120 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars 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 scanning can improve startup time and JSP compilation time.

I solved my problem by installing 2.30 war file. Then I will upgrade to the newer versions. It seem in windows server 2016 and 2019 you cant run the latest war files.