Installing DHIS2 in Windows 10 (HTTP Status 404 - Not Found)

Hello, I uninstalled all relevant programs and re-installed everything according to the instruction above - and still getting the 404.

I downloaded java version 8 for x64 OS (as it is my OS specification), which ends up in the Program Files folder, instead of the Program Files (x86) folder. Could this be causing the error?

Here are our environmental variables.

Pasting catalina out below.

Catalina Log

java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.postgresql.core.v3.ConnectionFactoryImpl]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1372)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1225)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1187)
at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:167)
at org.apache.logging.log4j.core.impl.ThrowableProxyHelper.loadClass(ThrowableProxyHelper.java:218)
at org.apache.logging.log4j.core.impl.ThrowableProxyHelper.toExtendedStackTrace(ThrowableProxyHelper.java:114)
at org.apache.logging.log4j.core.impl.ThrowableProxy.(ThrowableProxy.java:109)
at org.apache.logging.log4j.core.impl.ThrowableProxy.(ThrowableProxy.java:93)
at org.apache.logging.log4j.core.impl.Log4jLogEvent.getThrownProxy(Log4jLogEvent.java:629)
at org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter.format(ExtendedThrowablePatternConverter.java:63)
at org.apache.logging.log4j.core.pattern.PatternFormatter.format(PatternFormatter.java:38)
at org.apache.logging.log4j.core.layout.PatternLayout$PatternSerializer.toSerializable(PatternLayout.java:345)
at org.apache.logging.log4j.core.layout.PatternLayout.toText(PatternLayout.java:244)
at org.apache.logging.log4j.core.layout.PatternLayout.encode(PatternLayout.java:229)
at org.apache.logging.log4j.core.layout.PatternLayout.encode(PatternLayout.java:59)
at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.directEncodeEvent(AbstractOutputStreamAppender.java:197)
at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.tryAppend(AbstractOutputStreamAppender.java:190)
at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:181)
at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:543)
at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:502)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:485)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:460)
at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
at org.apache.logging.log4j.core.Logger.log(Logger.java:161)
at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2198)
at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2152)
at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2135)
at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2011)
at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1983)
at org.apache.logging.slf4j.Log4jLogger.warn(Log4jLogger.java:259)
at com.mchange.v2.log.slf4j.Slf4jMLog$Slf4jMLogger$WarnLogger.log(Slf4jMLog.java:223)
at com.mchange.v2.log.slf4j.Slf4jMLog$Slf4jMLogger.log(Slf4jMLog.java:256)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1949)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)

19-May-2021 16:47:01.033 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis2-stable-2.36.0.war] has finished in [165,588] ms
19-May-2021 16:47:01.036 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs]
19-May-2021 16:47:01.174 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] has finished in [139] ms
19-May-2021 16:47:01.175 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager]
19-May-2021 16:47:01.333 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [157] ms
19-May-2021 16:47:01.333 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT]
19-May-2021 16:47:01.401 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] has finished in [68] ms
19-May-2021 16:47:01.415 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
19-May-2021 16:47:01.444 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [166198] milliseconds
19-May-2021 16:56:26.863 INFO [Thread-9] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]
19-May-2021 16:56:27.327 INFO [Thread-9] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
19-May-2021 16:56:27.373 INFO [Thread-9] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“http-nio-8080”]
19-May-2021 16:56:27.436 INFO [Thread-9] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler [“http-nio-8080”]
19-May-2021 16:57:24.903 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.46
19-May-2021 16:57:24.903 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: May 8 2021 17:35:52 UTC
19-May-2021 16:57:24.903 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.46.0
19-May-2021 16:57:24.903 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_291
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_291-b10
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
19-May-2021 16:57:24.919 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
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
19-May-2021 16:57:24.919 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
19-May-2021 16:57:24.934 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\jre1.8.0_291\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\TXE Components\TCS;C:\Program Files\Intel\TXE Components\TCS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\TXE Components\DAL;C:\Program Files (x86)\Intel\TXE Components\DAL;C:\Program Files\Intel\TXE Components\IPT;C:\Program Files (x86)\Intel\TXE Components\IPT;C:\WINDOWS\System32\OpenSSH;C:\Program Files\nodejs;C:\Ruby27-x64\bin;C:\Users\kyoko\AppData\Local\Microsoft\WindowsApps;C:\Users\kyoko\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\kyoko\AppData\Roaming\npm;C:\Program Files\apache-maven-3.8.1\bin;.]

19-May-2021 16:57:26.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
19-May-2021 16:57:26.753 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2445] milliseconds
19-May-2021 16:57:26.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
19-May-2021 16:57:26.894 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.46]
19-May-2021 16:57:26.987 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis2-stable-2.36.0.war]
19-May-2021 16:58:30.190 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.
19-May-2021 16:59:52.129 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
19-May-2021 16:59:52.145 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/dhis2-stable-2.36.0] startup failed due to previous errors
19-May-2021 16:59:52.488 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qdh5e1c3klvq|766d1750]-AdminTaskTimer] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.util.TimerThread.mainLoop(Unknown Source)
java.util.TimerThread.run(Unknown Source)
19-May-2021 16:59:52.488 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qdh5e1c3klvq|766d1750]-HelperThread-#0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
19-May-2021 16:59:52.488 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qdh5e1c3klvq|766d1750]-HelperThread-#1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
19-May-2021 16:59:52.488 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qdh5e1c3klvq|766d1750]-HelperThread-#2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
19-May-2021 16:59:52.551 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis2-stable-2.36.0.war] has finished in [145,564] ms
19-May-2021 16:59:52.551 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs]
19-May-2021 16:59:52.676 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] has finished in [125] ms
19-May-2021 16:59:52.691 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager]
19-May-2021 16:59:52.816 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [125] ms
19-May-2021 16:59:52.816 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT]
19-May-2021 16:59:52.895 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] has finished in [79] ms
19-May-2021 16:59:52.910 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
19-May-2021 16:59:52.926 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [146175] milliseconds
19-May-2021 17:01:28.385 INFO [Thread-9] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]
19-May-2021 17:01:28.843 INFO [Thread-9] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
19-May-2021 17:01:28.890 INFO [Thread-9] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“http-nio-8080”]
19-May-2021 17:01:28.953 INFO [Thread-9] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler [“http-nio-8080”]
19-May-2021 17:01:43.646 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.46
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: May 8 2021 17:35:52 UTC
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.46.0
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre1.8.0_291
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_291-b10
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 9.0
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 9.0\temp
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
19-May-2021 17:01:43.662 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
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
19-May-2021 17:01:43.662 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
19-May-2021 17:01:43.693 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\jre1.8.0_291\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\TXE Components\TCS;C:\Program Files\Intel\TXE Components\TCS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\TXE Components\DAL;C:\Program Files (x86)\Intel\TXE Components\DAL;C:\Program Files\Intel\TXE Components\IPT;C:\Program Files (x86)\Intel\TXE Components\IPT;C:\WINDOWS\System32\OpenSSH;C:\Program Files\nodejs;C:\WINDOWS\ServiceProfiles\LocalService\AppData\Local\Microsoft\WindowsApps;.]
19-May-2021 17:01:45.029 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [“http-nio-8080”]
19-May-2021 17:01:45.669 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2732] milliseconds
19-May-2021 17:01:45.794 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
19-May-2021 17:01:45.794 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.46]
19-May-2021 17:01:45.888 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis2-stable-2.36.0.war]
19-May-2021 17:02:54.786 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.
19-May-2021 17:04:22.516 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
19-May-2021 17:04:22.525 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/dhis2-stable-2.36.0] startup failed due to previous errors
19-May-2021 17:04:22.929 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qj8fm1sk71rq|766d1750]-AdminTaskTimer] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.util.TimerThread.mainLoop(Unknown Source)
java.util.TimerThread.run(Unknown Source)

Catalina Log

19-May-2021 17:04:22.931 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qj8fm1sk71rq|766d1750]-HelperThread-#0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
19-May-2021 17:04:22.933 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qj8fm1sk71rq|766d1750]-HelperThread-#1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
19-May-2021 17:04:22.934 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [dhis2-stable-2.36.0] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->1hge0yyah10qj8fm1sk71rq|766d1750]-HelperThread-#2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
19-May-2021 17:04:22.996 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\dhis2-stable-2.36.0.war] has finished in [157,106] ms
19-May-2021 17:04:23.000 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs]
19-May-2021 17:04:23.125 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\docs] has finished in [125] ms
19-May-2021 17:04:23.126 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager]
19-May-2021 17:04:23.271 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [144] ms
19-May-2021 17:04:23.272 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT]
19-May-2021 17:04:23.341 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps\ROOT] has finished in [70] ms
19-May-2021 17:04:23.354 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
19-May-2021 17:04:23.385 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [157712] milliseconds
19-May-2021 17:04:31.878 INFO [Thread-9] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler [“http-nio-8080”]
19-May-2021 17:04:32.372 INFO [Thread-9] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
19-May-2021 17:04:32.419 INFO [Thread-9] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler [“http-nio-8080”]
19-May-2021 17:04:32.434 INFO [Thread-9] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler [“http-nio-8080”]

@kmiura Postgres installed?Have to loaded the temp data that is available on the dhis2.org in postgres?are you able to access the postgres using above credentials?

I am facing the same error if you get the solution please let me know .

Hi @R_Shaem

I understand you are seeing the error ‘HTTP Status 404 - Not Found’, but as you can see from the posts above the reasons could be many. It might help to go over the suggestions mentioned above by @Roshan.Konda and see what might work, and if none does work. Please share the Catalina.out log (without sensitive info).

Thank you!